// auto-generated: "lalrpop 0.23.0"
// sha3: 3df68eb7f7488552b58da7cce185581e616294494e3bcc6b8f1ecc37b2aa265f
use crate::{LeftRightOp, LogicOp, RelationOp, ArithmeticOp, Expression, UnaryOp, Member, Literal};
use std::sync::Arc;
#[allow(unused_extern_crates)]
extern crate lalrpop_util as __lalrpop_util;
#[allow(unused_imports)]
use self::__lalrpop_util::state_machine as __state_machine;
#[allow(unused_extern_crates)]
extern crate alloc;
#[rustfmt::skip]
#[allow(explicit_outlives_requirements, non_snake_case, non_camel_case_types, unused_mut, unused_variables, unused_imports, unused_parens, clippy::needless_lifetimes, clippy::type_complexity, clippy::needless_return, clippy::too_many_arguments, clippy::match_single_binding, clippy::clone_on_copy, clippy::unit_arg)]
mod __parse__Expression {
use crate::{LeftRightOp, LogicOp, RelationOp, ArithmeticOp, Expression, UnaryOp, Member, Literal};
use std::sync::Arc;
#[allow(unused_extern_crates)]
extern crate lalrpop_util as __lalrpop_util;
#[allow(unused_imports)]
use self::__lalrpop_util::state_machine as __state_machine;
#[allow(unused_extern_crates)]
extern crate alloc;
use self::__lalrpop_util::lexer::Token;
#[allow(dead_code)]
pub(crate) enum __Symbol<'input>
{
Variant0(&'input str),
Variant1(alloc::vec::Vec<&'input str>),
Variant2(Option<&'input str>),
Variant3(Expression),
Variant4(alloc::vec::Vec<Expression>),
Variant5((Arc<String>, Expression)),
Variant6(alloc::vec::Vec<(Arc<String>, Expression)>),
Variant7((Expression, Expression)),
Variant8(alloc::vec::Vec<(Expression, Expression)>),
Variant9(LeftRightOp),
Variant10(Vec<Expression>),
Variant11(Vec<(Arc<String>, Expression)>),
Variant12(Vec<(Expression, Expression)>),
Variant13(Option<Expression>),
Variant14(Option<(Arc<String>, Expression)>),
Variant15(Arc<String>),
Variant16(alloc::vec::Vec<Arc<String>>),
Variant17(Literal),
Variant18(Option<(Expression, Expression)>),
Variant19(UnaryOp),
}
const __ACTION: &[i16] = &[
// State 0
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0,
// State 2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -22, 0, -22, 0, -22, 0, 71, -22, 72, 0, 0, -22, -22, -22, -22, -22, -22, -22, 0, -22, 0, 0, -22, 0, 0, 0, -22, -22,
// State 3
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 0, -37, 0, 0, -37, 0, 0, 0, -37, 0, 0, 0, 0, 0, -37, 0, -37, 0, 0, 0, 0, 0, 0, -37, -37,
// State 4
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -38, 0, 0, -38, 0, 0, 0, -38, 0, 0, 0, 0, 0, -38, 0, -38, 0, 0, 0, 0, 0, 0, 74, -38,
// State 5
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -75, 75, -75, 0, -75, 76, -75, -75, -75, 0, 77, -75, -75, -75, -75, -75, -75, -75, 0, -75, 0, 0, -75, 0, 0, 0, -75, -75,
// State 6
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78, 0, -90, 0, -90, 0, 0, -90, 0, 0, 0, -90, 79, 80, 81, 82, 83, -90, 0, -90, 0, 0, 84, 0, 0, 0, -90, -90,
// State 7
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 8
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 9
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 10
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, -26, 49, 50, 0, 51, 52, 12, 0, 0,
// State 11
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, -34,
// State 12
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 13
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, -26, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 14
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -30,
// State 15
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 16
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 17
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 18
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 19
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 20
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 21
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 22
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0,
// State 23
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, -28, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, -28, 49, 50, 0, 51, 52, 12, 0, 0,
// State 24
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 25
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, -36,
// State 26
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -32,
// State 27
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, -26, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 28
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -30,
// State 29
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 30
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 31
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, 0, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 32
53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 47, 0, 0, 0, 9, -26, 0, 0, 0, 48, 10, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 49, 50, 0, 51, 52, 12, 0, 0,
// State 33
-110, -110, -110, -110, -110, -110, -110, -110, -110, -110, -110, -110, -110, -110, -110, 68, 0, 0, 0, -110, 0, 0, 0, 0, 0, -110, 0, 0, 0, 0, 0, 0, 0, 0, -110, 0, -110, -110, 0, -110, -110, -110, 0, 0,
// State 34
-111, -111, -111, -111, -111, -111, -111, -111, -111, -111, -111, -111, -111, -111, -111, 0, 0, 0, 0, -111, 0, 0, 0, 0, 69, -111, 0, 0, 0, 0, 0, 0, 0, 0, -111, 0, -111, -111, 0, -111, -111, -111, 0, 0,
// State 35
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -107, 0, -107, 0, -107, 0, 0, -107, 0, 0, 0, -107, -107, -107, -107, -107, -107, -107, 0, -107, 0, 0, -107, 0, 0, 0, -107, -107,
// State 36
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -103, 0, 0, -103, 0, 0, 0, -103, 0, 0, 0, 0, 0, -103, 0, -103, 0, 0, 0, 0, 0, 0, -103, -103,
// State 37
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -40, 0, 0, -40, 0, 0, 0, -40, 0, 0, 0, 0, 0, 13, 0, -40, 0, 0, 0, 0, 0, 0, 0, -40,
// State 38
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 39
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -47, 0, 0, 0, 0, 0, -80, -80, -80, 14, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, -80, 0, 0, -80, 0, 0, -47, -80, -80,
// State 40
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -89, -89, -89, 0, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, -89, 0, 0, -89, 0, 0, 0, -89, -89,
// State 41
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -109, -109, -109, 0, -109, -109, -109, -109, -109, 16, -109, -109, -109, -109, -109, -109, -109, -109, 17, -109, 0, 0, -109, 0, 0, 0, -109, -109,
// State 42
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -99, 0, -99, 0, -99, 0, -99, -99, -99, 0, 0, -99, -99, -99, -99, -99, -99, -99, 0, -99, 0, 0, -99, 0, 0, 0, -99, -99,
// State 43
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -74, -74, -74, 0, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, -74, 0, 0, -74, 0, 0, 0, -74, -74,
// State 44
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -101, 0, -101, 0, 0, -101, 0, 0, 0, -101, 0, 0, 0, 0, 0, -101, 0, -101, 0, 0, 0, 0, 0, 0, -101, -101,
// State 45
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -105, -105, -105, 0, -105, -105, -105, -105, -105, 0, -105, -105, -105, -105, -105, -105, -105, -105, 0, -105, 0, 0, -105, 0, 0, 0, -105, -105,
// State 46
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, -1, 0, -1, -1, -1, 0, 0,
// State 47
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, 0, 0, 0, 0, -3, 0, 0, 0, 0, -3, -3, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, -3, -3, 0, -3, -3, -3, 0, 0,
// State 48
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -64, -64, -64, 0, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, 0, 0, -64, 0, 0, 0, -64, -64,
// State 49
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 50
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -65, -65, -65, 0, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, 0, 0, -65, 0, 0, 0, -65, -65,
// State 51
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -63, -63, -63, 0, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, 0, 0, -63, 0, 0, 0, -63, -63,
// State 52
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -56, -56, -56, 0, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, -56, 0, 0, -56, 0, 0, 0, -56, -56,
// State 53
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -55, -55, -55, 0, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, -55, 0, 0, -55, 0, 0, 0, -55, -55,
// State 54
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -58, -58, -58, 0, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, 0, 0, -58, 0, 0, 0, -58, -58,
// State 55
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -57, -57, -57, 0, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, 0, 0, -57, 0, 0, 0, -57, -57,
// State 56
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -53, -53, -53, 0, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, 0, 0, -53, 0, 0, 0, -53, -53,
// State 57
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -50, -50, -50, 0, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, 0, 0, -50, 0, 0, 0, -50, -50,
// State 58
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -52, -52, -52, 0, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, 0, 0, -52, 0, 0, 0, -52, -52,
// State 59
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -49, -49, -49, 0, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, 0, 0, -49, 0, 0, 0, -49, -49,
// State 60
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -51, -51, -51, 0, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, 0, 0, -51, 0, 0, 0, -51, -51,
// State 61
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -54, -54, -54, 0, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, -54, 0, 0, -54, 0, 0, 0, -54, -54,
// State 62
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -46, 0, 0, 0, 0, 0, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, 0, 0, -46, 0, 0, -46, -46, -46,
// State 63
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -60, -60, -60, 0, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, 0, 0, -60, 0, 0, 0, -60, -60,
// State 64
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -59, -59, -59, 0, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, 0, 0, -59, 0, 0, 0, -59, -59,
// State 65
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -62, -62, -62, 0, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, 0, 0, -62, 0, 0, 0, -62, -62,
// State 66
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -61, -61, -61, 0, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, 0, 0, -61, 0, 0, 0, -61, -61,
// State 67
-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, -2, -2, 0, -2, -2, -2, 0, 0,
// State 68
-4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 0, 0, 0, 0, -4, 0, 0, 0, 0, -4, -4, 0, 0, 0, 0, 0, 0, 0, 0, -4, 0, -4, -4, 0, -4, -4, -4, 0, 0,
// State 69
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -48, 0, 0,
// State 70
-23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, -23, 0, 0, 0, -23, 0, 0, 0, 0, -23, -23, 0, 0, 0, 0, 0, 0, 0, 0, -23, 0, -23, -23, 0, -23, -23, -23, 0, 0,
// State 71
-24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, -24, 0, 0, 0, -24, 0, 0, 0, 0, -24, -24, 0, 0, 0, 0, 0, 0, 0, 0, -24, 0, -24, -24, 0, -24, -24, -24, 0, 0,
// State 72
-66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, 0, 0, 0, -66, 0, 0, 0, 0, -66, -66, 0, 0, 0, 0, 0, 0, 0, 0, -66, 0, -66, -66, 0, -66, -66, -66, 0, 0,
// State 73
-67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, 0, 0, 0, -67, 0, 0, 0, 0, -67, -67, 0, 0, 0, 0, 0, 0, 0, 0, -67, 0, -67, -67, 0, -67, -67, -67, 0, 0,
// State 74
-78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, -78, 0, 0, 0, -78, 0, 0, 0, 0, -78, -78, 0, 0, 0, 0, 0, 0, 0, 0, -78, 0, -78, -78, 0, -78, -78, -78, 0, 0,
// State 75
-76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, -76, 0, 0, 0, -76, 0, 0, 0, 0, -76, -76, 0, 0, 0, 0, 0, 0, 0, 0, -76, 0, -76, -76, 0, -76, -76, -76, 0, 0,
// State 76
-77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, -77, 0, 0, 0, -77, 0, 0, 0, 0, -77, -77, 0, 0, 0, 0, 0, 0, 0, 0, -77, 0, -77, -77, 0, -77, -77, -77, 0, 0,
// State 77
-96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, -96, 0, 0, 0, -96, 0, 0, 0, 0, -96, -96, 0, 0, 0, 0, 0, 0, 0, 0, -96, 0, -96, -96, 0, -96, -96, -96, 0, 0,
// State 78
-91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, -91, 0, 0, 0, -91, 0, 0, 0, 0, -91, -91, 0, 0, 0, 0, 0, 0, 0, 0, -91, 0, -91, -91, 0, -91, -91, -91, 0, 0,
// State 79
-92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, 0, 0, 0, -92, 0, 0, 0, 0, -92, -92, 0, 0, 0, 0, 0, 0, 0, 0, -92, 0, -92, -92, 0, -92, -92, -92, 0, 0,
// State 80
-95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, 0, 0, 0, -95, 0, 0, 0, 0, -95, -95, 0, 0, 0, 0, 0, 0, 0, 0, -95, 0, -95, -95, 0, -95, -95, -95, 0, 0,
// State 81
-93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, -93, 0, 0, 0, -93, 0, 0, 0, 0, -93, -93, 0, 0, 0, 0, 0, 0, 0, 0, -93, 0, -93, -93, 0, -93, -93, -93, 0, 0,
// State 82
-94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, -94, 0, 0, 0, -94, 0, 0, 0, 0, -94, -94, 0, 0, 0, 0, 0, 0, 0, 0, -94, 0, -94, -94, 0, -94, -94, -94, 0, 0,
// State 83
-97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, -97, 0, 0, 0, -97, 0, 0, 0, 0, -97, -97, 0, 0, 0, 0, 0, 0, 0, 0, -97, 0, -97, -97, 0, -97, -97, -97, 0, 0,
// State 84
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -108, -108, -108, 0, -108, -108, -108, -108, -108, 16, -108, -108, -108, -108, -108, -108, -108, -108, 17, -108, 0, 0, -108, 0, 0, 0, -108, -108,
// State 85
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 86
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -47, 0, 0, 0, 0, 0, -79, -79, -79, 28, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, -79, 0, 0, -79, 0, 0, -47, -79, -79,
// State 87
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, 0, 0, 0, 0, 0, 0, 0, 0,
// State 88
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -25, 0, 0, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -25, 0, 0, 0, 0, 0, 0, 0, 0,
// State 89
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 111,
// State 90
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 91
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -33,
// State 92
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 93
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 94
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 115,
// State 95
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -29,
// State 96
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 97
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -71, -71, -71, 33, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, -71, 0, 0, -71, 0, 0, 0, -71, -71,
// State 98
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 117, 0, 0, 0, 0, 0, 0, 0, 0,
// State 99
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -98, 0, -98, 0, -98, 0, -98, -98, -98, 0, 0, -98, -98, -98, -98, -98, -98, -98, 0, -98, 0, 0, -98, 0, 0, 0, -98, -98,
// State 100
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, 0, -100, 0, 0, -100, 0, 0, 0, -100, 0, 0, 0, 0, 0, -100, 0, -100, 0, 0, 0, 0, 0, 0, -100, -100,
// State 101
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -102, 0, 0, -102, 0, 0, 0, -102, 0, 0, 0, 0, 0, -102, 0, -102, 0, 0, 0, 0, 0, 0, -102, -102,
// State 102
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -104, -104, -104, 0, -104, -104, -104, -104, -104, 0, -104, -104, -104, -104, -104, -104, -104, -104, 0, -104, 0, 0, -104, 0, 0, 0, -104, -104,
// State 103
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -106, 0, -106, 0, -106, 0, 0, -106, 0, 0, 0, -106, -106, -106, -106, -106, -106, -106, 0, -106, 0, 0, -106, 0, 0, 0, -106, -106,
// State 104
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -84, -84, -84, 0, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, -84, 0, 0, -84, 0, 0, 0, -84, -84,
// State 105
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -27, 0, 0, 120, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -27, 0, 0, 0, 0, 0, 0, 0, 0,
// State 106
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -85, -85, -85, 0, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, -85, 0, 0, -85, 0, 0, 0, -85, -85,
// State 107
-10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, -10, 0, 0, 0, -10, -10, 0, 0, 0, -10, -10, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, -10, -10, 0, -10, -10, -10, 0, 0,
// State 108
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 109
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 122, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -35,
// State 110
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -86, -86, -86, 0, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, 0, 0, -86, 0, 0, 0, -86, -86,
// State 111
-20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, -20, 0, 0, 0, -20, 0, 0, 0, 0, -20, -20, 0, 0, 0, 0, 0, 0, 0, 0, -20, 0, -20, -20, 0, -20, -20, -20, 0, -20,
// State 112
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -82, -82, -82, 0, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, 0, 0, -82, 0, 0, 0, -82, -82,
// State 113
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -31,
// State 114
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -88, -88, -88, 0, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, 0, 0, -88, 0, 0, 0, -88, -88,
// State 115
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -15,
// State 116
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -73, -73, -73, 0, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, -73, 0, 0, -73, 0, 0, 0, -73, -73,
// State 117
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 118
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 129,
// State 119
-11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, -11, 0, 0, 0, -11, -11, 0, 0, 0, -11, -11, 0, 0, 0, 0, 0, 0, 0, 0, -11, -11, -11, -11, 0, -11, -11, -11, 0, 0,
// State 120
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -83, -83, -83, 0, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, -83, 0, 0, -83, 0, 0, 0, -83, -83,
// State 121
-21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, -21, 0, 0, 0, -21, 0, 0, 0, 0, -21, -21, 0, 0, 0, 0, 0, 0, 0, 0, -21, 0, -21, -21, 0, -21, -21, -21, 0, -21,
// State 122
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -68, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -68,
// State 123
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -39, 0, 0, -39, 0, 0, 0, -39, 0, 0, 0, 0, 0, 0, 0, -39, 0, 0, 0, 0, 0, 0, 0, -39,
// State 124
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -16,
// State 125
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -43,
// State 126
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
// State 127
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -81, -81, -81, 0, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, -81, 0, 0, -81, 0, 0, 0, -81, -81,
// State 128
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -87, -87, -87, 0, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, 0, 0, -87, 0, 0, 0, -87, -87,
// State 129
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -72, -72, -72, 0, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, -72, 0, 0, -72, 0, 0, 0, -72, -72,
];
fn __action(state: i16, integer: usize) -> i16 {
__ACTION[(state as usize) * 44 + integer]
}
const __EOF_ACTION: &[i16] = &[
// State 0
0,
// State 1
0,
// State 2
-22,
// State 3
-37,
// State 4
-38,
// State 5
-75,
// State 6
-90,
// State 7
0,
// State 8
0,
// State 9
0,
// State 10
0,
// State 11
0,
// State 12
0,
// State 13
0,
// State 14
0,
// State 15
0,
// State 16
0,
// State 17
0,
// State 18
0,
// State 19
0,
// State 20
0,
// State 21
0,
// State 22
0,
// State 23
0,
// State 24
0,
// State 25
0,
// State 26
0,
// State 27
0,
// State 28
0,
// State 29
0,
// State 30
0,
// State 31
0,
// State 32
0,
// State 33
0,
// State 34
0,
// State 35
-107,
// State 36
-103,
// State 37
-40,
// State 38
-112,
// State 39
-80,
// State 40
-89,
// State 41
-109,
// State 42
-99,
// State 43
-74,
// State 44
-101,
// State 45
-105,
// State 46
0,
// State 47
0,
// State 48
-64,
// State 49
0,
// State 50
-65,
// State 51
-63,
// State 52
-56,
// State 53
-55,
// State 54
-58,
// State 55
-57,
// State 56
-53,
// State 57
-50,
// State 58
-52,
// State 59
-49,
// State 60
-51,
// State 61
-54,
// State 62
-46,
// State 63
-60,
// State 64
-59,
// State 65
-62,
// State 66
-61,
// State 67
0,
// State 68
0,
// State 69
0,
// State 70
0,
// State 71
0,
// State 72
0,
// State 73
0,
// State 74
0,
// State 75
0,
// State 76
0,
// State 77
0,
// State 78
0,
// State 79
0,
// State 80
0,
// State 81
0,
// State 82
0,
// State 83
0,
// State 84
-108,
// State 85
0,
// State 86
-79,
// State 87
0,
// State 88
0,
// State 89
0,
// State 90
0,
// State 91
0,
// State 92
0,
// State 93
0,
// State 94
0,
// State 95
0,
// State 96
0,
// State 97
-71,
// State 98
0,
// State 99
-98,
// State 100
-100,
// State 101
-102,
// State 102
-104,
// State 103
-106,
// State 104
-84,
// State 105
0,
// State 106
-85,
// State 107
0,
// State 108
0,
// State 109
0,
// State 110
-86,
// State 111
0,
// State 112
-82,
// State 113
0,
// State 114
-88,
// State 115
0,
// State 116
-73,
// State 117
0,
// State 118
0,
// State 119
0,
// State 120
-83,
// State 121
0,
// State 122
0,
// State 123
-39,
// State 124
0,
// State 125
0,
// State 126
0,
// State 127
-81,
// State 128
-87,
// State 129
-72,
];
fn __goto(state: i16, nt: usize) -> i16 {
match nt {
0 => 33,
1 => 34,
5 => 23,
8 => 26,
11 => 25,
12 => match state {
21 => 103,
_ => 35,
},
13 => 17,
14 => match state {
13 => 93,
27 => 117,
32 => 126,
_ => 87,
},
15 => match state {
28 => 118,
_ => 94,
},
16 => 89,
17 => match state {
19 => 101,
_ => 36,
},
18 => match state {
12 => 92,
_ => 37,
},
19 => match state {
0 => 38,
8 => 85,
11 | 25 => 90,
16 => 98,
23 => 105,
24 => 108,
29 => 122,
30 => 123,
31 => 125,
_ => 88,
},
21 => match state {
26 => 113,
_ => 95,
},
23 => match state {
1 | 22 => 69,
9 => 86,
14 | 26 | 28 => 96,
15 => 97,
_ => 39,
},
24 => match state {
9 => 22,
_ => 1,
},
25 => 40,
26 => 18,
27 => 19,
28 => match state {
25 => 109,
_ => 91,
},
30 => match state {
7 => 84,
_ => 41,
},
31 => match state {
17 => 99,
_ => 42,
},
32 => 20,
33 => 43,
34 => match state {
18 => 100,
_ => 44,
},
35 => 21,
36 => 2,
37 => 3,
38 => 4,
39 => 5,
40 => 6,
41 => match state {
20 => 102,
_ => 45,
},
42 => 7,
_ => 0,
}
}
#[allow(clippy::needless_raw_string_hashes)]
const __TERMINAL: &[&str] = &[
r###"r#"\"\"\"(\\\\.|[^\"{3}])*\"\"\""#"###,
r###"r#"\"(\\\\.|[^\"\\n])*\""#"###,
r###"r#"'''(\\\\.|[^'{3}])*'''"#"###,
r###"r#"'(\\\\.|[^'\\n])*'"#"###,
r###"r#"([-+]?[0-9]*\\.[0-9]+([eE][-+]?[0-9]+)?)"#"###,
r###"r#"-?0[xX]([0-9a-fA-F]+)"#"###,
r###"r#"-?0[xX]([0-9a-fA-F]+) [uU]"#"###,
r###"r#"-?[0-9]+"#"###,
r###"r#"-?[0-9]+ [uU]"#"###,
r###"r#"[-+]?[0-9]+[eE][-+]?[0-9]+"#"###,
r###"r#"[_a-zA-Z][_a-zA-Z0-9]*"#"###,
r###"r#"[bB]\"\"\"(\\\\.|[^\"{3}])*\"\"\""#"###,
r###"r#"[bB]\"(\\\\.|[^\"\\n])*\""#"###,
r###"r#"[bB]'''(\\\\.|[^'{3}])*'''"#"###,
r###"r#"[bB]'(\\\\.|[^'\\n])*'"#"###,
r###""!""###,
r###""!=""###,
r###""%""###,
r###""&&""###,
r###""(""###,
r###"")""###,
r###""*""###,
r###""+""###,
r###"",""###,
r###""-""###,
r###"".""###,
r###""/""###,
r###"":""###,
r###""<""###,
r###""<=""###,
r###""==""###,
r###"">""###,
r###"">=""###,
r###""?""###,
r###""[""###,
r###""]""###,
r###""false""###,
r###""has""###,
r###""in""###,
r###""null""###,
r###""true""###,
r###""{""###,
r###""||""###,
r###""}""###,
];
fn __expected_tokens(__state: i16) -> alloc::vec::Vec<alloc::string::String> {
__TERMINAL.iter().enumerate().filter_map(|(index, terminal)| {
let next_state = __action(__state, index);
if next_state == 0 {
None
} else {
Some(alloc::string::ToString::to_string(terminal))
}
}).collect()
}
fn __expected_tokens_from_states<
'input,
>(
__states: &[i16],
_: core::marker::PhantomData<(&'input ())>,
) -> alloc::vec::Vec<alloc::string::String>
{
__TERMINAL.iter().enumerate().filter_map(|(index, terminal)| {
if __accepts(None, __states, Some(index), core::marker::PhantomData::<(&())>) {
Some(alloc::string::ToString::to_string(terminal))
} else {
None
}
}).collect()
}
struct __StateMachine<'input>
where
{
input: &'input str,
__phantom: core::marker::PhantomData<(&'input ())>,
}
impl<'input> __state_machine::ParserDefinition for __StateMachine<'input>
where
{
type Location = usize;
type Error = &'static str;
type Token = Token<'input>;
type TokenIndex = usize;
type Symbol = __Symbol<'input>;
type Success = Expression;
type StateIndex = i16;
type Action = i16;
type ReduceIndex = i16;
type NonterminalIndex = usize;
#[inline]
fn start_location(&self) -> Self::Location {
Default::default()
}
#[inline]
fn start_state(&self) -> Self::StateIndex {
0
}
#[inline]
fn token_to_index(&self, token: &Self::Token) -> Option<usize> {
__token_to_integer(token, core::marker::PhantomData::<(&())>)
}
#[inline]
fn action(&self, state: i16, integer: usize) -> i16 {
__action(state, integer)
}
#[inline]
fn error_action(&self, state: i16) -> i16 {
__action(state, 44 - 1)
}
#[inline]
fn eof_action(&self, state: i16) -> i16 {
__EOF_ACTION[state as usize]
}
#[inline]
fn goto(&self, state: i16, nt: usize) -> i16 {
__goto(state, nt)
}
fn token_to_symbol(&self, token_index: usize, token: Self::Token) -> Self::Symbol {
__token_to_symbol(token_index, token, core::marker::PhantomData::<(&())>)
}
fn expected_tokens(&self, state: i16) -> alloc::vec::Vec<alloc::string::String> {
__expected_tokens(state)
}
fn expected_tokens_from_states(&self, states: &[i16]) -> alloc::vec::Vec<alloc::string::String> {
__expected_tokens_from_states(states, core::marker::PhantomData::<(&())>)
}
#[inline]
fn uses_error_recovery(&self) -> bool {
false
}
#[inline]
fn error_recovery_symbol(
&self,
recovery: __state_machine::ErrorRecovery<Self>,
) -> Self::Symbol {
panic!("error recovery not enabled for this grammar")
}
fn reduce(
&mut self,
action: i16,
start_location: Option<&Self::Location>,
states: &mut alloc::vec::Vec<i16>,
symbols: &mut alloc::vec::Vec<__state_machine::SymbolTriple<Self>>,
) -> Option<__state_machine::ParseResult<Self>> {
__reduce(
self.input,
action,
start_location,
states,
symbols,
core::marker::PhantomData::<(&())>,
)
}
fn simulate_reduce(&self, action: i16) -> __state_machine::SimulatedReduce<Self> {
__simulate_reduce(action, core::marker::PhantomData::<(&())>)
}
}
fn __token_to_integer<
'input,
>(
__token: &Token<'input>,
_: core::marker::PhantomData<(&'input ())>,
) -> Option<usize>
{
#[warn(unused_variables)]
match __token {
Token(0, _) if true => Some(0),
Token(1, _) if true => Some(1),
Token(2, _) if true => Some(2),
Token(3, _) if true => Some(3),
Token(4, _) if true => Some(4),
Token(5, _) if true => Some(5),
Token(6, _) if true => Some(6),
Token(7, _) if true => Some(7),
Token(8, _) if true => Some(8),
Token(9, _) if true => Some(9),
Token(10, _) if true => Some(10),
Token(11, _) if true => Some(11),
Token(12, _) if true => Some(12),
Token(13, _) if true => Some(13),
Token(14, _) if true => Some(14),
Token(15, _) if true => Some(15),
Token(16, _) if true => Some(16),
Token(17, _) if true => Some(17),
Token(18, _) if true => Some(18),
Token(19, _) if true => Some(19),
Token(20, _) if true => Some(20),
Token(21, _) if true => Some(21),
Token(22, _) if true => Some(22),
Token(23, _) if true => Some(23),
Token(24, _) if true => Some(24),
Token(25, _) if true => Some(25),
Token(26, _) if true => Some(26),
Token(27, _) if true => Some(27),
Token(28, _) if true => Some(28),
Token(29, _) if true => Some(29),
Token(30, _) if true => Some(30),
Token(31, _) if true => Some(31),
Token(32, _) if true => Some(32),
Token(33, _) if true => Some(33),
Token(34, _) if true => Some(34),
Token(35, _) if true => Some(35),
Token(36, _) if true => Some(36),
Token(37, _) if true => Some(37),
Token(38, _) if true => Some(38),
Token(39, _) if true => Some(39),
Token(40, _) if true => Some(40),
Token(41, _) if true => Some(41),
Token(42, _) if true => Some(42),
Token(43, _) if true => Some(43),
_ => None,
}
}
fn __token_to_symbol<
'input,
>(
__token_index: usize,
__token: Token<'input>,
_: core::marker::PhantomData<(&'input ())>,
) -> __Symbol<'input>
{
#[allow(clippy::manual_range_patterns)]match __token_index {
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 => match __token {
Token(0, __tok0) | Token(1, __tok0) | Token(2, __tok0) | Token(3, __tok0) | Token(4, __tok0) | Token(5, __tok0) | Token(6, __tok0) | Token(7, __tok0) | Token(8, __tok0) | Token(9, __tok0) | Token(10, __tok0) | Token(11, __tok0) | Token(12, __tok0) | Token(13, __tok0) | Token(14, __tok0) | Token(15, __tok0) | Token(16, __tok0) | Token(17, __tok0) | Token(18, __tok0) | Token(19, __tok0) | Token(20, __tok0) | Token(21, __tok0) | Token(22, __tok0) | Token(23, __tok0) | Token(24, __tok0) | Token(25, __tok0) | Token(26, __tok0) | Token(27, __tok0) | Token(28, __tok0) | Token(29, __tok0) | Token(30, __tok0) | Token(31, __tok0) | Token(32, __tok0) | Token(33, __tok0) | Token(34, __tok0) | Token(35, __tok0) | Token(36, __tok0) | Token(37, __tok0) | Token(38, __tok0) | Token(39, __tok0) | Token(40, __tok0) | Token(41, __tok0) | Token(42, __tok0) | Token(43, __tok0) if true => __Symbol::Variant0(__tok0),
_ => unreachable!(),
},
_ => unreachable!(),
}
}
fn __simulate_reduce<
'input,
>(
__reduce_index: i16,
_: core::marker::PhantomData<(&'input ())>,
) -> __state_machine::SimulatedReduce<__StateMachine<'input>>
{
match __reduce_index {
0 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 0,
}
}
1 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 0,
}
}
2 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 1,
}
}
3 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 1,
}
}
4 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 2,
}
}
5 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 2,
}
}
6 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 3,
}
}
7 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 4,
}
}
8 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 4,
}
}
9 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 5,
}
}
10 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 5,
}
}
11 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 6,
}
}
12 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 7,
}
}
13 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 7,
}
}
14 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 8,
}
}
15 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 8,
}
}
16 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 9,
}
}
17 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 10,
}
}
18 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 10,
}
}
19 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 11,
}
}
20 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 11,
}
}
21 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 12,
}
}
22 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 13,
}
}
23 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 13,
}
}
24 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 14,
}
}
25 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 14,
}
}
26 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 14,
}
}
27 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 14,
}
}
28 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 15,
}
}
29 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 15,
}
}
30 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 15,
}
}
31 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 15,
}
}
32 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 16,
}
}
33 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 16,
}
}
34 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 16,
}
}
35 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 16,
}
}
36 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 17,
}
}
37 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 18,
}
}
38 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 5,
nonterminal_produced: 19,
}
}
39 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 19,
}
}
40 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 20,
}
}
41 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 20,
}
}
42 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 21,
}
}
43 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 22,
}
}
44 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 22,
}
}
45 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 23,
}
}
46 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 24,
}
}
47 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 24,
}
}
48 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
49 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
50 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
51 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
52 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
53 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
54 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
55 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
56 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
57 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
58 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
59 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
60 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
61 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
62 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
63 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
64 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 25,
}
}
65 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 26,
}
}
66 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 27,
}
}
67 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 28,
}
}
68 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 29,
}
}
69 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 0,
nonterminal_produced: 29,
}
}
70 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 30,
}
}
71 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 6,
nonterminal_produced: 30,
}
}
72 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 4,
nonterminal_produced: 30,
}
}
73 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 30,
}
}
74 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 31,
}
}
75 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 32,
}
}
76 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 32,
}
}
77 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 32,
}
}
78 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 33,
}
}
79 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 33,
}
}
80 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 5,
nonterminal_produced: 33,
}
}
81 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 4,
nonterminal_produced: 33,
}
}
82 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 4,
nonterminal_produced: 33,
}
}
83 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 33,
}
}
84 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 33,
}
}
85 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 33,
}
}
86 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 5,
nonterminal_produced: 33,
}
}
87 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 4,
nonterminal_produced: 33,
}
}
88 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 33,
}
}
89 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 34,
}
}
90 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
91 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
92 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
93 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
94 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
95 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
96 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 35,
}
}
97 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 36,
}
}
98 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 36,
}
}
99 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 37,
}
}
100 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 37,
}
}
101 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 38,
}
}
102 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 38,
}
}
103 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 39,
}
}
104 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 39,
}
}
105 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 3,
nonterminal_produced: 40,
}
}
106 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 40,
}
}
107 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 2,
nonterminal_produced: 41,
}
}
108 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 41,
}
}
109 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 42,
}
}
110 => {
__state_machine::SimulatedReduce::Reduce {
states_to_pop: 1,
nonterminal_produced: 42,
}
}
111 => __state_machine::SimulatedReduce::Accept,
_ => panic!("invalid reduction index {__reduce_index}")
}
}
pub struct ExpressionParser {
builder: __lalrpop_util::lexer::MatcherBuilder,
_priv: (),
}
impl Default for ExpressionParser { fn default() -> Self { Self::new() } }
impl ExpressionParser {
pub fn new() -> ExpressionParser {
let __builder = super::__intern_token::new_builder();
ExpressionParser {
builder: __builder,
_priv: (),
}
}
#[allow(dead_code)]
pub fn parse<
'input,
>(
&self,
input: &'input str,
) -> Result<Expression, __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>
{
let mut __tokens = self.builder.matcher(input);
__state_machine::Parser::drive(
__StateMachine {
input,
__phantom: core::marker::PhantomData::<(&())>,
},
__tokens,
)
}
}
fn __accepts<
'input,
>(
__error_state: Option<i16>,
__states: &[i16],
__opt_integer: Option<usize>,
_: core::marker::PhantomData<(&'input ())>,
) -> bool
{
let mut __states = __states.to_vec();
__states.extend(__error_state);
loop {
let mut __states_len = __states.len();
let __top = __states[__states_len - 1];
let __action = match __opt_integer {
None => __EOF_ACTION[__top as usize],
Some(__integer) => __action(__top, __integer),
};
if __action == 0 { return false; }
if __action > 0 { return true; }
let (__to_pop, __nt) = match __simulate_reduce(-(__action + 1), core::marker::PhantomData::<(&())>) {
__state_machine::SimulatedReduce::Reduce {
states_to_pop, nonterminal_produced
} => (states_to_pop, nonterminal_produced),
__state_machine::SimulatedReduce::Accept => return true,
};
__states_len -= __to_pop;
__states.truncate(__states_len);
let __top = __states[__states_len - 1];
let __next_state = __goto(__top, __nt);
__states.push(__next_state);
}
}
fn __reduce<
'input,
>(
input: &'input str,
__action: i16,
__lookahead_start: Option<&usize>,
__states: &mut alloc::vec::Vec<i16>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> Option<Result<Expression,__lalrpop_util::ParseError<usize, Token<'input>, &'static str>>>
{
let (__pop_states, __nonterminal) = match __action {
0 => {
__reduce0(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
1 => {
__reduce1(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
2 => {
__reduce2(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
3 => {
__reduce3(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
4 => {
__reduce4(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
5 => {
__reduce5(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
6 => {
__reduce6(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
7 => {
__reduce7(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
8 => {
__reduce8(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
9 => {
__reduce9(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
10 => {
__reduce10(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
11 => {
__reduce11(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
12 => {
__reduce12(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
13 => {
__reduce13(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
14 => {
__reduce14(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
15 => {
__reduce15(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
16 => {
__reduce16(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
17 => {
__reduce17(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
18 => {
__reduce18(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
19 => {
__reduce19(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
20 => {
__reduce20(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
21 => {
__reduce21(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
22 => {
__reduce22(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
23 => {
__reduce23(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
24 => {
__reduce24(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
25 => {
__reduce25(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
26 => {
__reduce26(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
27 => {
__reduce27(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
28 => {
__reduce28(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
29 => {
__reduce29(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
30 => {
__reduce30(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
31 => {
__reduce31(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
32 => {
__reduce32(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
33 => {
__reduce33(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
34 => {
__reduce34(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
35 => {
__reduce35(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
36 => {
__reduce36(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
37 => {
__reduce37(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
38 => {
__reduce38(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
39 => {
__reduce39(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
40 => {
__reduce40(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
41 => {
__reduce41(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
42 => {
__reduce42(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
43 => {
__reduce43(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
44 => {
__reduce44(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
45 => {
__reduce45(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
46 => {
__reduce46(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
47 => {
__reduce47(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
48 => {
__reduce48(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
49 => {
__reduce49(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
50 => {
__reduce50(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
51 => {
__reduce51(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
52 => {
__reduce52(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
53 => {
__reduce53(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
54 => {
__reduce54(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
55 => {
__reduce55(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
56 => {
__reduce56(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
57 => {
__reduce57(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
58 => {
__reduce58(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
59 => {
__reduce59(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
60 => {
__reduce60(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
61 => {
__reduce61(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
62 => {
__reduce62(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
63 => {
__reduce63(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
64 => {
__reduce64(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
65 => {
__reduce65(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
66 => {
__reduce66(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
67 => {
__reduce67(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
68 => {
__reduce68(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
69 => {
__reduce69(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
70 => {
__reduce70(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
71 => {
__reduce71(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
72 => {
__reduce72(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
73 => {
__reduce73(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
74 => {
__reduce74(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
75 => {
__reduce75(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
76 => {
__reduce76(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
77 => {
__reduce77(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
78 => {
__reduce78(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
79 => {
__reduce79(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
80 => {
__reduce80(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
81 => {
__reduce81(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
82 => {
__reduce82(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
83 => {
__reduce83(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
84 => {
__reduce84(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
85 => {
__reduce85(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
86 => {
__reduce86(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
87 => {
__reduce87(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
88 => {
__reduce88(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
89 => {
__reduce89(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
90 => {
__reduce90(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
91 => {
__reduce91(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
92 => {
__reduce92(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
93 => {
__reduce93(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
94 => {
__reduce94(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
95 => {
__reduce95(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
96 => {
__reduce96(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
97 => {
__reduce97(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
98 => {
__reduce98(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
99 => {
__reduce99(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
100 => {
__reduce100(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
101 => {
__reduce101(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
102 => {
__reduce102(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
103 => {
__reduce103(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
104 => {
__reduce104(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
105 => {
__reduce105(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
106 => {
__reduce106(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
107 => {
__reduce107(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
108 => {
__reduce108(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
109 => {
__reduce109(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
110 => {
__reduce110(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>)
}
111 => {
// __Expression = Expression => ActionFn(0);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action0::<>(input, __sym0);
return Some(Ok(__nt));
}
_ => panic!("invalid action code {__action}")
};
let __states_len = __states.len();
__states.truncate(__states_len - __pop_states);
let __state = *__states.last().unwrap();
let __next_state = __goto(__state, __nonterminal);
__states.push(__next_state);
None
}
#[inline(never)]
fn __symbol_type_mismatch() -> ! {
panic!("symbol type mismatch")
}
fn __pop_Variant5<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, (Arc<String>, Expression), usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant5(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant7<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, (Expression, Expression), usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant7(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant15<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Arc<String>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant15(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant3<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Expression, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant3(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant9<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, LeftRightOp, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant9(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant17<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Literal, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant17(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant14<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Option<(Arc<String>, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant14(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant18<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Option<(Expression, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant18(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant13<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Option<Expression>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant13(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant2<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Option<&'input str>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant2(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant19<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, UnaryOp, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant19(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant11<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Vec<(Arc<String>, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant11(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant12<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Vec<(Expression, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant12(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant10<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, Vec<Expression>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant10(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant6<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant6(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant8<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, alloc::vec::Vec<(Expression, Expression)>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant8(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant16<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, alloc::vec::Vec<Arc<String>>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant16(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant4<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, alloc::vec::Vec<Expression>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant4(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant1<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, alloc::vec::Vec<&'input str>, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant1(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __pop_Variant0<
'input,
>(
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>
) -> (usize, &'input str, usize)
{
match __symbols.pop() {
Some((__l, __Symbol::Variant0(__v), __r)) => (__l, __v, __r),
_ => __symbol_type_mismatch()
}
}
fn __reduce0<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "!"+ = "!" => ActionFn(60);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action60::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant1(__nt), __end));
(1, 0)
}
fn __reduce1<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "!"+ = "!"+, "!" => ActionFn(61);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant1(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action61::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant1(__nt), __end));
(2, 0)
}
fn __reduce2<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "-"+ = "-" => ActionFn(58);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action58::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant1(__nt), __end));
(1, 1)
}
fn __reduce3<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "-"+ = "-"+, "-" => ActionFn(59);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant1(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action59::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant1(__nt), __end));
(2, 1)
}
fn __reduce4<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "."? = "." => ActionFn(66);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action66::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant2(__nt), __end));
(1, 2)
}
fn __reduce5<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// "."? = => ActionFn(67);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action67::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant2(__nt), __end));
(0, 2)
}
fn __reduce6<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<Expression> ",") = Expression, "," => ActionFn(83);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action83::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(2, 3)
}
fn __reduce7<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<Expression> ",")* = => ActionFn(81);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action81::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant4(__nt), __end));
(0, 4)
}
fn __reduce8<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<Expression> ",")* = (<Expression> ",")+ => ActionFn(82);
let __sym0 = __pop_Variant4(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action82::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant4(__nt), __end));
(1, 4)
}
fn __reduce9<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<Expression> ",")+ = Expression, "," => ActionFn(106);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action106::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant4(__nt), __end));
(2, 5)
}
fn __reduce10<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<Expression> ",")+ = (<Expression> ",")+, Expression, "," => ActionFn(107);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant3(__symbols);
let __sym0 = __pop_Variant4(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action107::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant4(__nt), __end));
(3, 5)
}
fn __reduce11<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<FieldInits> ",") = FieldInits, "," => ActionFn(93);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant5(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action93::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant5(__nt), __end));
(2, 6)
}
fn __reduce12<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<FieldInits> ",")* = => ActionFn(91);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action91::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant6(__nt), __end));
(0, 7)
}
fn __reduce13<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<FieldInits> ",")* = (<FieldInits> ",")+ => ActionFn(92);
let __sym0 = __pop_Variant6(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action92::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant6(__nt), __end));
(1, 7)
}
fn __reduce14<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<FieldInits> ",")+ = FieldInits, "," => ActionFn(110);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant5(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action110::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant6(__nt), __end));
(2, 8)
}
fn __reduce15<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<FieldInits> ",")+ = (<FieldInits> ",")+, FieldInits, "," => ActionFn(111);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant5(__symbols);
let __sym0 = __pop_Variant6(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action111::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant6(__nt), __end));
(3, 8)
}
fn __reduce16<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<MapInits> ",") = MapInits, "," => ActionFn(88);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant7(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action88::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant7(__nt), __end));
(2, 9)
}
fn __reduce17<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<MapInits> ",")* = => ActionFn(86);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action86::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant8(__nt), __end));
(0, 10)
}
fn __reduce18<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<MapInits> ",")* = (<MapInits> ",")+ => ActionFn(87);
let __sym0 = __pop_Variant8(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action87::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant8(__nt), __end));
(1, 10)
}
fn __reduce19<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<MapInits> ",")+ = MapInits, "," => ActionFn(114);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant7(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action114::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant8(__nt), __end));
(2, 11)
}
fn __reduce20<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// (<MapInits> ",")+ = (<MapInits> ",")+, MapInits, "," => ActionFn(115);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant7(__symbols);
let __sym0 = __pop_Variant8(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action115::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant8(__nt), __end));
(3, 11)
}
fn __reduce21<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Addition = Tier<AdditionOp, Multiplication> => ActionFn(6);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action6::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 12)
}
fn __reduce22<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// AdditionOp = "+" => ActionFn(33);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action33::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 13)
}
fn __reduce23<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// AdditionOp = "-" => ActionFn(34);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action34::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 13)
}
fn __reduce24<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<Expression> = Expression => ActionFn(118);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action118::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant10(__nt), __end));
(1, 14)
}
fn __reduce25<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<Expression> = => ActionFn(119);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action119::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant10(__nt), __end));
(0, 14)
}
fn __reduce26<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<Expression> = (<Expression> ",")+, Expression => ActionFn(120);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant3(__symbols);
let __sym0 = __pop_Variant4(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action120::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant10(__nt), __end));
(2, 14)
}
fn __reduce27<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<Expression> = (<Expression> ",")+ => ActionFn(121);
let __sym0 = __pop_Variant4(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action121::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant10(__nt), __end));
(1, 14)
}
fn __reduce28<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<FieldInits> = FieldInits => ActionFn(122);
let __sym0 = __pop_Variant5(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action122::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant11(__nt), __end));
(1, 15)
}
fn __reduce29<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<FieldInits> = => ActionFn(123);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action123::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant11(__nt), __end));
(0, 15)
}
fn __reduce30<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<FieldInits> = (<FieldInits> ",")+, FieldInits => ActionFn(124);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant5(__symbols);
let __sym0 = __pop_Variant6(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action124::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant11(__nt), __end));
(2, 15)
}
fn __reduce31<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<FieldInits> = (<FieldInits> ",")+ => ActionFn(125);
let __sym0 = __pop_Variant6(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action125::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant11(__nt), __end));
(1, 15)
}
fn __reduce32<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<MapInits> = MapInits => ActionFn(126);
let __sym0 = __pop_Variant7(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action126::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant12(__nt), __end));
(1, 16)
}
fn __reduce33<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<MapInits> = => ActionFn(127);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action127::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant12(__nt), __end));
(0, 16)
}
fn __reduce34<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<MapInits> = (<MapInits> ",")+, MapInits => ActionFn(128);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant7(__symbols);
let __sym0 = __pop_Variant8(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action128::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant12(__nt), __end));
(2, 16)
}
fn __reduce35<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// CommaSeparated<MapInits> = (<MapInits> ",")+ => ActionFn(129);
let __sym0 = __pop_Variant8(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action129::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant12(__nt), __end));
(1, 16)
}
fn __reduce36<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// ConditionalAnd = Tier<LogicAnd, Relation> => ActionFn(4);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action4::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 17)
}
fn __reduce37<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// ConditionalOr = Tier<LogicOr, ConditionalAnd> => ActionFn(3);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action3::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 18)
}
fn __reduce38<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Expression = ConditionalOr, "?", ConditionalOr, ":", Expression => ActionFn(1);
assert!(__symbols.len() >= 5);
let __sym4 = __pop_Variant3(__symbols);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym4.2.clone();
let __nt = super::__action1::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(5, 19)
}
fn __reduce39<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Expression = ConditionalOr => ActionFn(2);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action2::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 19)
}
fn __reduce40<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Expression? = Expression => ActionFn(79);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action79::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant13(__nt), __end));
(1, 20)
}
fn __reduce41<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Expression? = => ActionFn(80);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action80::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant13(__nt), __end));
(0, 20)
}
fn __reduce42<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// FieldInits = Ident, ":", Expression => ActionFn(22);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant15(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action22::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant5(__nt), __end));
(3, 21)
}
fn __reduce43<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// FieldInits? = FieldInits => ActionFn(89);
let __sym0 = __pop_Variant5(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action89::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant14(__nt), __end));
(1, 22)
}
fn __reduce44<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// FieldInits? = => ActionFn(90);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action90::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant14(__nt), __end));
(0, 22)
}
fn __reduce45<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Ident = r#"[_a-zA-Z][_a-zA-Z0-9]*"# => ActionFn(57);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action57::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant15(__nt), __end));
(1, 23)
}
fn __reduce46<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Ident+ = Ident => ActionFn(63);
let __sym0 = __pop_Variant15(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action63::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant16(__nt), __end));
(1, 24)
}
fn __reduce47<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Ident+ = Ident+, Ident => ActionFn(64);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant15(__symbols);
let __sym0 = __pop_Variant16(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action64::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant16(__nt), __end));
(2, 24)
}
fn __reduce48<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"-?[0-9]+"# => ActionFn(40);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action40::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce49<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"-?0[xX]([0-9a-fA-F]+)"# => ActionFn(41);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action41::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce50<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"-?[0-9]+ [uU]"# => ActionFn(42);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action42::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce51<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"-?0[xX]([0-9a-fA-F]+) [uU]"# => ActionFn(43);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action43::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce52<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"([-+]?[0-9]*\\.[0-9]+([eE][-+]?[0-9]+)?)"# => ActionFn(44);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action44::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce53<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"[-+]?[0-9]+[eE][-+]?[0-9]+"# => ActionFn(45);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action45::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce54<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"\"(\\\\.|[^\"\\n])*\""# => ActionFn(46);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action46::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce55<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"\"\"\"(\\\\.|[^\"{3}])*\"\"\""# => ActionFn(47);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action47::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce56<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"'(\\\\.|[^'\\n])*'"# => ActionFn(48);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action48::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce57<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"'''(\\\\.|[^'{3}])*'''"# => ActionFn(49);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action49::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce58<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"[bB]\"(\\\\.|[^\"\\n])*\""# => ActionFn(50);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action50::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce59<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"[bB]\"\"\"(\\\\.|[^\"{3}])*\"\"\""# => ActionFn(51);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action51::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce60<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"[bB]'(\\\\.|[^'\\n])*'"# => ActionFn(52);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action52::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce61<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = r#"[bB]'''(\\\\.|[^'{3}])*'''"# => ActionFn(53);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action53::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce62<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = "true" => ActionFn(54);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action54::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce63<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = "false" => ActionFn(55);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action55::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce64<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Literal = "null" => ActionFn(56);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action56::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant17(__nt), __end));
(1, 25)
}
fn __reduce65<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// LogicAnd = "&&" => ActionFn(25);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action25::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 26)
}
fn __reduce66<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// LogicOr = "||" => ActionFn(24);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action24::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 27)
}
fn __reduce67<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MapInits = Expression, ":", Expression => ActionFn(23);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action23::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant7(__nt), __end));
(3, 28)
}
fn __reduce68<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MapInits? = MapInits => ActionFn(84);
let __sym0 = __pop_Variant7(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action84::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant18(__nt), __end));
(1, 29)
}
fn __reduce69<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MapInits? = => ActionFn(85);
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2)).unwrap_or_default();
let __end = __start;
let __nt = super::__action85::<>(input, &__start, &__end);
__symbols.push((__start, __Symbol::Variant18(__nt), __end));
(0, 29)
}
fn __reduce70<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Member = Member, ".", Ident => ActionFn(10);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant15(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action10::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 30)
}
fn __reduce71<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Member = Member, ".", Ident, "(", CommaSeparated<Expression>, ")" => ActionFn(11);
assert!(__symbols.len() >= 6);
let __sym5 = __pop_Variant0(__symbols);
let __sym4 = __pop_Variant10(__symbols);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant15(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym5.2.clone();
let __nt = super::__action11::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4, __sym5);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(6, 30)
}
fn __reduce72<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Member = Member, "[", Expression, "]" => ActionFn(12);
assert!(__symbols.len() >= 4);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym3.2.clone();
let __nt = super::__action12::<>(input, __sym0, __sym1, __sym2, __sym3);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(4, 30)
}
fn __reduce73<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Member = Primary => ActionFn(13);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action13::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 30)
}
fn __reduce74<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Multiplication = Tier<MultiplicationOp, Unary> => ActionFn(7);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action7::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 31)
}
fn __reduce75<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MultiplicationOp = "*" => ActionFn(35);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action35::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 32)
}
fn __reduce76<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MultiplicationOp = "/" => ActionFn(36);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action36::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 32)
}
fn __reduce77<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// MultiplicationOp = "%" => ActionFn(37);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action37::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 32)
}
fn __reduce78<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = ".", Ident => ActionFn(100);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant15(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action100::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(2, 33)
}
fn __reduce79<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = Ident => ActionFn(101);
let __sym0 = __pop_Variant15(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action101::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 33)
}
fn __reduce80<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = ".", Ident, "(", CommaSeparated<Expression>, ")" => ActionFn(102);
assert!(__symbols.len() >= 5);
let __sym4 = __pop_Variant0(__symbols);
let __sym3 = __pop_Variant10(__symbols);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant15(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym4.2.clone();
let __nt = super::__action102::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(5, 33)
}
fn __reduce81<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = Ident, "(", CommaSeparated<Expression>, ")" => ActionFn(103);
assert!(__symbols.len() >= 4);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant10(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant15(__symbols);
let __start = __sym0.0.clone();
let __end = __sym3.2.clone();
let __nt = super::__action103::<>(input, __sym0, __sym1, __sym2, __sym3);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(4, 33)
}
fn __reduce82<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = "has", "(", Expression, ")" => ActionFn(16);
assert!(__symbols.len() >= 4);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym3.2.clone();
let __nt = super::__action16::<>(input, __sym0, __sym1, __sym2, __sym3);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(4, 33)
}
fn __reduce83<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = "(", Expression, ")" => ActionFn(17);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant3(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action17::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 33)
}
fn __reduce84<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = "[", CommaSeparated<Expression>, "]" => ActionFn(18);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant10(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action18::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 33)
}
fn __reduce85<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = "{", CommaSeparated<MapInits>, "}" => ActionFn(19);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant12(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action19::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 33)
}
fn __reduce86<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = ".", Ident+, "{", CommaSeparated<FieldInits>, "}" => ActionFn(104);
assert!(__symbols.len() >= 5);
let __sym4 = __pop_Variant0(__symbols);
let __sym3 = __pop_Variant11(__symbols);
let __sym2 = __pop_Variant0(__symbols);
let __sym1 = __pop_Variant16(__symbols);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym4.2.clone();
let __nt = super::__action104::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(5, 33)
}
fn __reduce87<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = Ident+, "{", CommaSeparated<FieldInits>, "}" => ActionFn(105);
assert!(__symbols.len() >= 4);
let __sym3 = __pop_Variant0(__symbols);
let __sym2 = __pop_Variant11(__symbols);
let __sym1 = __pop_Variant0(__symbols);
let __sym0 = __pop_Variant16(__symbols);
let __start = __sym0.0.clone();
let __end = __sym3.2.clone();
let __nt = super::__action105::<>(input, __sym0, __sym1, __sym2, __sym3);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(4, 33)
}
fn __reduce88<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Primary = Literal => ActionFn(21);
let __sym0 = __pop_Variant17(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action21::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 33)
}
fn __reduce89<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Relation = Tier<RelationOp, Addition> => ActionFn(5);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action5::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 34)
}
fn __reduce90<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = "<" => ActionFn(26);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action26::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce91<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = "<=" => ActionFn(27);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action27::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce92<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = ">" => ActionFn(28);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action28::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce93<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = ">=" => ActionFn(29);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action29::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce94<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = "==" => ActionFn(30);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action30::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce95<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = "!=" => ActionFn(31);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action31::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce96<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// RelationOp = "in" => ActionFn(32);
let __sym0 = __pop_Variant0(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action32::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant9(__nt), __end));
(1, 35)
}
fn __reduce97<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<AdditionOp, Multiplication> = Tier<AdditionOp, Multiplication>, AdditionOp, Multiplication => ActionFn(71);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant9(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action71::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 36)
}
fn __reduce98<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<AdditionOp, Multiplication> = Multiplication => ActionFn(72);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action72::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 36)
}
fn __reduce99<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<LogicAnd, Relation> = Tier<LogicAnd, Relation>, LogicAnd, Relation => ActionFn(75);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant9(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action75::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 37)
}
fn __reduce100<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<LogicAnd, Relation> = Relation => ActionFn(76);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action76::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 37)
}
fn __reduce101<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<LogicOr, ConditionalAnd> = Tier<LogicOr, ConditionalAnd>, LogicOr, ConditionalAnd => ActionFn(77);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant9(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action77::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 38)
}
fn __reduce102<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<LogicOr, ConditionalAnd> = ConditionalAnd => ActionFn(78);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action78::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 38)
}
fn __reduce103<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<MultiplicationOp, Unary> = Tier<MultiplicationOp, Unary>, MultiplicationOp, Unary => ActionFn(69);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant9(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action69::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 39)
}
fn __reduce104<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<MultiplicationOp, Unary> = Unary => ActionFn(70);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action70::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 39)
}
fn __reduce105<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<RelationOp, Addition> = Tier<RelationOp, Addition>, RelationOp, Addition => ActionFn(73);
assert!(__symbols.len() >= 3);
let __sym2 = __pop_Variant3(__symbols);
let __sym1 = __pop_Variant9(__symbols);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym2.2.clone();
let __nt = super::__action73::<>(input, __sym0, __sym1, __sym2);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(3, 40)
}
fn __reduce106<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Tier<RelationOp, Addition> = Addition => ActionFn(74);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action74::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 40)
}
fn __reduce107<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Unary = UnaryOp, Member => ActionFn(8);
assert!(__symbols.len() >= 2);
let __sym1 = __pop_Variant3(__symbols);
let __sym0 = __pop_Variant19(__symbols);
let __start = __sym0.0.clone();
let __end = __sym1.2.clone();
let __nt = super::__action8::<>(input, __sym0, __sym1);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(2, 41)
}
fn __reduce108<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// Unary = Member => ActionFn(9);
let __sym0 = __pop_Variant3(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action9::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant3(__nt), __end));
(1, 41)
}
fn __reduce109<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// UnaryOp = "!"+ => ActionFn(38);
let __sym0 = __pop_Variant1(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action38::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant19(__nt), __end));
(1, 42)
}
fn __reduce110<
'input,
>(
input: &'input str,
__lookahead_start: Option<&usize>,
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>,
_: core::marker::PhantomData<(&'input ())>,
) -> (usize, usize)
{
// UnaryOp = "-"+ => ActionFn(39);
let __sym0 = __pop_Variant1(__symbols);
let __start = __sym0.0.clone();
let __end = __sym0.2.clone();
let __nt = super::__action39::<>(input, __sym0);
__symbols.push((__start, __Symbol::Variant19(__nt), __end));
(1, 42)
}
}
#[allow(unused_imports)]
pub use self::__parse__Expression::ExpressionParser;
#[rustfmt::skip]
mod __intern_token {
#![allow(unused_imports)]
use crate::{LeftRightOp, LogicOp, RelationOp, ArithmeticOp, Expression, UnaryOp, Member, Literal};
use std::sync::Arc;
#[allow(unused_extern_crates)]
extern crate lalrpop_util as __lalrpop_util;
#[allow(unused_imports)]
use self::__lalrpop_util::state_machine as __state_machine;
#[allow(unused_extern_crates)]
extern crate alloc;
pub fn new_builder() -> __lalrpop_util::lexer::MatcherBuilder {
let __strs: &[(&str, bool)] = &[
("(?:(?:\"\"\")((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-!\\#-24-z\\|\\~-\u{10ffff}]))*(?:\"\"\"))", false),
("(?:\"((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\t\u{b}-!\\#-\u{10ffff}]))*\")", false),
("(?:(?:''')((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\\&\\(-24-z\\|\\~-\u{10ffff}]))*(?:'''))", false),
("(?:'((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\t\u{b}-\\&\\(-\u{10ffff}]))*')", false),
("((?:[\\+\\-]?[0-9]*\\.[0-9]+((?:[Ee][\\+\\-]?[0-9]+))?))", false),
("(?:\\-?0[Xx]([0-9A-Fa-f]+))", false),
("(?:\\-?0[Xx]([0-9A-Fa-f]+) [Uu])", false),
("(?:\\-?[0-9]+)", false),
("(?:\\-?[0-9]+ [Uu])", false),
("(?:[\\+\\-]?[0-9]+[Ee][\\+\\-]?[0-9]+)", false),
("(?:[A-Z_a-z][0-9A-Z_a-z]*)", false),
("(?:[Bb](?:\"\"\")((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-!\\#-24-z\\|\\~-\u{10ffff}]))*(?:\"\"\"))", false),
("(?:[Bb]\"((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\t\u{b}-!\\#-\u{10ffff}]))*\")", false),
("(?:[Bb](?:''')((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\\&\\(-24-z\\|\\~-\u{10ffff}]))*(?:'''))", false),
("(?:[Bb]'((?:(?:\\\\[\0-\t\u{b}-\u{10ffff}])|[\0-\t\u{b}-\\&\\(-\u{10ffff}]))*')", false),
("!", false),
("(?:!=)", false),
("%", false),
("(?:\\&\\&)", false),
("\\(", false),
("\\)", false),
("\\*", false),
("\\+", false),
(",", false),
("\\-", false),
("\\.", false),
("/", false),
(":", false),
("<", false),
("(?:<=)", false),
("(?:==)", false),
(">", false),
("(?:>=)", false),
("\\?", false),
("\\[", false),
("\\]", false),
("(?:false)", false),
("(?:has)", false),
("(?:in)", false),
("(?:null)", false),
("(?:true)", false),
("\\{", false),
("(?:\\|\\|)", false),
("\\}", false),
("(?:(?://)[\0-\t\u{b}\u{c}\u{e}-\u{10ffff}]*[\n\r]*)", true),
("[\t-\r \u{85}\u{a0}\u{1680}\u{2000}-\u{200a}\u{2028}\u{2029}\u{202f}\u{205f}\u{3000}]*", true),
];
__lalrpop_util::lexer::MatcherBuilder::new(__strs.iter().copied()).unwrap()
}
}
pub(crate) use self::__lalrpop_util::lexer::Token;
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action0<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action1<
'input,
>(
input: &'input str,
(_, condition, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, left, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::Ternary(Box::new(condition), Box::new(left), Box::new(right))
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action2<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action3<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action4<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action5<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action6<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action7<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action8<
'input,
>(
input: &'input str,
(_, op, _): (usize, UnaryOp, usize),
(_, expr, _): (usize, Expression, usize),
) -> Expression
{
Expression::Unary(op, expr.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action9<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action10<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, identifier, _): (usize, Arc<String>, usize),
) -> Expression
{
Expression::Member(left.into(), Box::new(Member::Attribute(identifier)))
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action11<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, identifier, _): (usize, Arc<String>, usize),
(_, _, _): (usize, &'input str, usize),
(_, arguments, _): (usize, Vec<Expression>, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
{
let inner = Expression::Member(Box::new(left), Box::new(Member::Attribute(identifier)));
Expression::Member(Box::new(inner), Member::FunctionCall(arguments).into())
}
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action12<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, expression, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
Expression::Member(Box::new(left), Box::new(Member::Index(expression.into())))
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action13<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action14<
'input,
>(
input: &'input str,
(_, _, _): (usize, Option<&'input str>, usize),
(_, __0, _): (usize, Arc<String>, usize),
) -> Expression
{
Expression::Ident(__0.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action15<
'input,
>(
input: &'input str,
(_, _, _): (usize, Option<&'input str>, usize),
(_, identifier, _): (usize, Arc<String>, usize),
(_, _, _): (usize, &'input str, usize),
(_, arguments, _): (usize, Vec<Expression>, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
{
let inner = Expression::Ident(identifier);
Expression::Member(Box::new(inner), Box::new(Member::FunctionCall(arguments)))
}
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action16<
'input,
>(
input: &'input str,
(_, _, _): (usize, &'input str, usize),
(_, _, _): (usize, &'input str, usize),
(_, expr, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
Expression::Has(Box::new(expr))
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action17<
'input,
>(
input: &'input str,
(_, _, _): (usize, &'input str, usize),
(_, __0, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action18<
'input,
>(
input: &'input str,
(_, _, _): (usize, &'input str, usize),
(_, members, _): (usize, Vec<Expression>, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
Expression::List(members)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action19<
'input,
>(
input: &'input str,
(_, _, _): (usize, &'input str, usize),
(_, fields, _): (usize, Vec<(Expression, Expression)>, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
Expression::Map(fields)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action20<
'input,
>(
input: &'input str,
(_, _, _): (usize, Option<&'input str>, usize),
(_, ident, _): (usize, alloc::vec::Vec<Arc<String>>, usize),
(_, _, _): (usize, &'input str, usize),
(_, fields, _): (usize, Vec<(Arc<String>, Expression)>, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
Expression::Struct(ident,fields)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action21<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Literal, usize),
) -> Expression
{
Expression::Literal(__0)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action22<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Arc<String>, usize),
(_, _, _): (usize, &'input str, usize),
(_, __1, _): (usize, Expression, usize),
) -> (Arc<String>, Expression)
{
(__0, __1)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action23<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
(_, __1, _): (usize, Expression, usize),
) -> (Expression, Expression)
{
(__0, __1)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action24<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Logic(LogicOp::Or)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action25<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Logic(LogicOp::And)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action26<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::LessThan)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action27<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::LessThanEq)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action28<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::GreaterThan)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action29<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::GreaterThanEq)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action30<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::Equals)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action31<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::NotEquals)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action32<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Relation(RelationOp::In)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action33<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Arithmetic(ArithmeticOp::Add)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action34<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Arithmetic(ArithmeticOp::Subtract)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action35<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Arithmetic(ArithmeticOp::Multiply)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action36<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Arithmetic(ArithmeticOp::Divide)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action37<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> LeftRightOp
{
LeftRightOp::Arithmetic(ArithmeticOp::Modulus)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action38<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<&'input str>, usize),
) -> UnaryOp
{
if v.len() % 2 == 0 { UnaryOp::DoubleNot } else { UnaryOp::Not }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action39<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<&'input str>, usize),
) -> UnaryOp
{
if v.len() % 2 == 0 { UnaryOp::DoubleMinus } else { UnaryOp::Minus }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action40<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Int(__0.parse().unwrap())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action41<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Int(i64::from_str_radix(__0, 16).unwrap())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action42<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::UInt(__0.parse().unwrap())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action43<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::UInt(u64::from_str_radix(__0, 16).unwrap())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action44<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Double(__0.to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action45<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Double(__0.to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action46<
'input,
>(
input: &'input str,
(_, s, _): (usize, &'input str, usize),
) -> Literal
{
Literal::String(s[1..(s.len()-1)].to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action47<
'input,
>(
input: &'input str,
(_, s, _): (usize, &'input str, usize),
) -> Literal
{
Literal::String(s[3..(s.len()-3)].to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action48<
'input,
>(
input: &'input str,
(_, s, _): (usize, &'input str, usize),
) -> Literal
{
Literal::String(s[1..(s.len()-1)].to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action49<
'input,
>(
input: &'input str,
(_, s, _): (usize, &'input str, usize),
) -> Literal
{
Literal::String(s[3..(s.len()-3)].to_string().into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action50<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bytes(Vec::from(__0.as_bytes()).into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action51<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bytes(Vec::from(__0.as_bytes()).into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action52<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bytes(Vec::from(__0.as_bytes()).into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action53<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bytes(Vec::from(__0.as_bytes()).into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action54<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bool(true)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action55<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Bool(false)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action56<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Literal
{
Literal::Null
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action57<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Arc<String>
{
__0.to_string().into()
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action58<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> alloc::vec::Vec<&'input str>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action59<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<&'input str>, usize),
(_, e, _): (usize, &'input str, usize),
) -> alloc::vec::Vec<&'input str>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action60<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> alloc::vec::Vec<&'input str>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action61<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<&'input str>, usize),
(_, e, _): (usize, &'input str, usize),
) -> alloc::vec::Vec<&'input str>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action62<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
(_, e, _): (usize, Option<(Arc<String>, Expression)>, usize),
) -> Vec<(Arc<String>, Expression)>
{
match e {
None => v,
Some(e) => {
let mut v = v;
v.push(e);
v
}
}
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action63<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Arc<String>, usize),
) -> alloc::vec::Vec<Arc<String>>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action64<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<Arc<String>>, usize),
(_, e, _): (usize, Arc<String>, usize),
) -> alloc::vec::Vec<Arc<String>>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action65<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
(_, e, _): (usize, Option<(Expression, Expression)>, usize),
) -> Vec<(Expression, Expression)>
{
match e {
None => v,
Some(e) => {
let mut v = v;
v.push(e);
v
}
}
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action66<
'input,
>(
input: &'input str,
(_, __0, _): (usize, &'input str, usize),
) -> Option<&'input str>
{
Some(__0)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action67<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Option<&'input str>
{
None
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action68<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<Expression>, usize),
(_, e, _): (usize, Option<Expression>, usize),
) -> Vec<Expression>
{
match e {
None => v,
Some(e) => {
let mut v = v;
v.push(e);
v
}
}
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action69<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, op, _): (usize, LeftRightOp, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::from_op(op, left.into(), right.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action70<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action71<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, op, _): (usize, LeftRightOp, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::from_op(op, left.into(), right.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action72<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action73<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, op, _): (usize, LeftRightOp, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::from_op(op, left.into(), right.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action74<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action75<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, op, _): (usize, LeftRightOp, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::from_op(op, left.into(), right.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action76<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action77<
'input,
>(
input: &'input str,
(_, left, _): (usize, Expression, usize),
(_, op, _): (usize, LeftRightOp, usize),
(_, right, _): (usize, Expression, usize),
) -> Expression
{
Expression::from_op(op, left.into(), right.into())
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action78<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action79<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> Option<Expression>
{
Some(__0)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action80<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Option<Expression>
{
None
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action81<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> alloc::vec::Vec<Expression>
{
alloc::vec![]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action82<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<Expression>, usize),
) -> alloc::vec::Vec<Expression>
{
v
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action83<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
(_, _, _): (usize, &'input str, usize),
) -> Expression
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action84<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Expression, Expression), usize),
) -> Option<(Expression, Expression)>
{
Some(__0)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action85<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Option<(Expression, Expression)>
{
None
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action86<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> alloc::vec::Vec<(Expression, Expression)>
{
alloc::vec![]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action87<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
) -> alloc::vec::Vec<(Expression, Expression)>
{
v
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action88<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Expression, Expression), usize),
(_, _, _): (usize, &'input str, usize),
) -> (Expression, Expression)
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action89<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Arc<String>, Expression), usize),
) -> Option<(Arc<String>, Expression)>
{
Some(__0)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action90<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Option<(Arc<String>, Expression)>
{
None
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action91<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
alloc::vec![]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action92<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
v
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action93<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Arc<String>, Expression), usize),
(_, _, _): (usize, &'input str, usize),
) -> (Arc<String>, Expression)
{
__0
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action94<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Arc<String>, Expression), usize),
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action95<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
(_, e, _): (usize, (Arc<String>, Expression), usize),
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action96<
'input,
>(
input: &'input str,
(_, __0, _): (usize, (Expression, Expression), usize),
) -> alloc::vec::Vec<(Expression, Expression)>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action97<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
(_, e, _): (usize, (Expression, Expression), usize),
) -> alloc::vec::Vec<(Expression, Expression)>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action98<
'input,
>(
input: &'input str,
(_, __0, _): (usize, Expression, usize),
) -> alloc::vec::Vec<Expression>
{
alloc::vec![__0]
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes, clippy::just_underscores_and_digits)]
fn __action99<
'input,
>(
input: &'input str,
(_, v, _): (usize, alloc::vec::Vec<Expression>, usize),
(_, e, _): (usize, Expression, usize),
) -> alloc::vec::Vec<Expression>
{
{ let mut v = v; v.push(e); v }
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action100<
'input,
>(
input: &'input str,
__0: (usize, &'input str, usize),
__1: (usize, Arc<String>, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action66(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action14(
input,
__temp0,
__1,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action101<
'input,
>(
input: &'input str,
__0: (usize, Arc<String>, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action67(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action14(
input,
__temp0,
__0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action102<
'input,
>(
input: &'input str,
__0: (usize, &'input str, usize),
__1: (usize, Arc<String>, usize),
__2: (usize, &'input str, usize),
__3: (usize, Vec<Expression>, usize),
__4: (usize, &'input str, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action66(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action15(
input,
__temp0,
__1,
__2,
__3,
__4,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action103<
'input,
>(
input: &'input str,
__0: (usize, Arc<String>, usize),
__1: (usize, &'input str, usize),
__2: (usize, Vec<Expression>, usize),
__3: (usize, &'input str, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action67(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action15(
input,
__temp0,
__0,
__1,
__2,
__3,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action104<
'input,
>(
input: &'input str,
__0: (usize, &'input str, usize),
__1: (usize, alloc::vec::Vec<Arc<String>>, usize),
__2: (usize, &'input str, usize),
__3: (usize, Vec<(Arc<String>, Expression)>, usize),
__4: (usize, &'input str, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action66(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action20(
input,
__temp0,
__1,
__2,
__3,
__4,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action105<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<Arc<String>>, usize),
__1: (usize, &'input str, usize),
__2: (usize, Vec<(Arc<String>, Expression)>, usize),
__3: (usize, &'input str, usize),
) -> Expression
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action67(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action20(
input,
__temp0,
__0,
__1,
__2,
__3,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action106<
'input,
>(
input: &'input str,
__0: (usize, Expression, usize),
__1: (usize, &'input str, usize),
) -> alloc::vec::Vec<Expression>
{
let __start0 = __0.0;
let __end0 = __1.2;
let __temp0 = __action83(
input,
__0,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action98(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action107<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<Expression>, usize),
__1: (usize, Expression, usize),
__2: (usize, &'input str, usize),
) -> alloc::vec::Vec<Expression>
{
let __start0 = __1.0;
let __end0 = __2.2;
let __temp0 = __action83(
input,
__1,
__2,
);
let __temp0 = (__start0, __temp0, __end0);
__action99(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action108<
'input,
>(
input: &'input str,
__0: (usize, Option<Expression>, usize),
) -> Vec<Expression>
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action81(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action68(
input,
__temp0,
__0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action109<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<Expression>, usize),
__1: (usize, Option<Expression>, usize),
) -> Vec<Expression>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action82(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action68(
input,
__temp0,
__1,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action110<
'input,
>(
input: &'input str,
__0: (usize, (Arc<String>, Expression), usize),
__1: (usize, &'input str, usize),
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
let __start0 = __0.0;
let __end0 = __1.2;
let __temp0 = __action93(
input,
__0,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action94(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action111<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
__1: (usize, (Arc<String>, Expression), usize),
__2: (usize, &'input str, usize),
) -> alloc::vec::Vec<(Arc<String>, Expression)>
{
let __start0 = __1.0;
let __end0 = __2.2;
let __temp0 = __action93(
input,
__1,
__2,
);
let __temp0 = (__start0, __temp0, __end0);
__action95(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action112<
'input,
>(
input: &'input str,
__0: (usize, Option<(Arc<String>, Expression)>, usize),
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action91(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action62(
input,
__temp0,
__0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action113<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
__1: (usize, Option<(Arc<String>, Expression)>, usize),
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action92(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action62(
input,
__temp0,
__1,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action114<
'input,
>(
input: &'input str,
__0: (usize, (Expression, Expression), usize),
__1: (usize, &'input str, usize),
) -> alloc::vec::Vec<(Expression, Expression)>
{
let __start0 = __0.0;
let __end0 = __1.2;
let __temp0 = __action88(
input,
__0,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action96(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action115<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
__1: (usize, (Expression, Expression), usize),
__2: (usize, &'input str, usize),
) -> alloc::vec::Vec<(Expression, Expression)>
{
let __start0 = __1.0;
let __end0 = __2.2;
let __temp0 = __action88(
input,
__1,
__2,
);
let __temp0 = (__start0, __temp0, __end0);
__action97(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action116<
'input,
>(
input: &'input str,
__0: (usize, Option<(Expression, Expression)>, usize),
) -> Vec<(Expression, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.0;
let __temp0 = __action86(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action65(
input,
__temp0,
__0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action117<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
__1: (usize, Option<(Expression, Expression)>, usize),
) -> Vec<(Expression, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action87(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action65(
input,
__temp0,
__1,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action118<
'input,
>(
input: &'input str,
__0: (usize, Expression, usize),
) -> Vec<Expression>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action79(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action108(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action119<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Vec<Expression>
{
let __start0 = *__lookbehind;
let __end0 = *__lookahead;
let __temp0 = __action80(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action108(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action120<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<Expression>, usize),
__1: (usize, Expression, usize),
) -> Vec<Expression>
{
let __start0 = __1.0;
let __end0 = __1.2;
let __temp0 = __action79(
input,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action109(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action121<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<Expression>, usize),
) -> Vec<Expression>
{
let __start0 = __0.2;
let __end0 = __0.2;
let __temp0 = __action80(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action109(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action122<
'input,
>(
input: &'input str,
__0: (usize, (Arc<String>, Expression), usize),
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action89(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action112(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action123<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = *__lookbehind;
let __end0 = *__lookahead;
let __temp0 = __action90(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action112(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action124<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
__1: (usize, (Arc<String>, Expression), usize),
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = __1.0;
let __end0 = __1.2;
let __temp0 = __action89(
input,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action113(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action125<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Arc<String>, Expression)>, usize),
) -> Vec<(Arc<String>, Expression)>
{
let __start0 = __0.2;
let __end0 = __0.2;
let __temp0 = __action90(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action113(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action126<
'input,
>(
input: &'input str,
__0: (usize, (Expression, Expression), usize),
) -> Vec<(Expression, Expression)>
{
let __start0 = __0.0;
let __end0 = __0.2;
let __temp0 = __action84(
input,
__0,
);
let __temp0 = (__start0, __temp0, __end0);
__action116(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action127<
'input,
>(
input: &'input str,
__lookbehind: &usize,
__lookahead: &usize,
) -> Vec<(Expression, Expression)>
{
let __start0 = *__lookbehind;
let __end0 = *__lookahead;
let __temp0 = __action85(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action116(
input,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action128<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
__1: (usize, (Expression, Expression), usize),
) -> Vec<(Expression, Expression)>
{
let __start0 = __1.0;
let __end0 = __1.2;
let __temp0 = __action84(
input,
__1,
);
let __temp0 = (__start0, __temp0, __end0);
__action117(
input,
__0,
__temp0,
)
}
#[allow(unused_variables)]
#[allow(clippy::too_many_arguments, clippy::needless_lifetimes,
clippy::just_underscores_and_digits)]
fn __action129<
'input,
>(
input: &'input str,
__0: (usize, alloc::vec::Vec<(Expression, Expression)>, usize),
) -> Vec<(Expression, Expression)>
{
let __start0 = __0.2;
let __end0 = __0.2;
let __temp0 = __action85(
input,
&__start0,
&__end0,
);
let __temp0 = (__start0, __temp0, __end0);
__action117(
input,
__0,
__temp0,
)
}
#[allow(clippy::type_complexity, dead_code)]
pub trait __ToTriple<'input, >
{
fn to_triple(self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>>;
}
impl<'input, > __ToTriple<'input, > for (usize, Token<'input>, usize)
{
fn to_triple(self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>> {
Ok(self)
}
}
impl<'input, > __ToTriple<'input, > for Result<(usize, Token<'input>, usize), &'static str>
{
fn to_triple(self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError<usize, Token<'input>, &'static str>> {
self.map_err(|error| __lalrpop_util::ParseError::User { error })
}
}