| 1 |
// auto-generated: "lalrpop 0.19.8" |
| 2 |
// sha3: bceacaa24ba21e6d6ec6b336c5fdd6fcdaa08bf5094824af45d3f7273cd647e7 |
| 3 |
use crate::ast::{Expression, OpCode}; |
| 4 |
use std::str::FromStr; |
| 5 |
#[allow(unused_extern_crates)] |
| 6 |
extern crate lalrpop_util as __lalrpop_util; |
| 7 |
#[allow(unused_imports)] |
| 8 |
use self::__lalrpop_util::state_machine as __state_machine; |
| 9 |
extern crate alloc; |
| 10 |
extern crate core; |
| 11 |
|
| 12 |
#[cfg_attr(rustfmt, rustfmt_skip)] |
| 13 |
mod __parse__Expression { |
| 14 |
#![allow(non_snake_case, non_camel_case_types, unused_mut, unused_variables, unused_imports, unused_parens, clippy::all)] |
| 15 |
|
| 16 |
use std::str::FromStr; |
| 17 |
use crate::ast::{Expression, OpCode}; |
| 18 |
#[allow(unused_extern_crates)] |
| 19 |
extern crate lalrpop_util as __lalrpop_util; |
| 20 |
#[allow(unused_imports)] |
| 21 |
use self::__lalrpop_util::state_machine as __state_machine; |
| 22 |
extern crate core; |
| 23 |
extern crate alloc; |
| 24 |
use self::__lalrpop_util::lexer::Token; |
| 25 |
#[allow(dead_code)] |
| 26 |
pub(crate) enum __Symbol<'input> |
| 27 |
{ |
| 28 |
Variant0(&'input str), |
| 29 |
Variant1((String, Box<Expression>)), |
| 30 |
Variant2(alloc::vec::Vec<(String, Box<Expression>)>), |
| 31 |
Variant3(Box<Expression>), |
| 32 |
Variant4(alloc::vec::Vec<Box<Expression>>), |
| 33 |
Variant5(core::option::Option<(String, Box<Expression>)>), |
| 34 |
Variant6(Vec<Box<Expression>>), |
| 35 |
Variant7(core::option::Option<Vec<Box<Expression>>>), |
| 36 |
Variant8(bool), |
| 37 |
Variant9(Vec<(String, Box<Expression>)>), |
| 38 |
Variant10(core::option::Option<Box<Expression>>), |
| 39 |
Variant11(String), |
| 40 |
Variant12(Option<Box<Expression>>), |
| 41 |
Variant13(f64), |
| 42 |
Variant14(OpCode), |
| 43 |
} |
| 44 |
const __ACTION: &[i8] = &[ |
| 45 |
// State 0 |
| 46 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 47 |
// State 1 |
| 48 |
63, 0, -29, 0, -29, 0, 0, -29, 0, 0, 0, 0, 0, 64, 65, 66, 67, 68, 0, 0, 0, 0, -29, 0, 0, 69, 0, 0, 0, 0, 0, -29, -29, 0, 0, 0, 0, 0, 0, |
| 49 |
// State 2 |
| 50 |
-31, 0, -31, 0, -31, 0, 70, -31, 71, 0, 0, 0, 0, -31, -31, -31, -31, -31, 0, 0, 0, 0, -31, 0, 0, -31, 0, 0, 0, 0, 0, -31, -31, 0, 0, 0, 0, 0, 0, |
| 51 |
// State 3 |
| 52 |
-33, 0, -33, 0, -33, 72, -33, -33, -33, 0, 73, 74, 0, -33, -33, -33, -33, -33, 0, 0, 0, 0, -33, 0, 0, -33, 0, 0, 0, 0, 0, -33, -33, 0, 0, 0, 0, 0, 0, |
| 53 |
// State 4 |
| 54 |
-35, 75, -35, 0, -35, -35, -35, -35, -35, 0, -35, -35, 0, -35, -35, -35, -35, -35, 0, 0, 0, 0, -35, 76, 0, -35, 0, 0, 0, 0, 0, -35, -35, 0, 0, 0, 0, 0, 0, |
| 55 |
// State 5 |
| 56 |
-42, -42, -42, 0, -42, -42, -42, -42, -42, 17, -42, -42, -42, -42, -42, -42, -42, -42, -42, 0, 0, 18, -42, -42, 0, -42, 0, 0, 0, 0, -42, -42, -42, 0, 0, 0, 0, 0, 0, |
| 57 |
// State 6 |
| 58 |
0, 0, 78, 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, 79, 0, 0, 0, 0, 0, 0, 0, |
| 59 |
// State 7 |
| 60 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 61 |
// State 8 |
| 62 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, -25, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 63 |
// State 9 |
| 64 |
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, -21, 57, 58, 0, 0, 61, 0, |
| 65 |
// State 10 |
| 66 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 67 |
// State 11 |
| 68 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 69 |
// State 12 |
| 70 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 71 |
// State 13 |
| 72 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 73 |
// State 14 |
| 74 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 75 |
// State 15 |
| 76 |
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, 61, 0, |
| 77 |
// State 16 |
| 78 |
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, 61, 0, |
| 79 |
// State 17 |
| 80 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 81 |
// State 18 |
| 82 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 83 |
// State 19 |
| 84 |
0, 0, 78, 0, 88, 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, 79, 0, 0, 0, 0, 0, 0, 0, |
| 85 |
// State 20 |
| 86 |
0, 0, 0, 8, -27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, -27, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 87 |
// State 21 |
| 88 |
0, 0, 78, 0, -24, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -24, 0, 0, 0, 0, 0, 0, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, |
| 89 |
// State 22 |
| 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, 0, 0, 0, 0, 0, -23, 57, 58, 0, 0, 61, 0, |
| 91 |
// State 23 |
| 92 |
-30, 0, -30, 0, -30, 0, 70, -30, 71, 0, 0, 0, 0, -30, -30, -30, -30, -30, 0, 0, 0, 0, -30, 0, 0, -30, 0, 0, 0, 0, 0, -30, -30, 0, 0, 0, 0, 0, 0, |
| 93 |
// State 24 |
| 94 |
-32, 0, -32, 0, -32, 72, -32, -32, -32, 0, 73, 74, 0, -32, -32, -32, -32, -32, 0, 0, 0, 0, -32, 0, 0, -32, 0, 0, 0, 0, 0, -32, -32, 0, 0, 0, 0, 0, 0, |
| 95 |
// State 25 |
| 96 |
-34, 75, -34, 0, -34, -34, -34, -34, -34, 0, -34, -34, 0, -34, -34, -34, -34, -34, 0, 0, 0, 0, -34, 76, 0, -34, 0, 0, 0, 0, 0, -34, -34, 0, 0, 0, 0, 0, 0, |
| 97 |
// State 26 |
| 98 |
-41, -41, -41, 34, -41, -41, -41, -41, -41, 0, -41, -41, -41, -41, -41, -41, -41, -41, -41, 0, 0, 0, -41, -41, 0, -41, 0, 0, 0, 0, -41, -41, -41, 0, 0, 0, 0, 0, 0, |
| 99 |
// State 27 |
| 100 |
0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 0, 0, 0, 0, 0, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, |
| 101 |
// State 28 |
| 102 |
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, 61, 0, |
| 103 |
// State 29 |
| 104 |
63, 0, -28, 0, -28, 0, 0, -28, 0, 0, 0, 0, 0, 64, 65, 66, 67, 68, 0, 0, 0, 0, -28, 0, 0, 69, 0, 0, 0, 0, 0, -28, -28, 0, 0, 0, 0, 0, 0, |
| 105 |
// State 30 |
| 106 |
0, 0, 78, 0, -26, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -26, 0, 0, 0, 0, 0, 0, 0, 0, 79, 0, 0, 0, 0, 0, 0, 0, |
| 107 |
// State 31 |
| 108 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 109 |
// State 32 |
| 110 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 111 |
// State 33 |
| 112 |
0, 0, 0, 8, -25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 113 |
// State 34 |
| 114 |
63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 65, 66, 67, 68, 0, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 115 |
// State 35 |
| 116 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 117 |
// State 36 |
| 118 |
0, 0, 78, 0, 0, 0, 0, 98, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79, -20, 0, 0, 0, 0, 0, 0, |
| 119 |
// State 37 |
| 120 |
0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 51, 52, 9, 0, 0, 53, 0, 54, 55, 10, 56, 0, 0, 0, 57, 58, 59, 60, 61, 62, |
| 121 |
// State 38 |
| 122 |
0, 0, 78, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 79, -22, 0, 0, 0, 0, 0, 0, |
| 123 |
// State 39 |
| 124 |
-49, -49, -49, 0, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, 0, 0, -49, -49, -49, 0, -49, 0, 0, 0, 0, -49, -49, -49, 0, 0, 0, 0, 0, 0, |
| 125 |
// State 40 |
| 126 |
-47, -47, -47, 0, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, -47, 0, 0, -47, -47, -47, 0, -47, 0, 0, 0, 0, -47, -47, -47, 0, 0, 0, 0, 0, 0, |
| 127 |
// State 41 |
| 128 |
0, 0, -54, 0, -54, 0, 0, -54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -54, 0, 0, 0, 0, 0, 0, 0, 0, -54, -54, 0, 0, 0, 0, 0, 0, |
| 129 |
// State 42 |
| 130 |
-37, -37, -37, 0, -37, -37, -37, -37, -37, 0, -37, -37, 0, -37, -37, -37, -37, -37, 15, 0, 0, 0, -37, -37, 0, -37, 0, 0, 0, 0, 0, -37, -37, 0, 0, 0, 0, 0, 0, |
| 131 |
// State 43 |
| 132 |
-39, -39, -39, 0, -39, -39, -39, -39, -39, 0, -39, -39, 0, -39, -39, -39, -39, -39, -39, 0, 0, 0, -39, -39, 0, -39, 0, 0, 0, 0, 16, -39, -39, 0, 0, 0, 0, 0, 0, |
| 133 |
// State 44 |
| 134 |
-45, -45, -45, 0, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, -45, 0, 0, -45, -45, -45, 0, -45, 0, 0, 0, 0, -45, -45, -45, 0, 0, 0, 0, 0, 0, |
| 135 |
// State 45 |
| 136 |
-52, -52, -52, 0, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, -52, 0, 0, -52, -52, -52, 0, -52, 0, 0, 0, 0, -52, -52, -52, 0, 0, 0, 0, 0, 0, |
| 137 |
// State 46 |
| 138 |
-51, -51, -51, 0, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, -51, 0, 0, -51, -51, -51, 0, -51, 0, 0, 0, 0, -51, -51, -51, 0, 0, 0, 0, 0, 0, |
| 139 |
// State 47 |
| 140 |
-46, -46, -46, 0, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, -46, 0, 0, -46, -46, -46, 0, -46, 0, 0, 0, 0, -46, -46, -46, 0, 0, 0, 0, 0, 0, |
| 141 |
// State 48 |
| 142 |
-50, -50, -50, 0, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, 0, 0, -50, -50, -50, 0, -50, 0, 0, 0, 0, -50, -50, -50, 0, 0, 0, 0, 0, 0, |
| 143 |
// State 49 |
| 144 |
-48, -48, -48, 0, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, -48, 0, 0, -48, -48, -48, 0, -48, 0, 0, 0, 0, -48, -48, -48, 0, 0, 0, 0, 0, 0, |
| 145 |
// State 50 |
| 146 |
-62, -62, -62, 0, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, -62, 0, 0, -62, -62, -62, 0, -62, 0, 0, 0, 0, -62, -62, -62, 0, 0, 0, 0, 0, 0, |
| 147 |
// State 51 |
| 148 |
-60, -60, -60, 0, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, -60, 0, 0, -60, -60, -60, 0, -60, 0, 0, 0, 0, -60, -60, -60, 0, 0, 0, 0, 0, 0, |
| 149 |
// State 52 |
| 150 |
-19, -19, -19, 0, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, -19, 0, 0, -19, -19, -19, 0, -19, 0, 0, 0, 0, -19, -19, -19, 0, 0, 0, 0, 0, 0, |
| 151 |
// State 53 |
| 152 |
-61, -61, -61, 0, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, -61, 0, 0, -61, -61, -61, 0, -61, 0, 0, 0, 0, -61, -61, -61, 0, 0, 0, 0, 0, 0, |
| 153 |
// State 54 |
| 154 |
-18, -18, -18, 0, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, -18, 0, 0, -18, -18, -18, 0, -18, 0, 0, 0, 0, -18, -18, -18, 0, 0, 0, 0, 0, 0, |
| 155 |
// State 55 |
| 156 |
-67, -67, -67, 0, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, -67, 0, 0, -67, -67, -67, 0, -67, 0, 0, 0, 0, -67, -67, -67, 0, 0, 0, 0, 0, 0, |
| 157 |
// State 56 |
| 158 |
-86, -86, -86, 0, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, -86, 0, 0, -86, -86, -86, 0, -86, 0, 0, 0, 0, -86, -86, -86, 0, 0, 0, 0, 0, 0, |
| 159 |
// State 57 |
| 160 |
-87, -87, -87, 0, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, -87, 0, 0, -87, -87, -87, 0, -87, 0, 0, 0, 0, -87, -87, -87, 0, 0, 0, 0, 0, 0, |
| 161 |
// State 58 |
| 162 |
-63, -63, -63, 0, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, -63, 0, 0, -63, -63, -63, 0, -63, 0, 0, 0, 0, -63, -63, -63, 0, 0, 0, 0, 0, 0, |
| 163 |
// State 59 |
| 164 |
-64, -64, -64, 0, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, 0, 0, -64, -64, -64, 0, -64, 0, 0, 0, 0, -64, -64, -64, 0, 0, 0, 0, 0, 0, |
| 165 |
// State 60 |
| 166 |
-57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, -57, 0, 0, -57, -57, -57, 0, -57, 0, 0, 0, 0, -57, -57, -57, 0, 0, 0, 0, 0, 0, |
| 167 |
// State 61 |
| 168 |
-65, -65, -65, 0, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, -65, 0, 0, -65, -65, -65, 0, -65, 0, 0, 0, 0, -65, -65, -65, 0, 0, 0, 0, 0, 0, |
| 169 |
// State 62 |
| 170 |
0, 0, 0, -73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -73, -73, -73, 0, 0, -73, 0, -73, -73, -73, -73, 0, 0, 0, -73, -73, -73, -73, -73, -73, |
| 171 |
// State 63 |
| 172 |
0, 0, 0, -77, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -77, -77, -77, 0, 0, -77, 0, -77, -77, -77, -77, 0, 0, 0, -77, -77, -77, -77, -77, -77, |
| 173 |
// State 64 |
| 174 |
0, 0, 0, -75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -75, -75, -75, 0, 0, -75, 0, -75, -75, -75, -75, 0, 0, 0, -75, -75, -75, -75, -75, -75, |
| 175 |
// State 65 |
| 176 |
0, 0, 0, -72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -72, -72, -72, 0, 0, -72, 0, -72, -72, -72, -72, 0, 0, 0, -72, -72, -72, -72, -72, -72, |
| 177 |
// State 66 |
| 178 |
0, 0, 0, -76, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -76, -76, -76, 0, 0, -76, 0, -76, -76, -76, -76, 0, 0, 0, -76, -76, -76, -76, -76, -76, |
| 179 |
// State 67 |
| 180 |
0, 0, 0, -74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -74, -74, -74, 0, 0, -74, 0, -74, -74, -74, -74, 0, 0, 0, -74, -74, -74, -74, -74, -74, |
| 181 |
// State 68 |
| 182 |
0, 0, 0, -78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -78, -78, -78, 0, 0, -78, 0, -78, -78, -78, -78, 0, 0, 0, -78, -78, -78, -78, -78, -78, |
| 183 |
// State 69 |
| 184 |
0, 0, 0, -79, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -79, -79, -79, 0, 0, -79, 0, -79, -79, -79, -79, 0, 0, 0, -79, -79, -79, -79, -79, -79, |
| 185 |
// State 70 |
| 186 |
0, 0, 0, -80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -80, -80, -80, 0, 0, -80, 0, -80, -80, -80, -80, 0, 0, 0, -80, -80, -80, -80, -80, -80, |
| 187 |
// State 71 |
| 188 |
0, 0, 0, -81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -81, -81, -81, 0, 0, -81, 0, -81, -81, -81, -81, 0, 0, 0, -81, -81, -81, -81, -81, -81, |
| 189 |
// State 72 |
| 190 |
0, 0, 0, -83, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -83, -83, -83, 0, 0, -83, 0, -83, -83, -83, -83, 0, 0, 0, -83, -83, -83, -83, -83, -83, |
| 191 |
// State 73 |
| 192 |
0, 0, 0, -82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -82, -82, -82, 0, 0, -82, 0, -82, -82, -82, -82, 0, 0, 0, -82, -82, -82, -82, -82, -82, |
| 193 |
// State 74 |
| 194 |
0, 0, 0, -84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -84, -84, -84, 0, 0, -84, 0, -84, -84, -84, -84, 0, 0, 0, -84, -84, -84, -84, -84, -84, |
| 195 |
// State 75 |
| 196 |
0, 0, 0, -85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -85, -85, -85, 0, 0, -85, 0, -85, -85, -85, -85, 0, 0, 0, -85, -85, -85, -85, -85, -85, |
| 197 |
// State 76 |
| 198 |
-43, -43, -43, 0, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, -43, 0, 0, -43, -43, -43, 0, -43, 0, 0, 0, 0, -43, -43, -43, 0, 0, 0, 0, 0, 0, |
| 199 |
// State 77 |
| 200 |
0, 0, 0, -70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -70, -70, -70, 0, 0, -70, 0, -70, -70, -70, -70, 0, 0, 0, -70, -70, -70, -70, -70, -70, |
| 201 |
// State 78 |
| 202 |
0, 0, 0, -71, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -71, -71, -71, 0, 0, -71, 0, -71, -71, -71, -71, 0, 0, 0, -71, -71, -71, -71, -71, -71, |
| 203 |
// State 79 |
| 204 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 205 |
// State 80 |
| 206 |
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, 92, 0, 0, 0, 0, 0, 0, |
| 207 |
// State 81 |
| 208 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -69, 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, |
| 209 |
// State 82 |
| 210 |
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 211 |
// State 83 |
| 212 |
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, 0, 0, 0, 0, 0, 0, 0, |
| 213 |
// State 84 |
| 214 |
-36, -36, -36, 0, -36, -36, -36, -36, -36, 0, -36, -36, 0, -36, -36, -36, -36, -36, 15, 0, 0, 0, -36, -36, 0, -36, 0, 0, 0, 0, 0, -36, -36, 0, 0, 0, 0, 0, 0, |
| 215 |
// State 85 |
| 216 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, |
| 217 |
// State 86 |
| 218 |
-44, -44, -44, 0, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, -44, 0, 0, -44, -44, -44, 0, -44, 0, 0, 0, 0, -44, -44, -44, 0, 0, 0, 0, 0, 0, |
| 219 |
// State 87 |
| 220 |
-53, -53, -53, 0, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, -53, 0, 0, -53, -53, -53, 0, -53, 0, 0, 0, 0, -53, -53, -53, 0, 0, 0, 0, 0, 0, |
| 221 |
// State 88 |
| 222 |
-17, -17, -17, 0, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, -17, 0, 0, -17, -17, -17, 0, -17, 0, 0, 0, 0, -17, -17, -17, 0, 0, 0, 0, 0, 0, |
| 223 |
// State 89 |
| 224 |
0, 0, 0, -9, -9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -9, -9, -9, -9, 0, -9, 0, -9, -9, -9, -9, 0, 0, 0, -9, -9, -9, -9, -9, -9, |
| 225 |
// State 90 |
| 226 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 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, |
| 227 |
// State 91 |
| 228 |
-66, -66, -66, 0, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, -66, 0, 0, -66, -66, -66, 0, -66, 0, 0, 0, 0, -66, -66, -66, 0, 0, 0, 0, 0, 0, |
| 229 |
// State 92 |
| 230 |
-40, -40, -40, 0, -40, -40, -40, -40, -40, 0, -40, -40, -40, -40, -40, -40, -40, -40, -40, 0, 0, 0, -40, -40, 0, -40, 0, 0, 0, 0, -40, -40, -40, 0, 0, 0, 0, 0, 0, |
| 231 |
// State 93 |
| 232 |
-59, -59, -59, 0, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, -59, 0, 0, -59, -59, -59, 0, -59, 0, 0, 0, 0, -59, -59, -59, 0, 0, 0, 0, 0, 0, |
| 233 |
// State 94 |
| 234 |
0, 0, 0, -10, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10, -10, -10, -10, 0, -10, 0, -10, -10, -10, -10, 0, 0, 0, -10, -10, -10, -10, -10, -10, |
| 235 |
// State 95 |
| 236 |
-38, -38, -38, 0, -38, -38, -38, -38, -38, 0, -38, -38, 0, -38, -38, -38, -38, -38, -38, 0, 0, 0, -38, -38, 0, -38, 0, 0, 0, 0, 16, -38, -38, 0, 0, 0, 0, 0, 0, |
| 237 |
// State 96 |
| 238 |
0, 0, 0, 0, 99, 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, |
| 239 |
// State 97 |
| 240 |
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, -4, -4, -4, 0, 0, -4, 0, |
| 241 |
// State 98 |
| 242 |
-14, -14, -14, 0, -14, -14, -14, -14, -14, 0, -14, -14, -14, -14, -14, -14, -14, -14, -14, 0, 0, 0, -14, -14, 0, -14, 0, 0, 0, 0, -14, -14, -14, 0, 0, 0, 0, 0, 0, |
| 243 |
// State 99 |
| 244 |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
| 245 |
// State 100 |
| 246 |
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, -5, -5, -5, 0, 0, -5, 0, |
| 247 |
// State 101 |
| 248 |
-58, -58, -58, 0, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, -58, 0, 0, -58, -58, -58, 0, -58, 0, 0, 0, 0, -58, -58, -58, 0, 0, 0, 0, 0, 0, |
| 249 |
]; |
| 250 |
fn __action(state: i8, integer: usize) -> i8 { |
| 251 |
__ACTION[(state as usize) * 39 + integer] |
| 252 |
} |
| 253 |
const __EOF_ACTION: &[i8] = &[ |
| 254 |
// State 0 |
| 255 |
0, |
| 256 |
// State 1 |
| 257 |
-29, |
| 258 |
// State 2 |
| 259 |
-31, |
| 260 |
// State 3 |
| 261 |
-33, |
| 262 |
// State 4 |
| 263 |
-35, |
| 264 |
// State 5 |
| 265 |
-42, |
| 266 |
// State 6 |
| 267 |
-88, |
| 268 |
// State 7 |
| 269 |
0, |
| 270 |
// State 8 |
| 271 |
0, |
| 272 |
// State 9 |
| 273 |
0, |
| 274 |
// State 10 |
| 275 |
0, |
| 276 |
// State 11 |
| 277 |
0, |
| 278 |
// State 12 |
| 279 |
0, |
| 280 |
// State 13 |
| 281 |
0, |
| 282 |
// State 14 |
| 283 |
0, |
| 284 |
// State 15 |
| 285 |
0, |
| 286 |
// State 16 |
| 287 |
0, |
| 288 |
// State 17 |
| 289 |
0, |
| 290 |
// State 18 |
| 291 |
0, |
| 292 |
// State 19 |
| 293 |
0, |
| 294 |
// State 20 |
| 295 |
0, |
| 296 |
// State 21 |
| 297 |
0, |
| 298 |
// State 22 |
| 299 |
0, |
| 300 |
// State 23 |
| 301 |
-30, |
| 302 |
// State 24 |
| 303 |
-32, |
| 304 |
// State 25 |
| 305 |
-34, |
| 306 |
// State 26 |
| 307 |
-41, |
| 308 |
// State 27 |
| 309 |
0, |
| 310 |
// State 28 |
| 311 |
0, |
| 312 |
// State 29 |
| 313 |
-28, |
| 314 |
// State 30 |
| 315 |
0, |
| 316 |
// State 31 |
| 317 |
0, |
| 318 |
// State 32 |
| 319 |
0, |
| 320 |
// State 33 |
| 321 |
0, |
| 322 |
// State 34 |
| 323 |
0, |
| 324 |
// State 35 |
| 325 |
0, |
| 326 |
// State 36 |
| 327 |
0, |
| 328 |
// State 37 |
| 329 |
0, |
| 330 |
// State 38 |
| 331 |
0, |
| 332 |
// State 39 |
| 333 |
-49, |
| 334 |
// State 40 |
| 335 |
-47, |
| 336 |
// State 41 |
| 337 |
-54, |
| 338 |
// State 42 |
| 339 |
-37, |
| 340 |
// State 43 |
| 341 |
-39, |
| 342 |
// State 44 |
| 343 |
-45, |
| 344 |
// State 45 |
| 345 |
-52, |
| 346 |
// State 46 |
| 347 |
-51, |
| 348 |
// State 47 |
| 349 |
-46, |
| 350 |
// State 48 |
| 351 |
-50, |
| 352 |
// State 49 |
| 353 |
-48, |
| 354 |
// State 50 |
| 355 |
-62, |
| 356 |
// State 51 |
| 357 |
-60, |
| 358 |
// State 52 |
| 359 |
-19, |
| 360 |
// State 53 |
| 361 |
-61, |
| 362 |
// State 54 |
| 363 |
-18, |
| 364 |
// State 55 |
| 365 |
-67, |
| 366 |
// State 56 |
| 367 |
-86, |
| 368 |
// State 57 |
| 369 |
-87, |
| 370 |
// State 58 |
| 371 |
-63, |
| 372 |
// State 59 |
| 373 |
-64, |
| 374 |
// State 60 |
| 375 |
-57, |
| 376 |
// State 61 |
| 377 |
-65, |
| 378 |
// State 62 |
| 379 |
0, |
| 380 |
// State 63 |
| 381 |
0, |
| 382 |
// State 64 |
| 383 |
0, |
| 384 |
// State 65 |
| 385 |
0, |
| 386 |
// State 66 |
| 387 |
0, |
| 388 |
// State 67 |
| 389 |
0, |
| 390 |
// State 68 |
| 391 |
0, |
| 392 |
// State 69 |
| 393 |
0, |
| 394 |
// State 70 |
| 395 |
0, |
| 396 |
// State 71 |
| 397 |
0, |
| 398 |
// State 72 |
| 399 |
0, |
| 400 |
// State 73 |
| 401 |
0, |
| 402 |
// State 74 |
| 403 |
0, |
| 404 |
// State 75 |
| 405 |
0, |
| 406 |
// State 76 |
| 407 |
-43, |
| 408 |
// State 77 |
| 409 |
0, |
| 410 |
// State 78 |
| 411 |
0, |
| 412 |
// State 79 |
| 413 |
0, |
| 414 |
// State 80 |
| 415 |
0, |
| 416 |
// State 81 |
| 417 |
0, |
| 418 |
// State 82 |
| 419 |
0, |
| 420 |
// State 83 |
| 421 |
0, |
| 422 |
// State 84 |
| 423 |
-36, |
| 424 |
// State 85 |
| 425 |
0, |
| 426 |
// State 86 |
| 427 |
-44, |
| 428 |
// State 87 |
| 429 |
-53, |
| 430 |
// State 88 |
| 431 |
-17, |
| 432 |
// State 89 |
| 433 |
0, |
| 434 |
// State 90 |
| 435 |
0, |
| 436 |
// State 91 |
| 437 |
-66, |
| 438 |
// State 92 |
| 439 |
-40, |
| 440 |
// State 93 |
| 441 |
-59, |
| 442 |
// State 94 |
| 443 |
0, |
| 444 |
// State 95 |
| 445 |
-38, |
| 446 |
// State 96 |
| 447 |
0, |
| 448 |
// State 97 |
| 449 |
0, |
| 450 |
// State 98 |
| 451 |
-14, |
| 452 |
// State 99 |
| 453 |
0, |
| 454 |
// State 100 |
| 455 |
0, |
| 456 |
// State 101 |
| 457 |
-58, |
| 458 |
]; |
| 459 |
fn __goto(state: i8, nt: usize) -> i8 { |
| 460 |
match nt { |
| 461 |
2 => 22, |
| 462 |
5 => 20, |
| 463 |
8 => 92, |
| 464 |
10 => 39, |
| 465 |
11 => 40, |
| 466 |
12 => 80, |
| 467 |
13 => match state { |
| 468 |
33 => 96, |
| 469 |
_ => 79, |
| 470 |
}, |
| 471 |
14 => 41, |
| 472 |
15 => match state { |
| 473 |
18 => 29, |
| 474 |
_ => 1, |
| 475 |
}, |
| 476 |
16 => match state { |
| 477 |
10 => 23, |
| 478 |
_ => 2, |
| 479 |
}, |
| 480 |
17 => match state { |
| 481 |
11 => 24, |
| 482 |
_ => 3, |
| 483 |
}, |
| 484 |
18 => match state { |
| 485 |
12 => 25, |
| 486 |
_ => 4, |
| 487 |
}, |
| 488 |
19 => match state { |
| 489 |
13 => 84, |
| 490 |
_ => 42, |
| 491 |
}, |
| 492 |
20 => match state { |
| 493 |
14 => 85, |
| 494 |
32 => 95, |
| 495 |
_ => 43, |
| 496 |
}, |
| 497 |
21 => 5, |
| 498 |
22 => match state { |
| 499 |
37 => 99, |
| 500 |
_ => 44, |
| 501 |
}, |
| 502 |
23 => match state { |
| 503 |
0 => 6, |
| 504 |
7 => 19, |
| 505 |
17 => 27, |
| 506 |
20 => 30, |
| 507 |
31 => 36, |
| 508 |
35 => 38, |
| 509 |
_ => 21, |
| 510 |
}, |
| 511 |
25 => match state { |
| 512 |
15 => 26, |
| 513 |
28 => 34, |
| 514 |
9 | 22 => 81, |
| 515 |
16 => 86, |
| 516 |
_ => 45, |
| 517 |
}, |
| 518 |
26 => 76, |
| 519 |
27 => 46, |
| 520 |
28 => 47, |
| 521 |
29 => 48, |
| 522 |
30 => match state { |
| 523 |
22 => 90, |
| 524 |
_ => 82, |
| 525 |
}, |
| 526 |
31 => 18, |
| 527 |
32 => match state { |
| 528 |
34 => 37, |
| 529 |
_ => 10, |
| 530 |
}, |
| 531 |
33 => 11, |
| 532 |
34 => 12, |
| 533 |
35 => 13, |
| 534 |
36 => match state { |
| 535 |
9 | 22 => 83, |
| 536 |
_ => 49, |
| 537 |
}, |
| 538 |
_ => 0, |
| 539 |
} |
| 540 |
} |
| 541 |
fn __expected_tokens(__state: i8) -> alloc::vec::Vec<alloc::string::String> { |
| 542 |
const __TERMINAL: &[&str] = &[ |
| 543 |
r###""!=""###, |
| 544 |
r###""%""###, |
| 545 |
r###""&&""###, |
| 546 |
r###""(""###, |
| 547 |
r###"")""###, |
| 548 |
r###""*""###, |
| 549 |
r###""+""###, |
| 550 |
r###"",""###, |
| 551 |
r###""-""###, |
| 552 |
r###"".""###, |
| 553 |
r###""/""###, |
| 554 |
r###""//""###, |
| 555 |
r###"":""###, |
| 556 |
r###""<""###, |
| 557 |
r###""<=""###, |
| 558 |
r###""==""###, |
| 559 |
r###"">""###, |
| 560 |
r###"">=""###, |
| 561 |
r###""?""###, |
| 562 |
r###""NULL""###, |
| 563 |
r###""Null""###, |
| 564 |
r###""[""###, |
| 565 |
r###""]""###, |
| 566 |
r###""^""###, |
| 567 |
r###""false""###, |
| 568 |
r###""in""###, |
| 569 |
r###""null""###, |
| 570 |
r###""true""###, |
| 571 |
r###""{""###, |
| 572 |
r###""{}""###, |
| 573 |
r###""|""###, |
| 574 |
r###""||""###, |
| 575 |
r###""}""###, |
| 576 |
r###"r#"\"([^\"\\\\]*(\\\\\")?)*\""#"###, |
| 577 |
r###"r#"'([^'\\\\]*(\\\\')?)*'"#"###, |
| 578 |
r###"r#"[0-9]+"#"###, |
| 579 |
r###"r#"[0-9]+\\.[0-9]*"#"###, |
| 580 |
r###"r#"[a-zA-Z_][a-zA-Z0-9_]*"#"###, |
| 581 |
r###"r#"\\.[0-9]+"#"###, |
| 582 |
]; |
| 583 |
__TERMINAL.iter().enumerate().filter_map(|(index, terminal)| { |
| 584 |
let next_state = __action(__state, index); |
| 585 |
if next_state == 0 { |
| 586 |
None |
| 587 |
} else { |
| 588 |
Some(alloc::string::ToString::to_string(terminal)) |
| 589 |
} |
| 590 |
}).collect() |
| 591 |
} |
| 592 |
pub(crate) struct __StateMachine<'input> |
| 593 |
where |
| 594 |
{ |
| 595 |
input: &'input str, |
| 596 |
__phantom: core::marker::PhantomData<(&'input ())>, |
| 597 |
} |
| 598 |
impl<'input> __state_machine::ParserDefinition for __StateMachine<'input> |
| 599 |
where |
| 600 |
{ |
| 601 |
type Location = usize; |
| 602 |
type Error = &'static str; |
| 603 |
type Token = Token<'input>; |
| 604 |
type TokenIndex = usize; |
| 605 |
type Symbol = __Symbol<'input>; |
| 606 |
type Success = Box<Expression>; |
| 607 |
type StateIndex = i8; |
| 608 |
type Action = i8; |
| 609 |
type ReduceIndex = i8; |
| 610 |
type NonterminalIndex = usize; |
| 611 |
|
| 612 |
#[inline] |
| 613 |
fn start_location(&self) -> Self::Location { |
| 614 |
Default::default() |
| 615 |
} |
| 616 |
|
| 617 |
#[inline] |
| 618 |
fn start_state(&self) -> Self::StateIndex { |
| 619 |
0 |
| 620 |
} |
| 621 |
|
| 622 |
#[inline] |
| 623 |
fn token_to_index(&self, token: &Self::Token) -> Option<usize> { |
| 624 |
__token_to_integer(token, core::marker::PhantomData::<(&())>) |
| 625 |
} |
| 626 |
|
| 627 |
#[inline] |
| 628 |
fn action(&self, state: i8, integer: usize) -> i8 { |
| 629 |
__action(state, integer) |
| 630 |
} |
| 631 |
|
| 632 |
#[inline] |
| 633 |
fn error_action(&self, state: i8) -> i8 { |
| 634 |
__action(state, 39 - 1) |
| 635 |
} |
| 636 |
|
| 637 |
#[inline] |
| 638 |
fn eof_action(&self, state: i8) -> i8 { |
| 639 |
__EOF_ACTION[state as usize] |
| 640 |
} |
| 641 |
|
| 642 |
#[inline] |
| 643 |
fn goto(&self, state: i8, nt: usize) -> i8 { |
| 644 |
__goto(state, nt) |
| 645 |
} |
| 646 |
|
| 647 |
fn token_to_symbol(&self, token_index: usize, token: Self::Token) -> Self::Symbol { |
| 648 |
__token_to_symbol(token_index, token, core::marker::PhantomData::<(&())>) |
| 649 |
} |
| 650 |
|
| 651 |
fn expected_tokens(&self, state: i8) -> alloc::vec::Vec<alloc::string::String> { |
| 652 |
__expected_tokens(state) |
| 653 |
} |
| 654 |
|
| 655 |
#[inline] |
| 656 |
fn uses_error_recovery(&self) -> bool { |
| 657 |
false |
| 658 |
} |
| 659 |
|
| 660 |
#[inline] |
| 661 |
fn error_recovery_symbol( |
| 662 |
&self, |
| 663 |
recovery: __state_machine::ErrorRecovery<Self>, |
| 664 |
) -> Self::Symbol { |
| 665 |
panic!("error recovery not enabled for this grammar") |
| 666 |
} |
| 667 |
|
| 668 |
fn reduce( |
| 669 |
&mut self, |
| 670 |
action: i8, |
| 671 |
start_location: Option<&Self::Location>, |
| 672 |
states: &mut alloc::vec::Vec<i8>, |
| 673 |
symbols: &mut alloc::vec::Vec<__state_machine::SymbolTriple<Self>>, |
| 674 |
) -> Option<__state_machine::ParseResult<Self>> { |
| 675 |
__reduce( |
| 676 |
self.input, |
| 677 |
action, |
| 678 |
start_location, |
| 679 |
states, |
| 680 |
symbols, |
| 681 |
core::marker::PhantomData::<(&())>, |
| 682 |
) |
| 683 |
} |
| 684 |
|
| 685 |
fn simulate_reduce(&self, action: i8) -> __state_machine::SimulatedReduce<Self> { |
| 686 |
panic!("error recovery not enabled for this grammar") |
| 687 |
} |
| 688 |
} |
| 689 |
fn __token_to_integer< |
| 690 |
'input, |
| 691 |
>( |
| 692 |
__token: &Token<'input>, |
| 693 |
_: core::marker::PhantomData<(&'input ())>, |
| 694 |
) -> Option<usize> |
| 695 |
{ |
| 696 |
match *__token { |
| 697 |
Token(6, _) if true => Some(0), |
| 698 |
Token(7, _) if true => Some(1), |
| 699 |
Token(8, _) if true => Some(2), |
| 700 |
Token(9, _) if true => Some(3), |
| 701 |
Token(10, _) if true => Some(4), |
| 702 |
Token(11, _) if true => Some(5), |
| 703 |
Token(12, _) if true => Some(6), |
| 704 |
Token(13, _) if true => Some(7), |
| 705 |
Token(14, _) if true => Some(8), |
| 706 |
Token(15, _) if true => Some(9), |
| 707 |
Token(16, _) if true => Some(10), |
| 708 |
Token(17, _) if true => Some(11), |
| 709 |
Token(18, _) if true => Some(12), |
| 710 |
Token(19, _) if true => Some(13), |
| 711 |
Token(20, _) if true => Some(14), |
| 712 |
Token(21, _) if true => Some(15), |
| 713 |
Token(22, _) if true => Some(16), |
| 714 |
Token(23, _) if true => Some(17), |
| 715 |
Token(24, _) if true => Some(18), |
| 716 |
Token(25, _) if true => Some(19), |
| 717 |
Token(26, _) if true => Some(20), |
| 718 |
Token(27, _) if true => Some(21), |
| 719 |
Token(28, _) if true => Some(22), |
| 720 |
Token(29, _) if true => Some(23), |
| 721 |
Token(30, _) if true => Some(24), |
| 722 |
Token(31, _) if true => Some(25), |
| 723 |
Token(32, _) if true => Some(26), |
| 724 |
Token(33, _) if true => Some(27), |
| 725 |
Token(34, _) if true => Some(28), |
| 726 |
Token(35, _) if true => Some(29), |
| 727 |
Token(36, _) if true => Some(30), |
| 728 |
Token(37, _) if true => Some(31), |
| 729 |
Token(38, _) if true => Some(32), |
| 730 |
Token(0, _) if true => Some(33), |
| 731 |
Token(1, _) if true => Some(34), |
| 732 |
Token(2, _) if true => Some(35), |
| 733 |
Token(3, _) if true => Some(36), |
| 734 |
Token(4, _) if true => Some(37), |
| 735 |
Token(5, _) if true => Some(38), |
| 736 |
_ => None, |
| 737 |
} |
| 738 |
} |
| 739 |
fn __token_to_symbol< |
| 740 |
'input, |
| 741 |
>( |
| 742 |
__token_index: usize, |
| 743 |
__token: Token<'input>, |
| 744 |
_: core::marker::PhantomData<(&'input ())>, |
| 745 |
) -> __Symbol<'input> |
| 746 |
{ |
| 747 |
match __token_index { |
| 748 |
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 => match __token { |
| 749 |
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(0, __tok0) | Token(1, __tok0) | Token(2, __tok0) | Token(3, __tok0) | Token(4, __tok0) | Token(5, __tok0) if true => __Symbol::Variant0(__tok0), |
| 750 |
_ => unreachable!(), |
| 751 |
}, |
| 752 |
_ => unreachable!(), |
| 753 |
} |
| 754 |
} |
| 755 |
pub struct ExpressionParser { |
| 756 |
builder: __lalrpop_util::lexer::MatcherBuilder, |
| 757 |
_priv: (), |
| 758 |
} |
| 759 |
|
| 760 |
impl ExpressionParser { |
| 761 |
pub fn new() -> ExpressionParser { |
| 762 |
let __builder = super::__intern_token::new_builder(); |
| 763 |
ExpressionParser { |
| 764 |
builder: __builder, |
| 765 |
_priv: (), |
| 766 |
} |
| 767 |
} |
| 768 |
|
| 769 |
#[allow(dead_code)] |
| 770 |
pub fn parse< |
| 771 |
'input, |
| 772 |
>( |
| 773 |
&self, |
| 774 |
input: &'input str, |
| 775 |
) -> Result<Box<Expression>, __lalrpop_util::ParseError<usize, Token<'input>, &'static str>> |
| 776 |
{ |
| 777 |
let mut __tokens = self.builder.matcher(input); |
| 778 |
__state_machine::Parser::drive( |
| 779 |
__StateMachine { |
| 780 |
input, |
| 781 |
__phantom: core::marker::PhantomData::<(&())>, |
| 782 |
}, |
| 783 |
__tokens, |
| 784 |
) |
| 785 |
} |
| 786 |
} |
| 787 |
pub(crate) fn __reduce< |
| 788 |
'input, |
| 789 |
>( |
| 790 |
input: &'input str, |
| 791 |
__action: i8, |
| 792 |
__lookahead_start: Option<&usize>, |
| 793 |
__states: &mut alloc::vec::Vec<i8>, |
| 794 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 795 |
_: core::marker::PhantomData<(&'input ())>, |
| 796 |
) -> Option<Result<Box<Expression>,__lalrpop_util::ParseError<usize, Token<'input>, &'static str>>> |
| 797 |
{ |
| 798 |
let (__pop_states, __nonterminal) = match __action { |
| 799 |
0 => { |
| 800 |
__reduce0(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 801 |
} |
| 802 |
1 => { |
| 803 |
__reduce1(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 804 |
} |
| 805 |
2 => { |
| 806 |
__reduce2(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 807 |
} |
| 808 |
3 => { |
| 809 |
__reduce3(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 810 |
} |
| 811 |
4 => { |
| 812 |
__reduce4(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 813 |
} |
| 814 |
5 => { |
| 815 |
__reduce5(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 816 |
} |
| 817 |
6 => { |
| 818 |
__reduce6(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 819 |
} |
| 820 |
7 => { |
| 821 |
__reduce7(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 822 |
} |
| 823 |
8 => { |
| 824 |
__reduce8(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 825 |
} |
| 826 |
9 => { |
| 827 |
__reduce9(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 828 |
} |
| 829 |
10 => { |
| 830 |
__reduce10(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 831 |
} |
| 832 |
11 => { |
| 833 |
__reduce11(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 834 |
} |
| 835 |
12 => { |
| 836 |
__reduce12(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 837 |
} |
| 838 |
13 => { |
| 839 |
__reduce13(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 840 |
} |
| 841 |
14 => { |
| 842 |
__reduce14(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 843 |
} |
| 844 |
15 => { |
| 845 |
__reduce15(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 846 |
} |
| 847 |
16 => { |
| 848 |
__reduce16(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 849 |
} |
| 850 |
17 => { |
| 851 |
__reduce17(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 852 |
} |
| 853 |
18 => { |
| 854 |
__reduce18(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 855 |
} |
| 856 |
19 => { |
| 857 |
__reduce19(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 858 |
} |
| 859 |
20 => { |
| 860 |
__reduce20(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 861 |
} |
| 862 |
21 => { |
| 863 |
__reduce21(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 864 |
} |
| 865 |
22 => { |
| 866 |
__reduce22(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 867 |
} |
| 868 |
23 => { |
| 869 |
__reduce23(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 870 |
} |
| 871 |
24 => { |
| 872 |
__reduce24(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 873 |
} |
| 874 |
25 => { |
| 875 |
__reduce25(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 876 |
} |
| 877 |
26 => { |
| 878 |
__reduce26(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 879 |
} |
| 880 |
27 => { |
| 881 |
__reduce27(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 882 |
} |
| 883 |
28 => { |
| 884 |
__reduce28(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 885 |
} |
| 886 |
29 => { |
| 887 |
__reduce29(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 888 |
} |
| 889 |
30 => { |
| 890 |
__reduce30(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 891 |
} |
| 892 |
31 => { |
| 893 |
__reduce31(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 894 |
} |
| 895 |
32 => { |
| 896 |
__reduce32(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 897 |
} |
| 898 |
33 => { |
| 899 |
__reduce33(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 900 |
} |
| 901 |
34 => { |
| 902 |
__reduce34(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 903 |
} |
| 904 |
35 => { |
| 905 |
__reduce35(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 906 |
} |
| 907 |
36 => { |
| 908 |
__reduce36(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 909 |
} |
| 910 |
37 => { |
| 911 |
__reduce37(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 912 |
} |
| 913 |
38 => { |
| 914 |
__reduce38(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 915 |
} |
| 916 |
39 => { |
| 917 |
__reduce39(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 918 |
} |
| 919 |
40 => { |
| 920 |
__reduce40(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 921 |
} |
| 922 |
41 => { |
| 923 |
__reduce41(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 924 |
} |
| 925 |
42 => { |
| 926 |
__reduce42(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 927 |
} |
| 928 |
43 => { |
| 929 |
__reduce43(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 930 |
} |
| 931 |
44 => { |
| 932 |
__reduce44(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 933 |
} |
| 934 |
45 => { |
| 935 |
__reduce45(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 936 |
} |
| 937 |
46 => { |
| 938 |
__reduce46(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 939 |
} |
| 940 |
47 => { |
| 941 |
__reduce47(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 942 |
} |
| 943 |
48 => { |
| 944 |
__reduce48(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 945 |
} |
| 946 |
49 => { |
| 947 |
__reduce49(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 948 |
} |
| 949 |
50 => { |
| 950 |
__reduce50(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 951 |
} |
| 952 |
51 => { |
| 953 |
__reduce51(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 954 |
} |
| 955 |
52 => { |
| 956 |
__reduce52(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 957 |
} |
| 958 |
53 => { |
| 959 |
__reduce53(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 960 |
} |
| 961 |
54 => { |
| 962 |
__reduce54(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 963 |
} |
| 964 |
55 => { |
| 965 |
__reduce55(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 966 |
} |
| 967 |
56 => { |
| 968 |
__reduce56(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 969 |
} |
| 970 |
57 => { |
| 971 |
__reduce57(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 972 |
} |
| 973 |
58 => { |
| 974 |
__reduce58(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 975 |
} |
| 976 |
59 => { |
| 977 |
__reduce59(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 978 |
} |
| 979 |
60 => { |
| 980 |
__reduce60(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 981 |
} |
| 982 |
61 => { |
| 983 |
__reduce61(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 984 |
} |
| 985 |
62 => { |
| 986 |
__reduce62(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 987 |
} |
| 988 |
63 => { |
| 989 |
__reduce63(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 990 |
} |
| 991 |
64 => { |
| 992 |
__reduce64(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 993 |
} |
| 994 |
65 => { |
| 995 |
__reduce65(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 996 |
} |
| 997 |
66 => { |
| 998 |
__reduce66(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 999 |
} |
| 1000 |
67 => { |
| 1001 |
__reduce67(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1002 |
} |
| 1003 |
68 => { |
| 1004 |
__reduce68(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1005 |
} |
| 1006 |
69 => { |
| 1007 |
__reduce69(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1008 |
} |
| 1009 |
70 => { |
| 1010 |
__reduce70(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1011 |
} |
| 1012 |
71 => { |
| 1013 |
__reduce71(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1014 |
} |
| 1015 |
72 => { |
| 1016 |
__reduce72(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1017 |
} |
| 1018 |
73 => { |
| 1019 |
__reduce73(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1020 |
} |
| 1021 |
74 => { |
| 1022 |
__reduce74(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1023 |
} |
| 1024 |
75 => { |
| 1025 |
__reduce75(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1026 |
} |
| 1027 |
76 => { |
| 1028 |
__reduce76(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1029 |
} |
| 1030 |
77 => { |
| 1031 |
__reduce77(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1032 |
} |
| 1033 |
78 => { |
| 1034 |
__reduce78(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1035 |
} |
| 1036 |
79 => { |
| 1037 |
__reduce79(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1038 |
} |
| 1039 |
80 => { |
| 1040 |
__reduce80(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1041 |
} |
| 1042 |
81 => { |
| 1043 |
__reduce81(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1044 |
} |
| 1045 |
82 => { |
| 1046 |
__reduce82(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1047 |
} |
| 1048 |
83 => { |
| 1049 |
__reduce83(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1050 |
} |
| 1051 |
84 => { |
| 1052 |
__reduce84(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1053 |
} |
| 1054 |
85 => { |
| 1055 |
__reduce85(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1056 |
} |
| 1057 |
86 => { |
| 1058 |
__reduce86(input, __lookahead_start, __symbols, core::marker::PhantomData::<(&())>) |
| 1059 |
} |
| 1060 |
87 => { |
| 1061 |
// __Expression = Expression => ActionFn(0); |
| 1062 |
let __sym0 = __pop_Variant3(__symbols); |
| 1063 |
let __start = __sym0.0.clone(); |
| 1064 |
let __end = __sym0.2.clone(); |
| 1065 |
let __nt = super::__action0::<>(input, __sym0); |
| 1066 |
return Some(Ok(__nt)); |
| 1067 |
} |
| 1068 |
_ => panic!("invalid action code {}", __action) |
| 1069 |
}; |
| 1070 |
let __states_len = __states.len(); |
| 1071 |
__states.truncate(__states_len - __pop_states); |
| 1072 |
let __state = *__states.last().unwrap(); |
| 1073 |
let __next_state = __goto(__state, __nonterminal); |
| 1074 |
__states.push(__next_state); |
| 1075 |
None |
| 1076 |
} |
| 1077 |
#[inline(never)] |
| 1078 |
fn __symbol_type_mismatch() -> ! { |
| 1079 |
panic!("symbol type mismatch") |
| 1080 |
} |
| 1081 |
fn __pop_Variant1< |
| 1082 |
'input, |
| 1083 |
>( |
| 1084 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1085 |
) -> (usize, (String, Box<Expression>), usize) |
| 1086 |
{ |
| 1087 |
match __symbols.pop() { |
| 1088 |
Some((__l, __Symbol::Variant1(__v), __r)) => (__l, __v, __r), |
| 1089 |
_ => __symbol_type_mismatch() |
| 1090 |
} |
| 1091 |
} |
| 1092 |
fn __pop_Variant3< |
| 1093 |
'input, |
| 1094 |
>( |
| 1095 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1096 |
) -> (usize, Box<Expression>, usize) |
| 1097 |
{ |
| 1098 |
match __symbols.pop() { |
| 1099 |
Some((__l, __Symbol::Variant3(__v), __r)) => (__l, __v, __r), |
| 1100 |
_ => __symbol_type_mismatch() |
| 1101 |
} |
| 1102 |
} |
| 1103 |
fn __pop_Variant14< |
| 1104 |
'input, |
| 1105 |
>( |
| 1106 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1107 |
) -> (usize, OpCode, usize) |
| 1108 |
{ |
| 1109 |
match __symbols.pop() { |
| 1110 |
Some((__l, __Symbol::Variant14(__v), __r)) => (__l, __v, __r), |
| 1111 |
_ => __symbol_type_mismatch() |
| 1112 |
} |
| 1113 |
} |
| 1114 |
fn __pop_Variant12< |
| 1115 |
'input, |
| 1116 |
>( |
| 1117 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1118 |
) -> (usize, Option<Box<Expression>>, usize) |
| 1119 |
{ |
| 1120 |
match __symbols.pop() { |
| 1121 |
Some((__l, __Symbol::Variant12(__v), __r)) => (__l, __v, __r), |
| 1122 |
_ => __symbol_type_mismatch() |
| 1123 |
} |
| 1124 |
} |
| 1125 |
fn __pop_Variant11< |
| 1126 |
'input, |
| 1127 |
>( |
| 1128 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1129 |
) -> (usize, String, usize) |
| 1130 |
{ |
| 1131 |
match __symbols.pop() { |
| 1132 |
Some((__l, __Symbol::Variant11(__v), __r)) => (__l, __v, __r), |
| 1133 |
_ => __symbol_type_mismatch() |
| 1134 |
} |
| 1135 |
} |
| 1136 |
fn __pop_Variant9< |
| 1137 |
'input, |
| 1138 |
>( |
| 1139 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1140 |
) -> (usize, Vec<(String, Box<Expression>)>, usize) |
| 1141 |
{ |
| 1142 |
match __symbols.pop() { |
| 1143 |
Some((__l, __Symbol::Variant9(__v), __r)) => (__l, __v, __r), |
| 1144 |
_ => __symbol_type_mismatch() |
| 1145 |
} |
| 1146 |
} |
| 1147 |
fn __pop_Variant6< |
| 1148 |
'input, |
| 1149 |
>( |
| 1150 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1151 |
) -> (usize, Vec<Box<Expression>>, usize) |
| 1152 |
{ |
| 1153 |
match __symbols.pop() { |
| 1154 |
Some((__l, __Symbol::Variant6(__v), __r)) => (__l, __v, __r), |
| 1155 |
_ => __symbol_type_mismatch() |
| 1156 |
} |
| 1157 |
} |
| 1158 |
fn __pop_Variant2< |
| 1159 |
'input, |
| 1160 |
>( |
| 1161 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1162 |
) -> (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize) |
| 1163 |
{ |
| 1164 |
match __symbols.pop() { |
| 1165 |
Some((__l, __Symbol::Variant2(__v), __r)) => (__l, __v, __r), |
| 1166 |
_ => __symbol_type_mismatch() |
| 1167 |
} |
| 1168 |
} |
| 1169 |
fn __pop_Variant4< |
| 1170 |
'input, |
| 1171 |
>( |
| 1172 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1173 |
) -> (usize, alloc::vec::Vec<Box<Expression>>, usize) |
| 1174 |
{ |
| 1175 |
match __symbols.pop() { |
| 1176 |
Some((__l, __Symbol::Variant4(__v), __r)) => (__l, __v, __r), |
| 1177 |
_ => __symbol_type_mismatch() |
| 1178 |
} |
| 1179 |
} |
| 1180 |
fn __pop_Variant8< |
| 1181 |
'input, |
| 1182 |
>( |
| 1183 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1184 |
) -> (usize, bool, usize) |
| 1185 |
{ |
| 1186 |
match __symbols.pop() { |
| 1187 |
Some((__l, __Symbol::Variant8(__v), __r)) => (__l, __v, __r), |
| 1188 |
_ => __symbol_type_mismatch() |
| 1189 |
} |
| 1190 |
} |
| 1191 |
fn __pop_Variant5< |
| 1192 |
'input, |
| 1193 |
>( |
| 1194 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1195 |
) -> (usize, core::option::Option<(String, Box<Expression>)>, usize) |
| 1196 |
{ |
| 1197 |
match __symbols.pop() { |
| 1198 |
Some((__l, __Symbol::Variant5(__v), __r)) => (__l, __v, __r), |
| 1199 |
_ => __symbol_type_mismatch() |
| 1200 |
} |
| 1201 |
} |
| 1202 |
fn __pop_Variant10< |
| 1203 |
'input, |
| 1204 |
>( |
| 1205 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1206 |
) -> (usize, core::option::Option<Box<Expression>>, usize) |
| 1207 |
{ |
| 1208 |
match __symbols.pop() { |
| 1209 |
Some((__l, __Symbol::Variant10(__v), __r)) => (__l, __v, __r), |
| 1210 |
_ => __symbol_type_mismatch() |
| 1211 |
} |
| 1212 |
} |
| 1213 |
fn __pop_Variant7< |
| 1214 |
'input, |
| 1215 |
>( |
| 1216 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1217 |
) -> (usize, core::option::Option<Vec<Box<Expression>>>, usize) |
| 1218 |
{ |
| 1219 |
match __symbols.pop() { |
| 1220 |
Some((__l, __Symbol::Variant7(__v), __r)) => (__l, __v, __r), |
| 1221 |
_ => __symbol_type_mismatch() |
| 1222 |
} |
| 1223 |
} |
| 1224 |
fn __pop_Variant13< |
| 1225 |
'input, |
| 1226 |
>( |
| 1227 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1228 |
) -> (usize, f64, usize) |
| 1229 |
{ |
| 1230 |
match __symbols.pop() { |
| 1231 |
Some((__l, __Symbol::Variant13(__v), __r)) => (__l, __v, __r), |
| 1232 |
_ => __symbol_type_mismatch() |
| 1233 |
} |
| 1234 |
} |
| 1235 |
fn __pop_Variant0< |
| 1236 |
'input, |
| 1237 |
>( |
| 1238 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)> |
| 1239 |
) -> (usize, &'input str, usize) |
| 1240 |
{ |
| 1241 |
match __symbols.pop() { |
| 1242 |
Some((__l, __Symbol::Variant0(__v), __r)) => (__l, __v, __r), |
| 1243 |
_ => __symbol_type_mismatch() |
| 1244 |
} |
| 1245 |
} |
| 1246 |
pub(crate) fn __reduce0< |
| 1247 |
'input, |
| 1248 |
>( |
| 1249 |
input: &'input str, |
| 1250 |
__lookahead_start: Option<&usize>, |
| 1251 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1252 |
_: core::marker::PhantomData<(&'input ())>, |
| 1253 |
) -> (usize, usize) |
| 1254 |
{ |
| 1255 |
// (<(<ObjectIdentifier> ":" <Expression>)> ",") = ObjectIdentifier, ":", Expression, "," => ActionFn(81); |
| 1256 |
assert!(__symbols.len() >= 4); |
| 1257 |
let __sym3 = __pop_Variant0(__symbols); |
| 1258 |
let __sym2 = __pop_Variant3(__symbols); |
| 1259 |
let __sym1 = __pop_Variant0(__symbols); |
| 1260 |
let __sym0 = __pop_Variant11(__symbols); |
| 1261 |
let __start = __sym0.0.clone(); |
| 1262 |
let __end = __sym3.2.clone(); |
| 1263 |
let __nt = super::__action81::<>(input, __sym0, __sym1, __sym2, __sym3); |
| 1264 |
__symbols.push((__start, __Symbol::Variant1(__nt), __end)); |
| 1265 |
(4, 0) |
| 1266 |
} |
| 1267 |
pub(crate) fn __reduce1< |
| 1268 |
'input, |
| 1269 |
>( |
| 1270 |
input: &'input str, |
| 1271 |
__lookahead_start: Option<&usize>, |
| 1272 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1273 |
_: core::marker::PhantomData<(&'input ())>, |
| 1274 |
) -> (usize, usize) |
| 1275 |
{ |
| 1276 |
// (<(<ObjectIdentifier> ":" <Expression>)> ",")* = => ActionFn(74); |
| 1277 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1278 |
let __end = __start.clone(); |
| 1279 |
let __nt = super::__action74::<>(input, &__start, &__end); |
| 1280 |
__symbols.push((__start, __Symbol::Variant2(__nt), __end)); |
| 1281 |
(0, 1) |
| 1282 |
} |
| 1283 |
pub(crate) fn __reduce2< |
| 1284 |
'input, |
| 1285 |
>( |
| 1286 |
input: &'input str, |
| 1287 |
__lookahead_start: Option<&usize>, |
| 1288 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1289 |
_: core::marker::PhantomData<(&'input ())>, |
| 1290 |
) -> (usize, usize) |
| 1291 |
{ |
| 1292 |
// (<(<ObjectIdentifier> ":" <Expression>)> ",")* = (<(<ObjectIdentifier> ":" <Expression>)> ",")+ => ActionFn(75); |
| 1293 |
let __sym0 = __pop_Variant2(__symbols); |
| 1294 |
let __start = __sym0.0.clone(); |
| 1295 |
let __end = __sym0.2.clone(); |
| 1296 |
let __nt = super::__action75::<>(input, __sym0); |
| 1297 |
__symbols.push((__start, __Symbol::Variant2(__nt), __end)); |
| 1298 |
(1, 1) |
| 1299 |
} |
| 1300 |
pub(crate) fn __reduce3< |
| 1301 |
'input, |
| 1302 |
>( |
| 1303 |
input: &'input str, |
| 1304 |
__lookahead_start: Option<&usize>, |
| 1305 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1306 |
_: core::marker::PhantomData<(&'input ())>, |
| 1307 |
) -> (usize, usize) |
| 1308 |
{ |
| 1309 |
// (<(<ObjectIdentifier> ":" <Expression>)> ",")+ = ObjectIdentifier, ":", Expression, "," => ActionFn(83); |
| 1310 |
assert!(__symbols.len() >= 4); |
| 1311 |
let __sym3 = __pop_Variant0(__symbols); |
| 1312 |
let __sym2 = __pop_Variant3(__symbols); |
| 1313 |
let __sym1 = __pop_Variant0(__symbols); |
| 1314 |
let __sym0 = __pop_Variant11(__symbols); |
| 1315 |
let __start = __sym0.0.clone(); |
| 1316 |
let __end = __sym3.2.clone(); |
| 1317 |
let __nt = super::__action83::<>(input, __sym0, __sym1, __sym2, __sym3); |
| 1318 |
__symbols.push((__start, __Symbol::Variant2(__nt), __end)); |
| 1319 |
(4, 2) |
| 1320 |
} |
| 1321 |
pub(crate) fn __reduce4< |
| 1322 |
'input, |
| 1323 |
>( |
| 1324 |
input: &'input str, |
| 1325 |
__lookahead_start: Option<&usize>, |
| 1326 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1327 |
_: core::marker::PhantomData<(&'input ())>, |
| 1328 |
) -> (usize, usize) |
| 1329 |
{ |
| 1330 |
// (<(<ObjectIdentifier> ":" <Expression>)> ",")+ = (<(<ObjectIdentifier> ":" <Expression>)> ",")+, ObjectIdentifier, ":", Expression, "," => ActionFn(84); |
| 1331 |
assert!(__symbols.len() >= 5); |
| 1332 |
let __sym4 = __pop_Variant0(__symbols); |
| 1333 |
let __sym3 = __pop_Variant3(__symbols); |
| 1334 |
let __sym2 = __pop_Variant0(__symbols); |
| 1335 |
let __sym1 = __pop_Variant11(__symbols); |
| 1336 |
let __sym0 = __pop_Variant2(__symbols); |
| 1337 |
let __start = __sym0.0.clone(); |
| 1338 |
let __end = __sym4.2.clone(); |
| 1339 |
let __nt = super::__action84::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4); |
| 1340 |
__symbols.push((__start, __Symbol::Variant2(__nt), __end)); |
| 1341 |
(5, 2) |
| 1342 |
} |
| 1343 |
pub(crate) fn __reduce5< |
| 1344 |
'input, |
| 1345 |
>( |
| 1346 |
input: &'input str, |
| 1347 |
__lookahead_start: Option<&usize>, |
| 1348 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1349 |
_: core::marker::PhantomData<(&'input ())>, |
| 1350 |
) -> (usize, usize) |
| 1351 |
{ |
| 1352 |
// (<Expression> ",") = Expression, "," => ActionFn(71); |
| 1353 |
assert!(__symbols.len() >= 2); |
| 1354 |
let __sym1 = __pop_Variant0(__symbols); |
| 1355 |
let __sym0 = __pop_Variant3(__symbols); |
| 1356 |
let __start = __sym0.0.clone(); |
| 1357 |
let __end = __sym1.2.clone(); |
| 1358 |
let __nt = super::__action71::<>(input, __sym0, __sym1); |
| 1359 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1360 |
(2, 3) |
| 1361 |
} |
| 1362 |
pub(crate) fn __reduce6< |
| 1363 |
'input, |
| 1364 |
>( |
| 1365 |
input: &'input str, |
| 1366 |
__lookahead_start: Option<&usize>, |
| 1367 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1368 |
_: core::marker::PhantomData<(&'input ())>, |
| 1369 |
) -> (usize, usize) |
| 1370 |
{ |
| 1371 |
// (<Expression> ",")* = => ActionFn(69); |
| 1372 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1373 |
let __end = __start.clone(); |
| 1374 |
let __nt = super::__action69::<>(input, &__start, &__end); |
| 1375 |
__symbols.push((__start, __Symbol::Variant4(__nt), __end)); |
| 1376 |
(0, 4) |
| 1377 |
} |
| 1378 |
pub(crate) fn __reduce7< |
| 1379 |
'input, |
| 1380 |
>( |
| 1381 |
input: &'input str, |
| 1382 |
__lookahead_start: Option<&usize>, |
| 1383 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1384 |
_: core::marker::PhantomData<(&'input ())>, |
| 1385 |
) -> (usize, usize) |
| 1386 |
{ |
| 1387 |
// (<Expression> ",")* = (<Expression> ",")+ => ActionFn(70); |
| 1388 |
let __sym0 = __pop_Variant4(__symbols); |
| 1389 |
let __start = __sym0.0.clone(); |
| 1390 |
let __end = __sym0.2.clone(); |
| 1391 |
let __nt = super::__action70::<>(input, __sym0); |
| 1392 |
__symbols.push((__start, __Symbol::Variant4(__nt), __end)); |
| 1393 |
(1, 4) |
| 1394 |
} |
| 1395 |
pub(crate) fn __reduce8< |
| 1396 |
'input, |
| 1397 |
>( |
| 1398 |
input: &'input str, |
| 1399 |
__lookahead_start: Option<&usize>, |
| 1400 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1401 |
_: core::marker::PhantomData<(&'input ())>, |
| 1402 |
) -> (usize, usize) |
| 1403 |
{ |
| 1404 |
// (<Expression> ",")+ = Expression, "," => ActionFn(87); |
| 1405 |
assert!(__symbols.len() >= 2); |
| 1406 |
let __sym1 = __pop_Variant0(__symbols); |
| 1407 |
let __sym0 = __pop_Variant3(__symbols); |
| 1408 |
let __start = __sym0.0.clone(); |
| 1409 |
let __end = __sym1.2.clone(); |
| 1410 |
let __nt = super::__action87::<>(input, __sym0, __sym1); |
| 1411 |
__symbols.push((__start, __Symbol::Variant4(__nt), __end)); |
| 1412 |
(2, 5) |
| 1413 |
} |
| 1414 |
pub(crate) fn __reduce9< |
| 1415 |
'input, |
| 1416 |
>( |
| 1417 |
input: &'input str, |
| 1418 |
__lookahead_start: Option<&usize>, |
| 1419 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1420 |
_: core::marker::PhantomData<(&'input ())>, |
| 1421 |
) -> (usize, usize) |
| 1422 |
{ |
| 1423 |
// (<Expression> ",")+ = (<Expression> ",")+, Expression, "," => ActionFn(88); |
| 1424 |
assert!(__symbols.len() >= 3); |
| 1425 |
let __sym2 = __pop_Variant0(__symbols); |
| 1426 |
let __sym1 = __pop_Variant3(__symbols); |
| 1427 |
let __sym0 = __pop_Variant4(__symbols); |
| 1428 |
let __start = __sym0.0.clone(); |
| 1429 |
let __end = __sym2.2.clone(); |
| 1430 |
let __nt = super::__action88::<>(input, __sym0, __sym1, __sym2); |
| 1431 |
__symbols.push((__start, __Symbol::Variant4(__nt), __end)); |
| 1432 |
(3, 5) |
| 1433 |
} |
| 1434 |
pub(crate) fn __reduce10< |
| 1435 |
'input, |
| 1436 |
>( |
| 1437 |
input: &'input str, |
| 1438 |
__lookahead_start: Option<&usize>, |
| 1439 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1440 |
_: core::marker::PhantomData<(&'input ())>, |
| 1441 |
) -> (usize, usize) |
| 1442 |
{ |
| 1443 |
// (<ObjectIdentifier> ":" <Expression>) = ObjectIdentifier, ":", Expression => ActionFn(63); |
| 1444 |
assert!(__symbols.len() >= 3); |
| 1445 |
let __sym2 = __pop_Variant3(__symbols); |
| 1446 |
let __sym1 = __pop_Variant0(__symbols); |
| 1447 |
let __sym0 = __pop_Variant11(__symbols); |
| 1448 |
let __start = __sym0.0.clone(); |
| 1449 |
let __end = __sym2.2.clone(); |
| 1450 |
let __nt = super::__action63::<>(input, __sym0, __sym1, __sym2); |
| 1451 |
__symbols.push((__start, __Symbol::Variant1(__nt), __end)); |
| 1452 |
(3, 6) |
| 1453 |
} |
| 1454 |
pub(crate) fn __reduce11< |
| 1455 |
'input, |
| 1456 |
>( |
| 1457 |
input: &'input str, |
| 1458 |
__lookahead_start: Option<&usize>, |
| 1459 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1460 |
_: core::marker::PhantomData<(&'input ())>, |
| 1461 |
) -> (usize, usize) |
| 1462 |
{ |
| 1463 |
// (<ObjectIdentifier> ":" <Expression>)? = ObjectIdentifier, ":", Expression => ActionFn(82); |
| 1464 |
assert!(__symbols.len() >= 3); |
| 1465 |
let __sym2 = __pop_Variant3(__symbols); |
| 1466 |
let __sym1 = __pop_Variant0(__symbols); |
| 1467 |
let __sym0 = __pop_Variant11(__symbols); |
| 1468 |
let __start = __sym0.0.clone(); |
| 1469 |
let __end = __sym2.2.clone(); |
| 1470 |
let __nt = super::__action82::<>(input, __sym0, __sym1, __sym2); |
| 1471 |
__symbols.push((__start, __Symbol::Variant5(__nt), __end)); |
| 1472 |
(3, 7) |
| 1473 |
} |
| 1474 |
pub(crate) fn __reduce12< |
| 1475 |
'input, |
| 1476 |
>( |
| 1477 |
input: &'input str, |
| 1478 |
__lookahead_start: Option<&usize>, |
| 1479 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1480 |
_: core::marker::PhantomData<(&'input ())>, |
| 1481 |
) -> (usize, usize) |
| 1482 |
{ |
| 1483 |
// (<ObjectIdentifier> ":" <Expression>)? = => ActionFn(73); |
| 1484 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1485 |
let __end = __start.clone(); |
| 1486 |
let __nt = super::__action73::<>(input, &__start, &__end); |
| 1487 |
__symbols.push((__start, __Symbol::Variant5(__nt), __end)); |
| 1488 |
(0, 7) |
| 1489 |
} |
| 1490 |
pub(crate) fn __reduce13< |
| 1491 |
'input, |
| 1492 |
>( |
| 1493 |
input: &'input str, |
| 1494 |
__lookahead_start: Option<&usize>, |
| 1495 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1496 |
_: core::marker::PhantomData<(&'input ())>, |
| 1497 |
) -> (usize, usize) |
| 1498 |
{ |
| 1499 |
// Args = "(", Comma<Expression>, ")" => ActionFn(27); |
| 1500 |
assert!(__symbols.len() >= 3); |
| 1501 |
let __sym2 = __pop_Variant0(__symbols); |
| 1502 |
let __sym1 = __pop_Variant6(__symbols); |
| 1503 |
let __sym0 = __pop_Variant0(__symbols); |
| 1504 |
let __start = __sym0.0.clone(); |
| 1505 |
let __end = __sym2.2.clone(); |
| 1506 |
let __nt = super::__action27::<>(input, __sym0, __sym1, __sym2); |
| 1507 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1508 |
(3, 8) |
| 1509 |
} |
| 1510 |
pub(crate) fn __reduce14< |
| 1511 |
'input, |
| 1512 |
>( |
| 1513 |
input: &'input str, |
| 1514 |
__lookahead_start: Option<&usize>, |
| 1515 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1516 |
_: core::marker::PhantomData<(&'input ())>, |
| 1517 |
) -> (usize, usize) |
| 1518 |
{ |
| 1519 |
// Args? = Args => ActionFn(65); |
| 1520 |
let __sym0 = __pop_Variant6(__symbols); |
| 1521 |
let __start = __sym0.0.clone(); |
| 1522 |
let __end = __sym0.2.clone(); |
| 1523 |
let __nt = super::__action65::<>(input, __sym0); |
| 1524 |
__symbols.push((__start, __Symbol::Variant7(__nt), __end)); |
| 1525 |
(1, 9) |
| 1526 |
} |
| 1527 |
pub(crate) fn __reduce15< |
| 1528 |
'input, |
| 1529 |
>( |
| 1530 |
input: &'input str, |
| 1531 |
__lookahead_start: Option<&usize>, |
| 1532 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1533 |
_: core::marker::PhantomData<(&'input ())>, |
| 1534 |
) -> (usize, usize) |
| 1535 |
{ |
| 1536 |
// Args? = => ActionFn(66); |
| 1537 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1538 |
let __end = __start.clone(); |
| 1539 |
let __nt = super::__action66::<>(input, &__start, &__end); |
| 1540 |
__symbols.push((__start, __Symbol::Variant7(__nt), __end)); |
| 1541 |
(0, 9) |
| 1542 |
} |
| 1543 |
pub(crate) fn __reduce16< |
| 1544 |
'input, |
| 1545 |
>( |
| 1546 |
input: &'input str, |
| 1547 |
__lookahead_start: Option<&usize>, |
| 1548 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1549 |
_: core::marker::PhantomData<(&'input ())>, |
| 1550 |
) -> (usize, usize) |
| 1551 |
{ |
| 1552 |
// Array = "[", Comma<Expression>, "]" => ActionFn(57); |
| 1553 |
assert!(__symbols.len() >= 3); |
| 1554 |
let __sym2 = __pop_Variant0(__symbols); |
| 1555 |
let __sym1 = __pop_Variant6(__symbols); |
| 1556 |
let __sym0 = __pop_Variant0(__symbols); |
| 1557 |
let __start = __sym0.0.clone(); |
| 1558 |
let __end = __sym2.2.clone(); |
| 1559 |
let __nt = super::__action57::<>(input, __sym0, __sym1, __sym2); |
| 1560 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1561 |
(3, 10) |
| 1562 |
} |
| 1563 |
pub(crate) fn __reduce17< |
| 1564 |
'input, |
| 1565 |
>( |
| 1566 |
input: &'input str, |
| 1567 |
__lookahead_start: Option<&usize>, |
| 1568 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1569 |
_: core::marker::PhantomData<(&'input ())>, |
| 1570 |
) -> (usize, usize) |
| 1571 |
{ |
| 1572 |
// Boolean = "true" => ActionFn(55); |
| 1573 |
let __sym0 = __pop_Variant0(__symbols); |
| 1574 |
let __start = __sym0.0.clone(); |
| 1575 |
let __end = __sym0.2.clone(); |
| 1576 |
let __nt = super::__action55::<>(input, __sym0); |
| 1577 |
__symbols.push((__start, __Symbol::Variant8(__nt), __end)); |
| 1578 |
(1, 11) |
| 1579 |
} |
| 1580 |
pub(crate) fn __reduce18< |
| 1581 |
'input, |
| 1582 |
>( |
| 1583 |
input: &'input str, |
| 1584 |
__lookahead_start: Option<&usize>, |
| 1585 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1586 |
_: core::marker::PhantomData<(&'input ())>, |
| 1587 |
) -> (usize, usize) |
| 1588 |
{ |
| 1589 |
// Boolean = "false" => ActionFn(56); |
| 1590 |
let __sym0 = __pop_Variant0(__symbols); |
| 1591 |
let __start = __sym0.0.clone(); |
| 1592 |
let __end = __sym0.2.clone(); |
| 1593 |
let __nt = super::__action56::<>(input, __sym0); |
| 1594 |
__symbols.push((__start, __Symbol::Variant8(__nt), __end)); |
| 1595 |
(1, 11) |
| 1596 |
} |
| 1597 |
pub(crate) fn __reduce19< |
| 1598 |
'input, |
| 1599 |
>( |
| 1600 |
input: &'input str, |
| 1601 |
__lookahead_start: Option<&usize>, |
| 1602 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1603 |
_: core::marker::PhantomData<(&'input ())>, |
| 1604 |
) -> (usize, usize) |
| 1605 |
{ |
| 1606 |
// Comma<(<ObjectIdentifier> ":" <Expression>)> = ObjectIdentifier, ":", Expression => ActionFn(91); |
| 1607 |
assert!(__symbols.len() >= 3); |
| 1608 |
let __sym2 = __pop_Variant3(__symbols); |
| 1609 |
let __sym1 = __pop_Variant0(__symbols); |
| 1610 |
let __sym0 = __pop_Variant11(__symbols); |
| 1611 |
let __start = __sym0.0.clone(); |
| 1612 |
let __end = __sym2.2.clone(); |
| 1613 |
let __nt = super::__action91::<>(input, __sym0, __sym1, __sym2); |
| 1614 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 1615 |
(3, 12) |
| 1616 |
} |
| 1617 |
pub(crate) fn __reduce20< |
| 1618 |
'input, |
| 1619 |
>( |
| 1620 |
input: &'input str, |
| 1621 |
__lookahead_start: Option<&usize>, |
| 1622 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1623 |
_: core::marker::PhantomData<(&'input ())>, |
| 1624 |
) -> (usize, usize) |
| 1625 |
{ |
| 1626 |
// Comma<(<ObjectIdentifier> ":" <Expression>)> = => ActionFn(92); |
| 1627 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1628 |
let __end = __start.clone(); |
| 1629 |
let __nt = super::__action92::<>(input, &__start, &__end); |
| 1630 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 1631 |
(0, 12) |
| 1632 |
} |
| 1633 |
pub(crate) fn __reduce21< |
| 1634 |
'input, |
| 1635 |
>( |
| 1636 |
input: &'input str, |
| 1637 |
__lookahead_start: Option<&usize>, |
| 1638 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1639 |
_: core::marker::PhantomData<(&'input ())>, |
| 1640 |
) -> (usize, usize) |
| 1641 |
{ |
| 1642 |
// Comma<(<ObjectIdentifier> ":" <Expression>)> = (<(<ObjectIdentifier> ":" <Expression>)> ",")+, ObjectIdentifier, ":", Expression => ActionFn(93); |
| 1643 |
assert!(__symbols.len() >= 4); |
| 1644 |
let __sym3 = __pop_Variant3(__symbols); |
| 1645 |
let __sym2 = __pop_Variant0(__symbols); |
| 1646 |
let __sym1 = __pop_Variant11(__symbols); |
| 1647 |
let __sym0 = __pop_Variant2(__symbols); |
| 1648 |
let __start = __sym0.0.clone(); |
| 1649 |
let __end = __sym3.2.clone(); |
| 1650 |
let __nt = super::__action93::<>(input, __sym0, __sym1, __sym2, __sym3); |
| 1651 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 1652 |
(4, 12) |
| 1653 |
} |
| 1654 |
pub(crate) fn __reduce22< |
| 1655 |
'input, |
| 1656 |
>( |
| 1657 |
input: &'input str, |
| 1658 |
__lookahead_start: Option<&usize>, |
| 1659 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1660 |
_: core::marker::PhantomData<(&'input ())>, |
| 1661 |
) -> (usize, usize) |
| 1662 |
{ |
| 1663 |
// Comma<(<ObjectIdentifier> ":" <Expression>)> = (<(<ObjectIdentifier> ":" <Expression>)> ",")+ => ActionFn(94); |
| 1664 |
let __sym0 = __pop_Variant2(__symbols); |
| 1665 |
let __start = __sym0.0.clone(); |
| 1666 |
let __end = __sym0.2.clone(); |
| 1667 |
let __nt = super::__action94::<>(input, __sym0); |
| 1668 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 1669 |
(1, 12) |
| 1670 |
} |
| 1671 |
pub(crate) fn __reduce23< |
| 1672 |
'input, |
| 1673 |
>( |
| 1674 |
input: &'input str, |
| 1675 |
__lookahead_start: Option<&usize>, |
| 1676 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1677 |
_: core::marker::PhantomData<(&'input ())>, |
| 1678 |
) -> (usize, usize) |
| 1679 |
{ |
| 1680 |
// Comma<Expression> = Expression => ActionFn(97); |
| 1681 |
let __sym0 = __pop_Variant3(__symbols); |
| 1682 |
let __start = __sym0.0.clone(); |
| 1683 |
let __end = __sym0.2.clone(); |
| 1684 |
let __nt = super::__action97::<>(input, __sym0); |
| 1685 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1686 |
(1, 13) |
| 1687 |
} |
| 1688 |
pub(crate) fn __reduce24< |
| 1689 |
'input, |
| 1690 |
>( |
| 1691 |
input: &'input str, |
| 1692 |
__lookahead_start: Option<&usize>, |
| 1693 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1694 |
_: core::marker::PhantomData<(&'input ())>, |
| 1695 |
) -> (usize, usize) |
| 1696 |
{ |
| 1697 |
// Comma<Expression> = => ActionFn(98); |
| 1698 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 1699 |
let __end = __start.clone(); |
| 1700 |
let __nt = super::__action98::<>(input, &__start, &__end); |
| 1701 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1702 |
(0, 13) |
| 1703 |
} |
| 1704 |
pub(crate) fn __reduce25< |
| 1705 |
'input, |
| 1706 |
>( |
| 1707 |
input: &'input str, |
| 1708 |
__lookahead_start: Option<&usize>, |
| 1709 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1710 |
_: core::marker::PhantomData<(&'input ())>, |
| 1711 |
) -> (usize, usize) |
| 1712 |
{ |
| 1713 |
// Comma<Expression> = (<Expression> ",")+, Expression => ActionFn(99); |
| 1714 |
assert!(__symbols.len() >= 2); |
| 1715 |
let __sym1 = __pop_Variant3(__symbols); |
| 1716 |
let __sym0 = __pop_Variant4(__symbols); |
| 1717 |
let __start = __sym0.0.clone(); |
| 1718 |
let __end = __sym1.2.clone(); |
| 1719 |
let __nt = super::__action99::<>(input, __sym0, __sym1); |
| 1720 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1721 |
(2, 13) |
| 1722 |
} |
| 1723 |
pub(crate) fn __reduce26< |
| 1724 |
'input, |
| 1725 |
>( |
| 1726 |
input: &'input str, |
| 1727 |
__lookahead_start: Option<&usize>, |
| 1728 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1729 |
_: core::marker::PhantomData<(&'input ())>, |
| 1730 |
) -> (usize, usize) |
| 1731 |
{ |
| 1732 |
// Comma<Expression> = (<Expression> ",")+ => ActionFn(100); |
| 1733 |
let __sym0 = __pop_Variant4(__symbols); |
| 1734 |
let __start = __sym0.0.clone(); |
| 1735 |
let __end = __sym0.2.clone(); |
| 1736 |
let __nt = super::__action100::<>(input, __sym0); |
| 1737 |
__symbols.push((__start, __Symbol::Variant6(__nt), __end)); |
| 1738 |
(1, 13) |
| 1739 |
} |
| 1740 |
pub(crate) fn __reduce27< |
| 1741 |
'input, |
| 1742 |
>( |
| 1743 |
input: &'input str, |
| 1744 |
__lookahead_start: Option<&usize>, |
| 1745 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1746 |
_: core::marker::PhantomData<(&'input ())>, |
| 1747 |
) -> (usize, usize) |
| 1748 |
{ |
| 1749 |
// Expr00 = Expression, Op10, Expr10 => ActionFn(2); |
| 1750 |
assert!(__symbols.len() >= 3); |
| 1751 |
let __sym2 = __pop_Variant3(__symbols); |
| 1752 |
let __sym1 = __pop_Variant14(__symbols); |
| 1753 |
let __sym0 = __pop_Variant3(__symbols); |
| 1754 |
let __start = __sym0.0.clone(); |
| 1755 |
let __end = __sym2.2.clone(); |
| 1756 |
let __nt = super::__action2::<>(input, __sym0, __sym1, __sym2); |
| 1757 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1758 |
(3, 14) |
| 1759 |
} |
| 1760 |
pub(crate) fn __reduce28< |
| 1761 |
'input, |
| 1762 |
>( |
| 1763 |
input: &'input str, |
| 1764 |
__lookahead_start: Option<&usize>, |
| 1765 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1766 |
_: core::marker::PhantomData<(&'input ())>, |
| 1767 |
) -> (usize, usize) |
| 1768 |
{ |
| 1769 |
// Expr00 = Expr10 => ActionFn(3); |
| 1770 |
let __sym0 = __pop_Variant3(__symbols); |
| 1771 |
let __start = __sym0.0.clone(); |
| 1772 |
let __end = __sym0.2.clone(); |
| 1773 |
let __nt = super::__action3::<>(input, __sym0); |
| 1774 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1775 |
(1, 14) |
| 1776 |
} |
| 1777 |
pub(crate) fn __reduce29< |
| 1778 |
'input, |
| 1779 |
>( |
| 1780 |
input: &'input str, |
| 1781 |
__lookahead_start: Option<&usize>, |
| 1782 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1783 |
_: core::marker::PhantomData<(&'input ())>, |
| 1784 |
) -> (usize, usize) |
| 1785 |
{ |
| 1786 |
// Expr10 = Expr10, Op20, Expr20 => ActionFn(4); |
| 1787 |
assert!(__symbols.len() >= 3); |
| 1788 |
let __sym2 = __pop_Variant3(__symbols); |
| 1789 |
let __sym1 = __pop_Variant14(__symbols); |
| 1790 |
let __sym0 = __pop_Variant3(__symbols); |
| 1791 |
let __start = __sym0.0.clone(); |
| 1792 |
let __end = __sym2.2.clone(); |
| 1793 |
let __nt = super::__action4::<>(input, __sym0, __sym1, __sym2); |
| 1794 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1795 |
(3, 15) |
| 1796 |
} |
| 1797 |
pub(crate) fn __reduce30< |
| 1798 |
'input, |
| 1799 |
>( |
| 1800 |
input: &'input str, |
| 1801 |
__lookahead_start: Option<&usize>, |
| 1802 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1803 |
_: core::marker::PhantomData<(&'input ())>, |
| 1804 |
) -> (usize, usize) |
| 1805 |
{ |
| 1806 |
// Expr10 = Expr20 => ActionFn(5); |
| 1807 |
let __sym0 = __pop_Variant3(__symbols); |
| 1808 |
let __start = __sym0.0.clone(); |
| 1809 |
let __end = __sym0.2.clone(); |
| 1810 |
let __nt = super::__action5::<>(input, __sym0); |
| 1811 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1812 |
(1, 15) |
| 1813 |
} |
| 1814 |
pub(crate) fn __reduce31< |
| 1815 |
'input, |
| 1816 |
>( |
| 1817 |
input: &'input str, |
| 1818 |
__lookahead_start: Option<&usize>, |
| 1819 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1820 |
_: core::marker::PhantomData<(&'input ())>, |
| 1821 |
) -> (usize, usize) |
| 1822 |
{ |
| 1823 |
// Expr20 = Expr20, Op30, Expr30 => ActionFn(6); |
| 1824 |
assert!(__symbols.len() >= 3); |
| 1825 |
let __sym2 = __pop_Variant3(__symbols); |
| 1826 |
let __sym1 = __pop_Variant14(__symbols); |
| 1827 |
let __sym0 = __pop_Variant3(__symbols); |
| 1828 |
let __start = __sym0.0.clone(); |
| 1829 |
let __end = __sym2.2.clone(); |
| 1830 |
let __nt = super::__action6::<>(input, __sym0, __sym1, __sym2); |
| 1831 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1832 |
(3, 16) |
| 1833 |
} |
| 1834 |
pub(crate) fn __reduce32< |
| 1835 |
'input, |
| 1836 |
>( |
| 1837 |
input: &'input str, |
| 1838 |
__lookahead_start: Option<&usize>, |
| 1839 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1840 |
_: core::marker::PhantomData<(&'input ())>, |
| 1841 |
) -> (usize, usize) |
| 1842 |
{ |
| 1843 |
// Expr20 = Expr30 => ActionFn(7); |
| 1844 |
let __sym0 = __pop_Variant3(__symbols); |
| 1845 |
let __start = __sym0.0.clone(); |
| 1846 |
let __end = __sym0.2.clone(); |
| 1847 |
let __nt = super::__action7::<>(input, __sym0); |
| 1848 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1849 |
(1, 16) |
| 1850 |
} |
| 1851 |
pub(crate) fn __reduce33< |
| 1852 |
'input, |
| 1853 |
>( |
| 1854 |
input: &'input str, |
| 1855 |
__lookahead_start: Option<&usize>, |
| 1856 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1857 |
_: core::marker::PhantomData<(&'input ())>, |
| 1858 |
) -> (usize, usize) |
| 1859 |
{ |
| 1860 |
// Expr30 = Expr30, Op40, Expr40 => ActionFn(8); |
| 1861 |
assert!(__symbols.len() >= 3); |
| 1862 |
let __sym2 = __pop_Variant3(__symbols); |
| 1863 |
let __sym1 = __pop_Variant14(__symbols); |
| 1864 |
let __sym0 = __pop_Variant3(__symbols); |
| 1865 |
let __start = __sym0.0.clone(); |
| 1866 |
let __end = __sym2.2.clone(); |
| 1867 |
let __nt = super::__action8::<>(input, __sym0, __sym1, __sym2); |
| 1868 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1869 |
(3, 17) |
| 1870 |
} |
| 1871 |
pub(crate) fn __reduce34< |
| 1872 |
'input, |
| 1873 |
>( |
| 1874 |
input: &'input str, |
| 1875 |
__lookahead_start: Option<&usize>, |
| 1876 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1877 |
_: core::marker::PhantomData<(&'input ())>, |
| 1878 |
) -> (usize, usize) |
| 1879 |
{ |
| 1880 |
// Expr30 = Expr40 => ActionFn(9); |
| 1881 |
let __sym0 = __pop_Variant3(__symbols); |
| 1882 |
let __start = __sym0.0.clone(); |
| 1883 |
let __end = __sym0.2.clone(); |
| 1884 |
let __nt = super::__action9::<>(input, __sym0); |
| 1885 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1886 |
(1, 17) |
| 1887 |
} |
| 1888 |
pub(crate) fn __reduce35< |
| 1889 |
'input, |
| 1890 |
>( |
| 1891 |
input: &'input str, |
| 1892 |
__lookahead_start: Option<&usize>, |
| 1893 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1894 |
_: core::marker::PhantomData<(&'input ())>, |
| 1895 |
) -> (usize, usize) |
| 1896 |
{ |
| 1897 |
// Expr40 = Expr40, Op50, Expr50 => ActionFn(10); |
| 1898 |
assert!(__symbols.len() >= 3); |
| 1899 |
let __sym2 = __pop_Variant3(__symbols); |
| 1900 |
let __sym1 = __pop_Variant14(__symbols); |
| 1901 |
let __sym0 = __pop_Variant3(__symbols); |
| 1902 |
let __start = __sym0.0.clone(); |
| 1903 |
let __end = __sym2.2.clone(); |
| 1904 |
let __nt = super::__action10::<>(input, __sym0, __sym1, __sym2); |
| 1905 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1906 |
(3, 18) |
| 1907 |
} |
| 1908 |
pub(crate) fn __reduce36< |
| 1909 |
'input, |
| 1910 |
>( |
| 1911 |
input: &'input str, |
| 1912 |
__lookahead_start: Option<&usize>, |
| 1913 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1914 |
_: core::marker::PhantomData<(&'input ())>, |
| 1915 |
) -> (usize, usize) |
| 1916 |
{ |
| 1917 |
// Expr40 = Expr50 => ActionFn(11); |
| 1918 |
let __sym0 = __pop_Variant3(__symbols); |
| 1919 |
let __start = __sym0.0.clone(); |
| 1920 |
let __end = __sym0.2.clone(); |
| 1921 |
let __nt = super::__action11::<>(input, __sym0); |
| 1922 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1923 |
(1, 18) |
| 1924 |
} |
| 1925 |
pub(crate) fn __reduce37< |
| 1926 |
'input, |
| 1927 |
>( |
| 1928 |
input: &'input str, |
| 1929 |
__lookahead_start: Option<&usize>, |
| 1930 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1931 |
_: core::marker::PhantomData<(&'input ())>, |
| 1932 |
) -> (usize, usize) |
| 1933 |
{ |
| 1934 |
// Expr50 = Expr50, "?", Expr60, ":", Expr60 => ActionFn(12); |
| 1935 |
assert!(__symbols.len() >= 5); |
| 1936 |
let __sym4 = __pop_Variant3(__symbols); |
| 1937 |
let __sym3 = __pop_Variant0(__symbols); |
| 1938 |
let __sym2 = __pop_Variant3(__symbols); |
| 1939 |
let __sym1 = __pop_Variant0(__symbols); |
| 1940 |
let __sym0 = __pop_Variant3(__symbols); |
| 1941 |
let __start = __sym0.0.clone(); |
| 1942 |
let __end = __sym4.2.clone(); |
| 1943 |
let __nt = super::__action12::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4); |
| 1944 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1945 |
(5, 19) |
| 1946 |
} |
| 1947 |
pub(crate) fn __reduce38< |
| 1948 |
'input, |
| 1949 |
>( |
| 1950 |
input: &'input str, |
| 1951 |
__lookahead_start: Option<&usize>, |
| 1952 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1953 |
_: core::marker::PhantomData<(&'input ())>, |
| 1954 |
) -> (usize, usize) |
| 1955 |
{ |
| 1956 |
// Expr50 = Expr60 => ActionFn(13); |
| 1957 |
let __sym0 = __pop_Variant3(__symbols); |
| 1958 |
let __start = __sym0.0.clone(); |
| 1959 |
let __end = __sym0.2.clone(); |
| 1960 |
let __nt = super::__action13::<>(input, __sym0); |
| 1961 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1962 |
(1, 19) |
| 1963 |
} |
| 1964 |
pub(crate) fn __reduce39< |
| 1965 |
'input, |
| 1966 |
>( |
| 1967 |
input: &'input str, |
| 1968 |
__lookahead_start: Option<&usize>, |
| 1969 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1970 |
_: core::marker::PhantomData<(&'input ())>, |
| 1971 |
) -> (usize, usize) |
| 1972 |
{ |
| 1973 |
// Expr60 = Expr60, "|", Identifier, Args => ActionFn(95); |
| 1974 |
assert!(__symbols.len() >= 4); |
| 1975 |
let __sym3 = __pop_Variant6(__symbols); |
| 1976 |
let __sym2 = __pop_Variant11(__symbols); |
| 1977 |
let __sym1 = __pop_Variant0(__symbols); |
| 1978 |
let __sym0 = __pop_Variant3(__symbols); |
| 1979 |
let __start = __sym0.0.clone(); |
| 1980 |
let __end = __sym3.2.clone(); |
| 1981 |
let __nt = super::__action95::<>(input, __sym0, __sym1, __sym2, __sym3); |
| 1982 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 1983 |
(4, 20) |
| 1984 |
} |
| 1985 |
pub(crate) fn __reduce40< |
| 1986 |
'input, |
| 1987 |
>( |
| 1988 |
input: &'input str, |
| 1989 |
__lookahead_start: Option<&usize>, |
| 1990 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 1991 |
_: core::marker::PhantomData<(&'input ())>, |
| 1992 |
) -> (usize, usize) |
| 1993 |
{ |
| 1994 |
// Expr60 = Expr60, "|", Identifier => ActionFn(96); |
| 1995 |
assert!(__symbols.len() >= 3); |
| 1996 |
let __sym2 = __pop_Variant11(__symbols); |
| 1997 |
let __sym1 = __pop_Variant0(__symbols); |
| 1998 |
let __sym0 = __pop_Variant3(__symbols); |
| 1999 |
let __start = __sym0.0.clone(); |
| 2000 |
let __end = __sym2.2.clone(); |
| 2001 |
let __nt = super::__action96::<>(input, __sym0, __sym1, __sym2); |
| 2002 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2003 |
(3, 20) |
| 2004 |
} |
| 2005 |
pub(crate) fn __reduce41< |
| 2006 |
'input, |
| 2007 |
>( |
| 2008 |
input: &'input str, |
| 2009 |
__lookahead_start: Option<&usize>, |
| 2010 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2011 |
_: core::marker::PhantomData<(&'input ())>, |
| 2012 |
) -> (usize, usize) |
| 2013 |
{ |
| 2014 |
// Expr60 = Expr70 => ActionFn(15); |
| 2015 |
let __sym0 = __pop_Variant3(__symbols); |
| 2016 |
let __start = __sym0.0.clone(); |
| 2017 |
let __end = __sym0.2.clone(); |
| 2018 |
let __nt = super::__action15::<>(input, __sym0); |
| 2019 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2020 |
(1, 20) |
| 2021 |
} |
| 2022 |
pub(crate) fn __reduce42< |
| 2023 |
'input, |
| 2024 |
>( |
| 2025 |
input: &'input str, |
| 2026 |
__lookahead_start: Option<&usize>, |
| 2027 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2028 |
_: core::marker::PhantomData<(&'input ())>, |
| 2029 |
) -> (usize, usize) |
| 2030 |
{ |
| 2031 |
// Expr70 = Expr70, Index => ActionFn(16); |
| 2032 |
assert!(__symbols.len() >= 2); |
| 2033 |
let __sym1 = __pop_Variant3(__symbols); |
| 2034 |
let __sym0 = __pop_Variant3(__symbols); |
| 2035 |
let __start = __sym0.0.clone(); |
| 2036 |
let __end = __sym1.2.clone(); |
| 2037 |
let __nt = super::__action16::<>(input, __sym0, __sym1); |
| 2038 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2039 |
(2, 21) |
| 2040 |
} |
| 2041 |
pub(crate) fn __reduce43< |
| 2042 |
'input, |
| 2043 |
>( |
| 2044 |
input: &'input str, |
| 2045 |
__lookahead_start: Option<&usize>, |
| 2046 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2047 |
_: core::marker::PhantomData<(&'input ())>, |
| 2048 |
) -> (usize, usize) |
| 2049 |
{ |
| 2050 |
// Expr70 = Expr70, ".", Identifier => ActionFn(17); |
| 2051 |
assert!(__symbols.len() >= 3); |
| 2052 |
let __sym2 = __pop_Variant11(__symbols); |
| 2053 |
let __sym1 = __pop_Variant0(__symbols); |
| 2054 |
let __sym0 = __pop_Variant3(__symbols); |
| 2055 |
let __start = __sym0.0.clone(); |
| 2056 |
let __end = __sym2.2.clone(); |
| 2057 |
let __nt = super::__action17::<>(input, __sym0, __sym1, __sym2); |
| 2058 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2059 |
(3, 21) |
| 2060 |
} |
| 2061 |
pub(crate) fn __reduce44< |
| 2062 |
'input, |
| 2063 |
>( |
| 2064 |
input: &'input str, |
| 2065 |
__lookahead_start: Option<&usize>, |
| 2066 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2067 |
_: core::marker::PhantomData<(&'input ())>, |
| 2068 |
) -> (usize, usize) |
| 2069 |
{ |
| 2070 |
// Expr70 = Expr80 => ActionFn(18); |
| 2071 |
let __sym0 = __pop_Variant3(__symbols); |
| 2072 |
let __start = __sym0.0.clone(); |
| 2073 |
let __end = __sym0.2.clone(); |
| 2074 |
let __nt = super::__action18::<>(input, __sym0); |
| 2075 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2076 |
(1, 21) |
| 2077 |
} |
| 2078 |
pub(crate) fn __reduce45< |
| 2079 |
'input, |
| 2080 |
>( |
| 2081 |
input: &'input str, |
| 2082 |
__lookahead_start: Option<&usize>, |
| 2083 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2084 |
_: core::marker::PhantomData<(&'input ())>, |
| 2085 |
) -> (usize, usize) |
| 2086 |
{ |
| 2087 |
// Expr80 = Number => ActionFn(19); |
| 2088 |
let __sym0 = __pop_Variant13(__symbols); |
| 2089 |
let __start = __sym0.0.clone(); |
| 2090 |
let __end = __sym0.2.clone(); |
| 2091 |
let __nt = super::__action19::<>(input, __sym0); |
| 2092 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2093 |
(1, 22) |
| 2094 |
} |
| 2095 |
pub(crate) fn __reduce46< |
| 2096 |
'input, |
| 2097 |
>( |
| 2098 |
input: &'input str, |
| 2099 |
__lookahead_start: Option<&usize>, |
| 2100 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2101 |
_: core::marker::PhantomData<(&'input ())>, |
| 2102 |
) -> (usize, usize) |
| 2103 |
{ |
| 2104 |
// Expr80 = Boolean => ActionFn(20); |
| 2105 |
let __sym0 = __pop_Variant8(__symbols); |
| 2106 |
let __start = __sym0.0.clone(); |
| 2107 |
let __end = __sym0.2.clone(); |
| 2108 |
let __nt = super::__action20::<>(input, __sym0); |
| 2109 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2110 |
(1, 22) |
| 2111 |
} |
| 2112 |
pub(crate) fn __reduce47< |
| 2113 |
'input, |
| 2114 |
>( |
| 2115 |
input: &'input str, |
| 2116 |
__lookahead_start: Option<&usize>, |
| 2117 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2118 |
_: core::marker::PhantomData<(&'input ())>, |
| 2119 |
) -> (usize, usize) |
| 2120 |
{ |
| 2121 |
// Expr80 = String => ActionFn(21); |
| 2122 |
let __sym0 = __pop_Variant11(__symbols); |
| 2123 |
let __start = __sym0.0.clone(); |
| 2124 |
let __end = __sym0.2.clone(); |
| 2125 |
let __nt = super::__action21::<>(input, __sym0); |
| 2126 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2127 |
(1, 22) |
| 2128 |
} |
| 2129 |
pub(crate) fn __reduce48< |
| 2130 |
'input, |
| 2131 |
>( |
| 2132 |
input: &'input str, |
| 2133 |
__lookahead_start: Option<&usize>, |
| 2134 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2135 |
_: core::marker::PhantomData<(&'input ())>, |
| 2136 |
) -> (usize, usize) |
| 2137 |
{ |
| 2138 |
// Expr80 = Array => ActionFn(22); |
| 2139 |
let __sym0 = __pop_Variant6(__symbols); |
| 2140 |
let __start = __sym0.0.clone(); |
| 2141 |
let __end = __sym0.2.clone(); |
| 2142 |
let __nt = super::__action22::<>(input, __sym0); |
| 2143 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2144 |
(1, 22) |
| 2145 |
} |
| 2146 |
pub(crate) fn __reduce49< |
| 2147 |
'input, |
| 2148 |
>( |
| 2149 |
input: &'input str, |
| 2150 |
__lookahead_start: Option<&usize>, |
| 2151 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2152 |
_: core::marker::PhantomData<(&'input ())>, |
| 2153 |
) -> (usize, usize) |
| 2154 |
{ |
| 2155 |
// Expr80 = Object => ActionFn(23); |
| 2156 |
let __sym0 = __pop_Variant9(__symbols); |
| 2157 |
let __start = __sym0.0.clone(); |
| 2158 |
let __end = __sym0.2.clone(); |
| 2159 |
let __nt = super::__action23::<>(input, __sym0); |
| 2160 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2161 |
(1, 22) |
| 2162 |
} |
| 2163 |
pub(crate) fn __reduce50< |
| 2164 |
'input, |
| 2165 |
>( |
| 2166 |
input: &'input str, |
| 2167 |
__lookahead_start: Option<&usize>, |
| 2168 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2169 |
_: core::marker::PhantomData<(&'input ())>, |
| 2170 |
) -> (usize, usize) |
| 2171 |
{ |
| 2172 |
// Expr80 = Null => ActionFn(24); |
| 2173 |
let __sym0 = __pop_Variant12(__symbols); |
| 2174 |
let __start = __sym0.0.clone(); |
| 2175 |
let __end = __sym0.2.clone(); |
| 2176 |
let __nt = super::__action24::<>(input, __sym0); |
| 2177 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2178 |
(1, 22) |
| 2179 |
} |
| 2180 |
pub(crate) fn __reduce51< |
| 2181 |
'input, |
| 2182 |
>( |
| 2183 |
input: &'input str, |
| 2184 |
__lookahead_start: Option<&usize>, |
| 2185 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2186 |
_: core::marker::PhantomData<(&'input ())>, |
| 2187 |
) -> (usize, usize) |
| 2188 |
{ |
| 2189 |
// Expr80 = Identifier => ActionFn(25); |
| 2190 |
let __sym0 = __pop_Variant11(__symbols); |
| 2191 |
let __start = __sym0.0.clone(); |
| 2192 |
let __end = __sym0.2.clone(); |
| 2193 |
let __nt = super::__action25::<>(input, __sym0); |
| 2194 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2195 |
(1, 22) |
| 2196 |
} |
| 2197 |
pub(crate) fn __reduce52< |
| 2198 |
'input, |
| 2199 |
>( |
| 2200 |
input: &'input str, |
| 2201 |
__lookahead_start: Option<&usize>, |
| 2202 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2203 |
_: core::marker::PhantomData<(&'input ())>, |
| 2204 |
) -> (usize, usize) |
| 2205 |
{ |
| 2206 |
// Expr80 = "(", Expression, ")" => ActionFn(26); |
| 2207 |
assert!(__symbols.len() >= 3); |
| 2208 |
let __sym2 = __pop_Variant0(__symbols); |
| 2209 |
let __sym1 = __pop_Variant3(__symbols); |
| 2210 |
let __sym0 = __pop_Variant0(__symbols); |
| 2211 |
let __start = __sym0.0.clone(); |
| 2212 |
let __end = __sym2.2.clone(); |
| 2213 |
let __nt = super::__action26::<>(input, __sym0, __sym1, __sym2); |
| 2214 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2215 |
(3, 22) |
| 2216 |
} |
| 2217 |
pub(crate) fn __reduce53< |
| 2218 |
'input, |
| 2219 |
>( |
| 2220 |
input: &'input str, |
| 2221 |
__lookahead_start: Option<&usize>, |
| 2222 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2223 |
_: core::marker::PhantomData<(&'input ())>, |
| 2224 |
) -> (usize, usize) |
| 2225 |
{ |
| 2226 |
// Expression = Expr00 => ActionFn(1); |
| 2227 |
let __sym0 = __pop_Variant3(__symbols); |
| 2228 |
let __start = __sym0.0.clone(); |
| 2229 |
let __end = __sym0.2.clone(); |
| 2230 |
let __nt = super::__action1::<>(input, __sym0); |
| 2231 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2232 |
(1, 23) |
| 2233 |
} |
| 2234 |
pub(crate) fn __reduce54< |
| 2235 |
'input, |
| 2236 |
>( |
| 2237 |
input: &'input str, |
| 2238 |
__lookahead_start: Option<&usize>, |
| 2239 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2240 |
_: core::marker::PhantomData<(&'input ())>, |
| 2241 |
) -> (usize, usize) |
| 2242 |
{ |
| 2243 |
// Expression? = Expression => ActionFn(67); |
| 2244 |
let __sym0 = __pop_Variant3(__symbols); |
| 2245 |
let __start = __sym0.0.clone(); |
| 2246 |
let __end = __sym0.2.clone(); |
| 2247 |
let __nt = super::__action67::<>(input, __sym0); |
| 2248 |
__symbols.push((__start, __Symbol::Variant10(__nt), __end)); |
| 2249 |
(1, 24) |
| 2250 |
} |
| 2251 |
pub(crate) fn __reduce55< |
| 2252 |
'input, |
| 2253 |
>( |
| 2254 |
input: &'input str, |
| 2255 |
__lookahead_start: Option<&usize>, |
| 2256 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2257 |
_: core::marker::PhantomData<(&'input ())>, |
| 2258 |
) -> (usize, usize) |
| 2259 |
{ |
| 2260 |
// Expression? = => ActionFn(68); |
| 2261 |
let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); |
| 2262 |
let __end = __start.clone(); |
| 2263 |
let __nt = super::__action68::<>(input, &__start, &__end); |
| 2264 |
__symbols.push((__start, __Symbol::Variant10(__nt), __end)); |
| 2265 |
(0, 24) |
| 2266 |
} |
| 2267 |
pub(crate) fn __reduce56< |
| 2268 |
'input, |
| 2269 |
>( |
| 2270 |
input: &'input str, |
| 2271 |
__lookahead_start: Option<&usize>, |
| 2272 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2273 |
_: core::marker::PhantomData<(&'input ())>, |
| 2274 |
) -> (usize, usize) |
| 2275 |
{ |
| 2276 |
// Identifier = r#"[a-zA-Z_][a-zA-Z0-9_]*"# => ActionFn(52); |
| 2277 |
let __sym0 = __pop_Variant0(__symbols); |
| 2278 |
let __start = __sym0.0.clone(); |
| 2279 |
let __end = __sym0.2.clone(); |
| 2280 |
let __nt = super::__action52::<>(input, __sym0); |
| 2281 |
__symbols.push((__start, __Symbol::Variant11(__nt), __end)); |
| 2282 |
(1, 25) |
| 2283 |
} |
| 2284 |
pub(crate) fn __reduce57< |
| 2285 |
'input, |
| 2286 |
>( |
| 2287 |
input: &'input str, |
| 2288 |
__lookahead_start: Option<&usize>, |
| 2289 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2290 |
_: core::marker::PhantomData<(&'input ())>, |
| 2291 |
) -> (usize, usize) |
| 2292 |
{ |
| 2293 |
// Index = "[", ".", Identifier, Op20, Expr80, "]" => ActionFn(53); |
| 2294 |
assert!(__symbols.len() >= 6); |
| 2295 |
let __sym5 = __pop_Variant0(__symbols); |
| 2296 |
let __sym4 = __pop_Variant3(__symbols); |
| 2297 |
let __sym3 = __pop_Variant14(__symbols); |
| 2298 |
let __sym2 = __pop_Variant11(__symbols); |
| 2299 |
let __sym1 = __pop_Variant0(__symbols); |
| 2300 |
let __sym0 = __pop_Variant0(__symbols); |
| 2301 |
let __start = __sym0.0.clone(); |
| 2302 |
let __end = __sym5.2.clone(); |
| 2303 |
let __nt = super::__action53::<>(input, __sym0, __sym1, __sym2, __sym3, __sym4, __sym5); |
| 2304 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2305 |
(6, 26) |
| 2306 |
} |
| 2307 |
pub(crate) fn __reduce58< |
| 2308 |
'input, |
| 2309 |
>( |
| 2310 |
input: &'input str, |
| 2311 |
__lookahead_start: Option<&usize>, |
| 2312 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2313 |
_: core::marker::PhantomData<(&'input ())>, |
| 2314 |
) -> (usize, usize) |
| 2315 |
{ |
| 2316 |
// Index = "[", Expression, "]" => ActionFn(54); |
| 2317 |
assert!(__symbols.len() >= 3); |
| 2318 |
let __sym2 = __pop_Variant0(__symbols); |
| 2319 |
let __sym1 = __pop_Variant3(__symbols); |
| 2320 |
let __sym0 = __pop_Variant0(__symbols); |
| 2321 |
let __start = __sym0.0.clone(); |
| 2322 |
let __end = __sym2.2.clone(); |
| 2323 |
let __nt = super::__action54::<>(input, __sym0, __sym1, __sym2); |
| 2324 |
__symbols.push((__start, __Symbol::Variant3(__nt), __end)); |
| 2325 |
(3, 26) |
| 2326 |
} |
| 2327 |
pub(crate) fn __reduce59< |
| 2328 |
'input, |
| 2329 |
>( |
| 2330 |
input: &'input str, |
| 2331 |
__lookahead_start: Option<&usize>, |
| 2332 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2333 |
_: core::marker::PhantomData<(&'input ())>, |
| 2334 |
) -> (usize, usize) |
| 2335 |
{ |
| 2336 |
// Null = "Null" => ActionFn(49); |
| 2337 |
let __sym0 = __pop_Variant0(__symbols); |
| 2338 |
let __start = __sym0.0.clone(); |
| 2339 |
let __end = __sym0.2.clone(); |
| 2340 |
let __nt = super::__action49::<>(input, __sym0); |
| 2341 |
__symbols.push((__start, __Symbol::Variant12(__nt), __end)); |
| 2342 |
(1, 27) |
| 2343 |
} |
| 2344 |
pub(crate) fn __reduce60< |
| 2345 |
'input, |
| 2346 |
>( |
| 2347 |
input: &'input str, |
| 2348 |
__lookahead_start: Option<&usize>, |
| 2349 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2350 |
_: core::marker::PhantomData<(&'input ())>, |
| 2351 |
) -> (usize, usize) |
| 2352 |
{ |
| 2353 |
// Null = "null" => ActionFn(50); |
| 2354 |
let __sym0 = __pop_Variant0(__symbols); |
| 2355 |
let __start = __sym0.0.clone(); |
| 2356 |
let __end = __sym0.2.clone(); |
| 2357 |
let __nt = super::__action50::<>(input, __sym0); |
| 2358 |
__symbols.push((__start, __Symbol::Variant12(__nt), __end)); |
| 2359 |
(1, 27) |
| 2360 |
} |
| 2361 |
pub(crate) fn __reduce61< |
| 2362 |
'input, |
| 2363 |
>( |
| 2364 |
input: &'input str, |
| 2365 |
__lookahead_start: Option<&usize>, |
| 2366 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2367 |
_: core::marker::PhantomData<(&'input ())>, |
| 2368 |
) -> (usize, usize) |
| 2369 |
{ |
| 2370 |
// Null = "NULL" => ActionFn(51); |
| 2371 |
let __sym0 = __pop_Variant0(__symbols); |
| 2372 |
let __start = __sym0.0.clone(); |
| 2373 |
let __end = __sym0.2.clone(); |
| 2374 |
let __nt = super::__action51::<>(input, __sym0); |
| 2375 |
__symbols.push((__start, __Symbol::Variant12(__nt), __end)); |
| 2376 |
(1, 27) |
| 2377 |
} |
| 2378 |
pub(crate) fn __reduce62< |
| 2379 |
'input, |
| 2380 |
>( |
| 2381 |
input: &'input str, |
| 2382 |
__lookahead_start: Option<&usize>, |
| 2383 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2384 |
_: core::marker::PhantomData<(&'input ())>, |
| 2385 |
) -> (usize, usize) |
| 2386 |
{ |
| 2387 |
// Number = r#"[0-9]+"# => ActionFn(44); |
| 2388 |
let __sym0 = __pop_Variant0(__symbols); |
| 2389 |
let __start = __sym0.0.clone(); |
| 2390 |
let __end = __sym0.2.clone(); |
| 2391 |
let __nt = super::__action44::<>(input, __sym0); |
| 2392 |
__symbols.push((__start, __Symbol::Variant13(__nt), __end)); |
| 2393 |
(1, 28) |
| 2394 |
} |
| 2395 |
pub(crate) fn __reduce63< |
| 2396 |
'input, |
| 2397 |
>( |
| 2398 |
input: &'input str, |
| 2399 |
__lookahead_start: Option<&usize>, |
| 2400 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2401 |
_: core::marker::PhantomData<(&'input ())>, |
| 2402 |
) -> (usize, usize) |
| 2403 |
{ |
| 2404 |
// Number = r#"[0-9]+\\.[0-9]*"# => ActionFn(45); |
| 2405 |
let __sym0 = __pop_Variant0(__symbols); |
| 2406 |
let __start = __sym0.0.clone(); |
| 2407 |
let __end = __sym0.2.clone(); |
| 2408 |
let __nt = super::__action45::<>(input, __sym0); |
| 2409 |
__symbols.push((__start, __Symbol::Variant13(__nt), __end)); |
| 2410 |
(1, 28) |
| 2411 |
} |
| 2412 |
pub(crate) fn __reduce64< |
| 2413 |
'input, |
| 2414 |
>( |
| 2415 |
input: &'input str, |
| 2416 |
__lookahead_start: Option<&usize>, |
| 2417 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2418 |
_: core::marker::PhantomData<(&'input ())>, |
| 2419 |
) -> (usize, usize) |
| 2420 |
{ |
| 2421 |
// Number = r#"\\.[0-9]+"# => ActionFn(46); |
| 2422 |
let __sym0 = __pop_Variant0(__symbols); |
| 2423 |
let __start = __sym0.0.clone(); |
| 2424 |
let __end = __sym0.2.clone(); |
| 2425 |
let __nt = super::__action46::<>(input, __sym0); |
| 2426 |
__symbols.push((__start, __Symbol::Variant13(__nt), __end)); |
| 2427 |
(1, 28) |
| 2428 |
} |
| 2429 |
pub(crate) fn __reduce65< |
| 2430 |
'input, |
| 2431 |
>( |
| 2432 |
input: &'input str, |
| 2433 |
__lookahead_start: Option<&usize>, |
| 2434 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2435 |
_: core::marker::PhantomData<(&'input ())>, |
| 2436 |
) -> (usize, usize) |
| 2437 |
{ |
| 2438 |
// Object = "{", Comma<(<ObjectIdentifier> ":" <Expression>)>, "}" => ActionFn(58); |
| 2439 |
assert!(__symbols.len() >= 3); |
| 2440 |
let __sym2 = __pop_Variant0(__symbols); |
| 2441 |
let __sym1 = __pop_Variant9(__symbols); |
| 2442 |
let __sym0 = __pop_Variant0(__symbols); |
| 2443 |
let __start = __sym0.0.clone(); |
| 2444 |
let __end = __sym2.2.clone(); |
| 2445 |
let __nt = super::__action58::<>(input, __sym0, __sym1, __sym2); |
| 2446 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 2447 |
(3, 29) |
| 2448 |
} |
| 2449 |
pub(crate) fn __reduce66< |
| 2450 |
'input, |
| 2451 |
>( |
| 2452 |
input: &'input str, |
| 2453 |
__lookahead_start: Option<&usize>, |
| 2454 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2455 |
_: core::marker::PhantomData<(&'input ())>, |
| 2456 |
) -> (usize, usize) |
| 2457 |
{ |
| 2458 |
// Object = "{}" => ActionFn(59); |
| 2459 |
let __sym0 = __pop_Variant0(__symbols); |
| 2460 |
let __start = __sym0.0.clone(); |
| 2461 |
let __end = __sym0.2.clone(); |
| 2462 |
let __nt = super::__action59::<>(input, __sym0); |
| 2463 |
__symbols.push((__start, __Symbol::Variant9(__nt), __end)); |
| 2464 |
(1, 29) |
| 2465 |
} |
| 2466 |
pub(crate) fn __reduce67< |
| 2467 |
'input, |
| 2468 |
>( |
| 2469 |
input: &'input str, |
| 2470 |
__lookahead_start: Option<&usize>, |
| 2471 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2472 |
_: core::marker::PhantomData<(&'input ())>, |
| 2473 |
) -> (usize, usize) |
| 2474 |
{ |
| 2475 |
// ObjectIdentifier = String => ActionFn(60); |
| 2476 |
let __sym0 = __pop_Variant11(__symbols); |
| 2477 |
let __start = __sym0.0.clone(); |
| 2478 |
let __end = __sym0.2.clone(); |
| 2479 |
let __nt = super::__action60::<>(input, __sym0); |
| 2480 |
__symbols.push((__start, __Symbol::Variant11(__nt), __end)); |
| 2481 |
(1, 30) |
| 2482 |
} |
| 2483 |
pub(crate) fn __reduce68< |
| 2484 |
'input, |
| 2485 |
>( |
| 2486 |
input: &'input str, |
| 2487 |
__lookahead_start: Option<&usize>, |
| 2488 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2489 |
_: core::marker::PhantomData<(&'input ())>, |
| 2490 |
) -> (usize, usize) |
| 2491 |
{ |
| 2492 |
// ObjectIdentifier = Identifier => ActionFn(61); |
| 2493 |
let __sym0 = __pop_Variant11(__symbols); |
| 2494 |
let __start = __sym0.0.clone(); |
| 2495 |
let __end = __sym0.2.clone(); |
| 2496 |
let __nt = super::__action61::<>(input, __sym0); |
| 2497 |
__symbols.push((__start, __Symbol::Variant11(__nt), __end)); |
| 2498 |
(1, 30) |
| 2499 |
} |
| 2500 |
pub(crate) fn __reduce69< |
| 2501 |
'input, |
| 2502 |
>( |
| 2503 |
input: &'input str, |
| 2504 |
__lookahead_start: Option<&usize>, |
| 2505 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2506 |
_: core::marker::PhantomData<(&'input ())>, |
| 2507 |
) -> (usize, usize) |
| 2508 |
{ |
| 2509 |
// Op10 = "&&" => ActionFn(28); |
| 2510 |
let __sym0 = __pop_Variant0(__symbols); |
| 2511 |
let __start = __sym0.0.clone(); |
| 2512 |
let __end = __sym0.2.clone(); |
| 2513 |
let __nt = super::__action28::<>(input, __sym0); |
| 2514 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2515 |
(1, 31) |
| 2516 |
} |
| 2517 |
pub(crate) fn __reduce70< |
| 2518 |
'input, |
| 2519 |
>( |
| 2520 |
input: &'input str, |
| 2521 |
__lookahead_start: Option<&usize>, |
| 2522 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2523 |
_: core::marker::PhantomData<(&'input ())>, |
| 2524 |
) -> (usize, usize) |
| 2525 |
{ |
| 2526 |
// Op10 = "||" => ActionFn(29); |
| 2527 |
let __sym0 = __pop_Variant0(__symbols); |
| 2528 |
let __start = __sym0.0.clone(); |
| 2529 |
let __end = __sym0.2.clone(); |
| 2530 |
let __nt = super::__action29::<>(input, __sym0); |
| 2531 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2532 |
(1, 31) |
| 2533 |
} |
| 2534 |
pub(crate) fn __reduce71< |
| 2535 |
'input, |
| 2536 |
>( |
| 2537 |
input: &'input str, |
| 2538 |
__lookahead_start: Option<&usize>, |
| 2539 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2540 |
_: core::marker::PhantomData<(&'input ())>, |
| 2541 |
) -> (usize, usize) |
| 2542 |
{ |
| 2543 |
// Op20 = "==" => ActionFn(30); |
| 2544 |
let __sym0 = __pop_Variant0(__symbols); |
| 2545 |
let __start = __sym0.0.clone(); |
| 2546 |
let __end = __sym0.2.clone(); |
| 2547 |
let __nt = super::__action30::<>(input, __sym0); |
| 2548 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2549 |
(1, 32) |
| 2550 |
} |
| 2551 |
pub(crate) fn __reduce72< |
| 2552 |
'input, |
| 2553 |
>( |
| 2554 |
input: &'input str, |
| 2555 |
__lookahead_start: Option<&usize>, |
| 2556 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2557 |
_: core::marker::PhantomData<(&'input ())>, |
| 2558 |
) -> (usize, usize) |
| 2559 |
{ |
| 2560 |
// Op20 = "!=" => ActionFn(31); |
| 2561 |
let __sym0 = __pop_Variant0(__symbols); |
| 2562 |
let __start = __sym0.0.clone(); |
| 2563 |
let __end = __sym0.2.clone(); |
| 2564 |
let __nt = super::__action31::<>(input, __sym0); |
| 2565 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2566 |
(1, 32) |
| 2567 |
} |
| 2568 |
pub(crate) fn __reduce73< |
| 2569 |
'input, |
| 2570 |
>( |
| 2571 |
input: &'input str, |
| 2572 |
__lookahead_start: Option<&usize>, |
| 2573 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2574 |
_: core::marker::PhantomData<(&'input ())>, |
| 2575 |
) -> (usize, usize) |
| 2576 |
{ |
| 2577 |
// Op20 = ">=" => ActionFn(32); |
| 2578 |
let __sym0 = __pop_Variant0(__symbols); |
| 2579 |
let __start = __sym0.0.clone(); |
| 2580 |
let __end = __sym0.2.clone(); |
| 2581 |
let __nt = super::__action32::<>(input, __sym0); |
| 2582 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2583 |
(1, 32) |
| 2584 |
} |
| 2585 |
pub(crate) fn __reduce74< |
| 2586 |
'input, |
| 2587 |
>( |
| 2588 |
input: &'input str, |
| 2589 |
__lookahead_start: Option<&usize>, |
| 2590 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2591 |
_: core::marker::PhantomData<(&'input ())>, |
| 2592 |
) -> (usize, usize) |
| 2593 |
{ |
| 2594 |
// Op20 = "<=" => ActionFn(33); |
| 2595 |
let __sym0 = __pop_Variant0(__symbols); |
| 2596 |
let __start = __sym0.0.clone(); |
| 2597 |
let __end = __sym0.2.clone(); |
| 2598 |
let __nt = super::__action33::<>(input, __sym0); |
| 2599 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2600 |
(1, 32) |
| 2601 |
} |
| 2602 |
pub(crate) fn __reduce75< |
| 2603 |
'input, |
| 2604 |
>( |
| 2605 |
input: &'input str, |
| 2606 |
__lookahead_start: Option<&usize>, |
| 2607 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2608 |
_: core::marker::PhantomData<(&'input ())>, |
| 2609 |
) -> (usize, usize) |
| 2610 |
{ |
| 2611 |
// Op20 = ">" => ActionFn(34); |
| 2612 |
let __sym0 = __pop_Variant0(__symbols); |
| 2613 |
let __start = __sym0.0.clone(); |
| 2614 |
let __end = __sym0.2.clone(); |
| 2615 |
let __nt = super::__action34::<>(input, __sym0); |
| 2616 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2617 |
(1, 32) |
| 2618 |
} |
| 2619 |
pub(crate) fn __reduce76< |
| 2620 |
'input, |
| 2621 |
>( |
| 2622 |
input: &'input str, |
| 2623 |
__lookahead_start: Option<&usize>, |
| 2624 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2625 |
_: core::marker::PhantomData<(&'input ())>, |
| 2626 |
) -> (usize, usize) |
| 2627 |
{ |
| 2628 |
// Op20 = "<" => ActionFn(35); |
| 2629 |
let __sym0 = __pop_Variant0(__symbols); |
| 2630 |
let __start = __sym0.0.clone(); |
| 2631 |
let __end = __sym0.2.clone(); |
| 2632 |
let __nt = super::__action35::<>(input, __sym0); |
| 2633 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2634 |
(1, 32) |
| 2635 |
} |
| 2636 |
pub(crate) fn __reduce77< |
| 2637 |
'input, |
| 2638 |
>( |
| 2639 |
input: &'input str, |
| 2640 |
__lookahead_start: Option<&usize>, |
| 2641 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2642 |
_: core::marker::PhantomData<(&'input ())>, |
| 2643 |
) -> (usize, usize) |
| 2644 |
{ |
| 2645 |
// Op20 = "in" => ActionFn(36); |
| 2646 |
let __sym0 = __pop_Variant0(__symbols); |
| 2647 |
let __start = __sym0.0.clone(); |
| 2648 |
let __end = __sym0.2.clone(); |
| 2649 |
let __nt = super::__action36::<>(input, __sym0); |
| 2650 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2651 |
(1, 32) |
| 2652 |
} |
| 2653 |
pub(crate) fn __reduce78< |
| 2654 |
'input, |
| 2655 |
>( |
| 2656 |
input: &'input str, |
| 2657 |
__lookahead_start: Option<&usize>, |
| 2658 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2659 |
_: core::marker::PhantomData<(&'input ())>, |
| 2660 |
) -> (usize, usize) |
| 2661 |
{ |
| 2662 |
// Op30 = "+" => ActionFn(37); |
| 2663 |
let __sym0 = __pop_Variant0(__symbols); |
| 2664 |
let __start = __sym0.0.clone(); |
| 2665 |
let __end = __sym0.2.clone(); |
| 2666 |
let __nt = super::__action37::<>(input, __sym0); |
| 2667 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2668 |
(1, 33) |
| 2669 |
} |
| 2670 |
pub(crate) fn __reduce79< |
| 2671 |
'input, |
| 2672 |
>( |
| 2673 |
input: &'input str, |
| 2674 |
__lookahead_start: Option<&usize>, |
| 2675 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2676 |
_: core::marker::PhantomData<(&'input ())>, |
| 2677 |
) -> (usize, usize) |
| 2678 |
{ |
| 2679 |
// Op30 = "-" => ActionFn(38); |
| 2680 |
let __sym0 = __pop_Variant0(__symbols); |
| 2681 |
let __start = __sym0.0.clone(); |
| 2682 |
let __end = __sym0.2.clone(); |
| 2683 |
let __nt = super::__action38::<>(input, __sym0); |
| 2684 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2685 |
(1, 33) |
| 2686 |
} |
| 2687 |
pub(crate) fn __reduce80< |
| 2688 |
'input, |
| 2689 |
>( |
| 2690 |
input: &'input str, |
| 2691 |
__lookahead_start: Option<&usize>, |
| 2692 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2693 |
_: core::marker::PhantomData<(&'input ())>, |
| 2694 |
) -> (usize, usize) |
| 2695 |
{ |
| 2696 |
// Op40 = "*" => ActionFn(39); |
| 2697 |
let __sym0 = __pop_Variant0(__symbols); |
| 2698 |
let __start = __sym0.0.clone(); |
| 2699 |
let __end = __sym0.2.clone(); |
| 2700 |
let __nt = super::__action39::<>(input, __sym0); |
| 2701 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2702 |
(1, 34) |
| 2703 |
} |
| 2704 |
pub(crate) fn __reduce81< |
| 2705 |
'input, |
| 2706 |
>( |
| 2707 |
input: &'input str, |
| 2708 |
__lookahead_start: Option<&usize>, |
| 2709 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2710 |
_: core::marker::PhantomData<(&'input ())>, |
| 2711 |
) -> (usize, usize) |
| 2712 |
{ |
| 2713 |
// Op40 = "//" => ActionFn(40); |
| 2714 |
let __sym0 = __pop_Variant0(__symbols); |
| 2715 |
let __start = __sym0.0.clone(); |
| 2716 |
let __end = __sym0.2.clone(); |
| 2717 |
let __nt = super::__action40::<>(input, __sym0); |
| 2718 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2719 |
(1, 34) |
| 2720 |
} |
| 2721 |
pub(crate) fn __reduce82< |
| 2722 |
'input, |
| 2723 |
>( |
| 2724 |
input: &'input str, |
| 2725 |
__lookahead_start: Option<&usize>, |
| 2726 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2727 |
_: core::marker::PhantomData<(&'input ())>, |
| 2728 |
) -> (usize, usize) |
| 2729 |
{ |
| 2730 |
// Op40 = "/" => ActionFn(41); |
| 2731 |
let __sym0 = __pop_Variant0(__symbols); |
| 2732 |
let __start = __sym0.0.clone(); |
| 2733 |
let __end = __sym0.2.clone(); |
| 2734 |
let __nt = super::__action41::<>(input, __sym0); |
| 2735 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2736 |
(1, 34) |
| 2737 |
} |
| 2738 |
pub(crate) fn __reduce83< |
| 2739 |
'input, |
| 2740 |
>( |
| 2741 |
input: &'input str, |
| 2742 |
__lookahead_start: Option<&usize>, |
| 2743 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2744 |
_: core::marker::PhantomData<(&'input ())>, |
| 2745 |
) -> (usize, usize) |
| 2746 |
{ |
| 2747 |
// Op50 = "%" => ActionFn(42); |
| 2748 |
let __sym0 = __pop_Variant0(__symbols); |
| 2749 |
let __start = __sym0.0.clone(); |
| 2750 |
let __end = __sym0.2.clone(); |
| 2751 |
let __nt = super::__action42::<>(input, __sym0); |
| 2752 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2753 |
(1, 35) |
| 2754 |
} |
| 2755 |
pub(crate) fn __reduce84< |
| 2756 |
'input, |
| 2757 |
>( |
| 2758 |
input: &'input str, |
| 2759 |
__lookahead_start: Option<&usize>, |
| 2760 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2761 |
_: core::marker::PhantomData<(&'input ())>, |
| 2762 |
) -> (usize, usize) |
| 2763 |
{ |
| 2764 |
// Op50 = "^" => ActionFn(43); |
| 2765 |
let __sym0 = __pop_Variant0(__symbols); |
| 2766 |
let __start = __sym0.0.clone(); |
| 2767 |
let __end = __sym0.2.clone(); |
| 2768 |
let __nt = super::__action43::<>(input, __sym0); |
| 2769 |
__symbols.push((__start, __Symbol::Variant14(__nt), __end)); |
| 2770 |
(1, 35) |
| 2771 |
} |
| 2772 |
pub(crate) fn __reduce85< |
| 2773 |
'input, |
| 2774 |
>( |
| 2775 |
input: &'input str, |
| 2776 |
__lookahead_start: Option<&usize>, |
| 2777 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2778 |
_: core::marker::PhantomData<(&'input ())>, |
| 2779 |
) -> (usize, usize) |
| 2780 |
{ |
| 2781 |
// String = r#"\"([^\"\\\\]*(\\\\\")?)*\""# => ActionFn(47); |
| 2782 |
let __sym0 = __pop_Variant0(__symbols); |
| 2783 |
let __start = __sym0.0.clone(); |
| 2784 |
let __end = __sym0.2.clone(); |
| 2785 |
let __nt = super::__action47::<>(input, __sym0); |
| 2786 |
__symbols.push((__start, __Symbol::Variant11(__nt), __end)); |
| 2787 |
(1, 36) |
| 2788 |
} |
| 2789 |
pub(crate) fn __reduce86< |
| 2790 |
'input, |
| 2791 |
>( |
| 2792 |
input: &'input str, |
| 2793 |
__lookahead_start: Option<&usize>, |
| 2794 |
__symbols: &mut alloc::vec::Vec<(usize,__Symbol<'input>,usize)>, |
| 2795 |
_: core::marker::PhantomData<(&'input ())>, |
| 2796 |
) -> (usize, usize) |
| 2797 |
{ |
| 2798 |
// String = r#"'([^'\\\\]*(\\\\')?)*'"# => ActionFn(48); |
| 2799 |
let __sym0 = __pop_Variant0(__symbols); |
| 2800 |
let __start = __sym0.0.clone(); |
| 2801 |
let __end = __sym0.2.clone(); |
| 2802 |
let __nt = super::__action48::<>(input, __sym0); |
| 2803 |
__symbols.push((__start, __Symbol::Variant11(__nt), __end)); |
| 2804 |
(1, 36) |
| 2805 |
} |
| 2806 |
} |
| 2807 |
pub use self::__parse__Expression::ExpressionParser; |
| 2808 |
#[cfg_attr(rustfmt, rustfmt_skip)] |
| 2809 |
mod __intern_token { |
| 2810 |
#![allow(unused_imports)] |
| 2811 |
use std::str::FromStr; |
| 2812 |
use crate::ast::{Expression, OpCode}; |
| 2813 |
#[allow(unused_extern_crates)] |
| 2814 |
extern crate lalrpop_util as __lalrpop_util; |
| 2815 |
#[allow(unused_imports)] |
| 2816 |
use self::__lalrpop_util::state_machine as __state_machine; |
| 2817 |
extern crate core; |
| 2818 |
extern crate alloc; |
| 2819 |
pub fn new_builder() -> __lalrpop_util::lexer::MatcherBuilder { |
| 2820 |
let __strs: &[(&str, bool)] = &[ |
| 2821 |
("^(\"([\0-!\\#-\\[\\]-\u{10ffff}]*(\\\\\")?)*\")", false), |
| 2822 |
("^('([\0-\\&\\(-\\[\\]-\u{10ffff}]*(\\\\')?)*')", false), |
| 2823 |
("^([0-9]+)", false), |
| 2824 |
("^([0-9]+\\.[0-9]*)", false), |
| 2825 |
("^([A-Z_a-z][0-9A-Z_a-z]*)", false), |
| 2826 |
("^(\\.[0-9]+)", false), |
| 2827 |
("^(!=)", false), |
| 2828 |
("^(%)", false), |
| 2829 |
("^(\\&\\&)", false), |
| 2830 |
("^(\\()", false), |
| 2831 |
("^(\\))", false), |
| 2832 |
("^(\\*)", false), |
| 2833 |
("^(\\+)", false), |
| 2834 |
("^(,)", false), |
| 2835 |
("^(\\-)", false), |
| 2836 |
("^(\\.)", false), |
| 2837 |
("^(/)", false), |
| 2838 |
("^(//)", false), |
| 2839 |
("^(:)", false), |
| 2840 |
("^(<)", false), |
| 2841 |
("^(<=)", false), |
| 2842 |
("^(==)", false), |
| 2843 |
("^(>)", false), |
| 2844 |
("^(>=)", false), |
| 2845 |
("^(\\?)", false), |
| 2846 |
("^(NULL)", false), |
| 2847 |
("^(Null)", false), |
| 2848 |
("^(\\[)", false), |
| 2849 |
("^(\\])", false), |
| 2850 |
("^(\\^)", false), |
| 2851 |
("^(false)", false), |
| 2852 |
("^(in)", false), |
| 2853 |
("^(null)", false), |
| 2854 |
("^(true)", false), |
| 2855 |
("^(\\{)", false), |
| 2856 |
("^(\\{\\})", false), |
| 2857 |
("^(\\|)", false), |
| 2858 |
("^(\\|\\|)", false), |
| 2859 |
("^(\\})", false), |
| 2860 |
(r"^(\s*)", true), |
| 2861 |
]; |
| 2862 |
__lalrpop_util::lexer::MatcherBuilder::new(__strs.iter().copied()).unwrap() |
| 2863 |
} |
| 2864 |
} |
| 2865 |
pub use self::__lalrpop_util::lexer::Token; |
| 2866 |
|
| 2867 |
#[allow(unused_variables)] |
| 2868 |
fn __action0<'input>( |
| 2869 |
input: &'input str, |
| 2870 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2871 |
) -> Box<Expression> { |
| 2872 |
__0 |
| 2873 |
} |
| 2874 |
|
| 2875 |
#[allow(unused_variables)] |
| 2876 |
fn __action1<'input>( |
| 2877 |
input: &'input str, |
| 2878 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2879 |
) -> Box<Expression> { |
| 2880 |
__0 |
| 2881 |
} |
| 2882 |
|
| 2883 |
#[allow(unused_variables)] |
| 2884 |
fn __action2<'input>( |
| 2885 |
input: &'input str, |
| 2886 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2887 |
(_, operation, _): (usize, OpCode, usize), |
| 2888 |
(_, right, _): (usize, Box<Expression>, usize), |
| 2889 |
) -> Box<Expression> { |
| 2890 |
Box::new(Expression::BinaryOperation { |
| 2891 |
left, |
| 2892 |
right, |
| 2893 |
operation, |
| 2894 |
}) |
| 2895 |
} |
| 2896 |
|
| 2897 |
#[allow(unused_variables)] |
| 2898 |
fn __action3<'input>( |
| 2899 |
input: &'input str, |
| 2900 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2901 |
) -> Box<Expression> { |
| 2902 |
__0 |
| 2903 |
} |
| 2904 |
|
| 2905 |
#[allow(unused_variables)] |
| 2906 |
fn __action4<'input>( |
| 2907 |
input: &'input str, |
| 2908 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2909 |
(_, operation, _): (usize, OpCode, usize), |
| 2910 |
(_, right, _): (usize, Box<Expression>, usize), |
| 2911 |
) -> Box<Expression> { |
| 2912 |
Box::new(Expression::BinaryOperation { |
| 2913 |
left, |
| 2914 |
right, |
| 2915 |
operation, |
| 2916 |
}) |
| 2917 |
} |
| 2918 |
|
| 2919 |
#[allow(unused_variables)] |
| 2920 |
fn __action5<'input>( |
| 2921 |
input: &'input str, |
| 2922 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2923 |
) -> Box<Expression> { |
| 2924 |
__0 |
| 2925 |
} |
| 2926 |
|
| 2927 |
#[allow(unused_variables)] |
| 2928 |
fn __action6<'input>( |
| 2929 |
input: &'input str, |
| 2930 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2931 |
(_, operation, _): (usize, OpCode, usize), |
| 2932 |
(_, right, _): (usize, Box<Expression>, usize), |
| 2933 |
) -> Box<Expression> { |
| 2934 |
Box::new(Expression::BinaryOperation { |
| 2935 |
left, |
| 2936 |
right, |
| 2937 |
operation, |
| 2938 |
}) |
| 2939 |
} |
| 2940 |
|
| 2941 |
#[allow(unused_variables)] |
| 2942 |
fn __action7<'input>( |
| 2943 |
input: &'input str, |
| 2944 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2945 |
) -> Box<Expression> { |
| 2946 |
__0 |
| 2947 |
} |
| 2948 |
|
| 2949 |
#[allow(unused_variables)] |
| 2950 |
fn __action8<'input>( |
| 2951 |
input: &'input str, |
| 2952 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2953 |
(_, operation, _): (usize, OpCode, usize), |
| 2954 |
(_, right, _): (usize, Box<Expression>, usize), |
| 2955 |
) -> Box<Expression> { |
| 2956 |
Box::new(Expression::BinaryOperation { |
| 2957 |
left, |
| 2958 |
right, |
| 2959 |
operation, |
| 2960 |
}) |
| 2961 |
} |
| 2962 |
|
| 2963 |
#[allow(unused_variables)] |
| 2964 |
fn __action9<'input>( |
| 2965 |
input: &'input str, |
| 2966 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2967 |
) -> Box<Expression> { |
| 2968 |
__0 |
| 2969 |
} |
| 2970 |
|
| 2971 |
#[allow(unused_variables)] |
| 2972 |
fn __action10<'input>( |
| 2973 |
input: &'input str, |
| 2974 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2975 |
(_, operation, _): (usize, OpCode, usize), |
| 2976 |
(_, right, _): (usize, Box<Expression>, usize), |
| 2977 |
) -> Box<Expression> { |
| 2978 |
Box::new(Expression::BinaryOperation { |
| 2979 |
left, |
| 2980 |
right, |
| 2981 |
operation, |
| 2982 |
}) |
| 2983 |
} |
| 2984 |
|
| 2985 |
#[allow(unused_variables)] |
| 2986 |
fn __action11<'input>( |
| 2987 |
input: &'input str, |
| 2988 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 2989 |
) -> Box<Expression> { |
| 2990 |
__0 |
| 2991 |
} |
| 2992 |
|
| 2993 |
#[allow(unused_variables)] |
| 2994 |
fn __action12<'input>( |
| 2995 |
input: &'input str, |
| 2996 |
(_, left, _): (usize, Box<Expression>, usize), |
| 2997 |
(_, _, _): (usize, &'input str, usize), |
| 2998 |
(_, truthy, _): (usize, Box<Expression>, usize), |
| 2999 |
(_, _, _): (usize, &'input str, usize), |
| 3000 |
(_, falsy, _): (usize, Box<Expression>, usize), |
| 3001 |
) -> Box<Expression> { |
| 3002 |
Box::new(Expression::Conditional { |
| 3003 |
left, |
| 3004 |
truthy, |
| 3005 |
falsy, |
| 3006 |
}) |
| 3007 |
} |
| 3008 |
|
| 3009 |
#[allow(unused_variables)] |
| 3010 |
fn __action13<'input>( |
| 3011 |
input: &'input str, |
| 3012 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3013 |
) -> Box<Expression> { |
| 3014 |
__0 |
| 3015 |
} |
| 3016 |
|
| 3017 |
#[allow(unused_variables)] |
| 3018 |
fn __action14<'input>( |
| 3019 |
input: &'input str, |
| 3020 |
(_, subject, _): (usize, Box<Expression>, usize), |
| 3021 |
(_, _, _): (usize, &'input str, usize), |
| 3022 |
(_, name, _): (usize, String, usize), |
| 3023 |
(_, args, _): (usize, core::option::Option<Vec<Box<Expression>>>, usize), |
| 3024 |
) -> Box<Expression> { |
| 3025 |
Box::new(Expression::Transform { |
| 3026 |
name, |
| 3027 |
subject, |
| 3028 |
args, |
| 3029 |
}) |
| 3030 |
} |
| 3031 |
|
| 3032 |
#[allow(unused_variables)] |
| 3033 |
fn __action15<'input>( |
| 3034 |
input: &'input str, |
| 3035 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3036 |
) -> Box<Expression> { |
| 3037 |
__0 |
| 3038 |
} |
| 3039 |
|
| 3040 |
#[allow(unused_variables)] |
| 3041 |
fn __action16<'input>( |
| 3042 |
input: &'input str, |
| 3043 |
(_, subject, _): (usize, Box<Expression>, usize), |
| 3044 |
(_, index, _): (usize, Box<Expression>, usize), |
| 3045 |
) -> Box<Expression> { |
| 3046 |
Box::new(Expression::IndexOperation { subject, index }) |
| 3047 |
} |
| 3048 |
|
| 3049 |
#[allow(unused_variables)] |
| 3050 |
fn __action17<'input>( |
| 3051 |
input: &'input str, |
| 3052 |
(_, subject, _): (usize, Box<Expression>, usize), |
| 3053 |
(_, _, _): (usize, &'input str, usize), |
| 3054 |
(_, ident, _): (usize, String, usize), |
| 3055 |
) -> Box<Expression> { |
| 3056 |
Box::new(Expression::DotOperation { subject, ident }) |
| 3057 |
} |
| 3058 |
|
| 3059 |
#[allow(unused_variables)] |
| 3060 |
fn __action18<'input>( |
| 3061 |
input: &'input str, |
| 3062 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3063 |
) -> Box<Expression> { |
| 3064 |
__0 |
| 3065 |
} |
| 3066 |
|
| 3067 |
#[allow(unused_variables)] |
| 3068 |
fn __action19<'input>(input: &'input str, (_, __0, _): (usize, f64, usize)) -> Box<Expression> { |
| 3069 |
Box::new(Expression::Number(__0)) |
| 3070 |
} |
| 3071 |
|
| 3072 |
#[allow(unused_variables)] |
| 3073 |
fn __action20<'input>(input: &'input str, (_, __0, _): (usize, bool, usize)) -> Box<Expression> { |
| 3074 |
Box::new(Expression::Boolean(__0)) |
| 3075 |
} |
| 3076 |
|
| 3077 |
#[allow(unused_variables)] |
| 3078 |
fn __action21<'input>(input: &'input str, (_, __0, _): (usize, String, usize)) -> Box<Expression> { |
| 3079 |
Box::new(Expression::String(__0)) |
| 3080 |
} |
| 3081 |
|
| 3082 |
#[allow(unused_variables)] |
| 3083 |
fn __action22<'input>( |
| 3084 |
input: &'input str, |
| 3085 |
(_, __0, _): (usize, Vec<Box<Expression>>, usize), |
| 3086 |
) -> Box<Expression> { |
| 3087 |
Box::new(Expression::Array(__0)) |
| 3088 |
} |
| 3089 |
|
| 3090 |
#[allow(unused_variables)] |
| 3091 |
fn __action23<'input>( |
| 3092 |
input: &'input str, |
| 3093 |
(_, __0, _): (usize, Vec<(String, Box<Expression>)>, usize), |
| 3094 |
) -> Box<Expression> { |
| 3095 |
Box::new(Expression::Object(__0)) |
| 3096 |
} |
| 3097 |
|
| 3098 |
#[allow(unused_variables)] |
| 3099 |
fn __action24<'input>( |
| 3100 |
input: &'input str, |
| 3101 |
(_, __0, _): (usize, Option<Box<Expression>>, usize), |
| 3102 |
) -> Box<Expression> { |
| 3103 |
Box::new(Expression::Null) |
| 3104 |
} |
| 3105 |
|
| 3106 |
#[allow(unused_variables)] |
| 3107 |
fn __action25<'input>(input: &'input str, (_, __0, _): (usize, String, usize)) -> Box<Expression> { |
| 3108 |
Box::new(Expression::Identifier(__0)) |
| 3109 |
} |
| 3110 |
|
| 3111 |
#[allow(unused_variables)] |
| 3112 |
fn __action26<'input>( |
| 3113 |
input: &'input str, |
| 3114 |
(_, _, _): (usize, &'input str, usize), |
| 3115 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3116 |
(_, _, _): (usize, &'input str, usize), |
| 3117 |
) -> Box<Expression> { |
| 3118 |
__0 |
| 3119 |
} |
| 3120 |
|
| 3121 |
#[allow(unused_variables)] |
| 3122 |
fn __action27<'input>( |
| 3123 |
input: &'input str, |
| 3124 |
(_, _, _): (usize, &'input str, usize), |
| 3125 |
(_, __0, _): (usize, Vec<Box<Expression>>, usize), |
| 3126 |
(_, _, _): (usize, &'input str, usize), |
| 3127 |
) -> Vec<Box<Expression>> { |
| 3128 |
__0 |
| 3129 |
} |
| 3130 |
|
| 3131 |
#[allow(unused_variables)] |
| 3132 |
fn __action28<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3133 |
OpCode::And |
| 3134 |
} |
| 3135 |
|
| 3136 |
#[allow(unused_variables)] |
| 3137 |
fn __action29<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3138 |
OpCode::Or |
| 3139 |
} |
| 3140 |
|
| 3141 |
#[allow(unused_variables)] |
| 3142 |
fn __action30<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3143 |
OpCode::Equal |
| 3144 |
} |
| 3145 |
|
| 3146 |
#[allow(unused_variables)] |
| 3147 |
fn __action31<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3148 |
OpCode::NotEqual |
| 3149 |
} |
| 3150 |
|
| 3151 |
#[allow(unused_variables)] |
| 3152 |
fn __action32<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3153 |
OpCode::GreaterEqual |
| 3154 |
} |
| 3155 |
|
| 3156 |
#[allow(unused_variables)] |
| 3157 |
fn __action33<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3158 |
OpCode::LessEqual |
| 3159 |
} |
| 3160 |
|
| 3161 |
#[allow(unused_variables)] |
| 3162 |
fn __action34<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3163 |
OpCode::Greater |
| 3164 |
} |
| 3165 |
|
| 3166 |
#[allow(unused_variables)] |
| 3167 |
fn __action35<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3168 |
OpCode::Less |
| 3169 |
} |
| 3170 |
|
| 3171 |
#[allow(unused_variables)] |
| 3172 |
fn __action36<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3173 |
OpCode::In |
| 3174 |
} |
| 3175 |
|
| 3176 |
#[allow(unused_variables)] |
| 3177 |
fn __action37<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3178 |
OpCode::Add |
| 3179 |
} |
| 3180 |
|
| 3181 |
#[allow(unused_variables)] |
| 3182 |
fn __action38<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3183 |
OpCode::Subtract |
| 3184 |
} |
| 3185 |
|
| 3186 |
#[allow(unused_variables)] |
| 3187 |
fn __action39<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3188 |
OpCode::Multiply |
| 3189 |
} |
| 3190 |
|
| 3191 |
#[allow(unused_variables)] |
| 3192 |
fn __action40<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3193 |
OpCode::FloorDivide |
| 3194 |
} |
| 3195 |
|
| 3196 |
#[allow(unused_variables)] |
| 3197 |
fn __action41<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3198 |
OpCode::Divide |
| 3199 |
} |
| 3200 |
|
| 3201 |
#[allow(unused_variables)] |
| 3202 |
fn __action42<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3203 |
OpCode::Modulus |
| 3204 |
} |
| 3205 |
|
| 3206 |
#[allow(unused_variables)] |
| 3207 |
fn __action43<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> OpCode { |
| 3208 |
OpCode::Exponent |
| 3209 |
} |
| 3210 |
|
| 3211 |
#[allow(unused_variables)] |
| 3212 |
fn __action44<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> f64 { |
| 3213 |
f64::from_str(__0).unwrap() |
| 3214 |
} |
| 3215 |
|
| 3216 |
#[allow(unused_variables)] |
| 3217 |
fn __action45<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> f64 { |
| 3218 |
f64::from_str(__0).unwrap() |
| 3219 |
} |
| 3220 |
|
| 3221 |
#[allow(unused_variables)] |
| 3222 |
fn __action46<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> f64 { |
| 3223 |
f64::from_str(__0).unwrap() |
| 3224 |
} |
| 3225 |
|
| 3226 |
#[allow(unused_variables)] |
| 3227 |
fn __action47<'input>(input: &'input str, (_, s, _): (usize, &'input str, usize)) -> String { |
| 3228 |
s[1..s.len() - 1].to_string().replace("\\\"", "\"") |
| 3229 |
} |
| 3230 |
|
| 3231 |
#[allow(unused_variables)] |
| 3232 |
fn __action48<'input>(input: &'input str, (_, s, _): (usize, &'input str, usize)) -> String { |
| 3233 |
s[1..s.len() - 1].to_string().replace("\\'", "'") |
| 3234 |
} |
| 3235 |
|
| 3236 |
#[allow(unused_variables)] |
| 3237 |
fn __action49<'input>( |
| 3238 |
input: &'input str, |
| 3239 |
(_, __0, _): (usize, &'input str, usize), |
| 3240 |
) -> Option<Box<Expression>> { |
| 3241 |
None |
| 3242 |
} |
| 3243 |
|
| 3244 |
#[allow(unused_variables)] |
| 3245 |
fn __action50<'input>( |
| 3246 |
input: &'input str, |
| 3247 |
(_, __0, _): (usize, &'input str, usize), |
| 3248 |
) -> Option<Box<Expression>> { |
| 3249 |
None |
| 3250 |
} |
| 3251 |
|
| 3252 |
#[allow(unused_variables)] |
| 3253 |
fn __action51<'input>( |
| 3254 |
input: &'input str, |
| 3255 |
(_, __0, _): (usize, &'input str, usize), |
| 3256 |
) -> Option<Box<Expression>> { |
| 3257 |
None |
| 3258 |
} |
| 3259 |
|
| 3260 |
#[allow(unused_variables)] |
| 3261 |
fn __action52<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> String { |
| 3262 |
__0.to_string() |
| 3263 |
} |
| 3264 |
|
| 3265 |
#[allow(unused_variables)] |
| 3266 |
fn __action53<'input>( |
| 3267 |
input: &'input str, |
| 3268 |
(_, _, _): (usize, &'input str, usize), |
| 3269 |
(_, _, _): (usize, &'input str, usize), |
| 3270 |
(_, ident, _): (usize, String, usize), |
| 3271 |
(_, op, _): (usize, OpCode, usize), |
| 3272 |
(_, right, _): (usize, Box<Expression>, usize), |
| 3273 |
(_, _, _): (usize, &'input str, usize), |
| 3274 |
) -> Box<Expression> { |
| 3275 |
Box::new(Expression::Filter { ident, op, right }) |
| 3276 |
} |
| 3277 |
|
| 3278 |
#[allow(unused_variables)] |
| 3279 |
fn __action54<'input>( |
| 3280 |
input: &'input str, |
| 3281 |
(_, _, _): (usize, &'input str, usize), |
| 3282 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3283 |
(_, _, _): (usize, &'input str, usize), |
| 3284 |
) -> Box<Expression> { |
| 3285 |
__0 |
| 3286 |
} |
| 3287 |
|
| 3288 |
#[allow(unused_variables)] |
| 3289 |
fn __action55<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> bool { |
| 3290 |
true |
| 3291 |
} |
| 3292 |
|
| 3293 |
#[allow(unused_variables)] |
| 3294 |
fn __action56<'input>(input: &'input str, (_, __0, _): (usize, &'input str, usize)) -> bool { |
| 3295 |
false |
| 3296 |
} |
| 3297 |
|
| 3298 |
#[allow(unused_variables)] |
| 3299 |
fn __action57<'input>( |
| 3300 |
input: &'input str, |
| 3301 |
(_, _, _): (usize, &'input str, usize), |
| 3302 |
(_, __0, _): (usize, Vec<Box<Expression>>, usize), |
| 3303 |
(_, _, _): (usize, &'input str, usize), |
| 3304 |
) -> Vec<Box<Expression>> { |
| 3305 |
__0 |
| 3306 |
} |
| 3307 |
|
| 3308 |
#[allow(unused_variables)] |
| 3309 |
fn __action58<'input>( |
| 3310 |
input: &'input str, |
| 3311 |
(_, _, _): (usize, &'input str, usize), |
| 3312 |
(_, __0, _): (usize, Vec<(String, Box<Expression>)>, usize), |
| 3313 |
(_, _, _): (usize, &'input str, usize), |
| 3314 |
) -> Vec<(String, Box<Expression>)> { |
| 3315 |
__0 |
| 3316 |
} |
| 3317 |
|
| 3318 |
#[allow(unused_variables)] |
| 3319 |
fn __action59<'input>( |
| 3320 |
input: &'input str, |
| 3321 |
(_, __0, _): (usize, &'input str, usize), |
| 3322 |
) -> Vec<(String, Box<Expression>)> { |
| 3323 |
vec![] |
| 3324 |
} |
| 3325 |
|
| 3326 |
#[allow(unused_variables)] |
| 3327 |
fn __action60<'input>(input: &'input str, (_, __0, _): (usize, String, usize)) -> String { |
| 3328 |
__0 |
| 3329 |
} |
| 3330 |
|
| 3331 |
#[allow(unused_variables)] |
| 3332 |
fn __action61<'input>(input: &'input str, (_, __0, _): (usize, String, usize)) -> String { |
| 3333 |
__0 |
| 3334 |
} |
| 3335 |
|
| 3336 |
#[allow(unused_variables)] |
| 3337 |
fn __action62<'input>( |
| 3338 |
input: &'input str, |
| 3339 |
(_, v, _): (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3340 |
(_, e, _): ( |
| 3341 |
usize, |
| 3342 |
core::option::Option<(String, Box<Expression>)>, |
| 3343 |
usize, |
| 3344 |
), |
| 3345 |
) -> Vec<(String, Box<Expression>)> { |
| 3346 |
match e { |
| 3347 |
None => v, |
| 3348 |
Some(e) => { |
| 3349 |
let mut v = v; |
| 3350 |
v.push(e); |
| 3351 |
v |
| 3352 |
} |
| 3353 |
} |
| 3354 |
} |
| 3355 |
|
| 3356 |
#[allow(unused_variables)] |
| 3357 |
fn __action63<'input>( |
| 3358 |
input: &'input str, |
| 3359 |
(_, __0, _): (usize, String, usize), |
| 3360 |
(_, _, _): (usize, &'input str, usize), |
| 3361 |
(_, __1, _): (usize, Box<Expression>, usize), |
| 3362 |
) -> (String, Box<Expression>) { |
| 3363 |
(__0, __1) |
| 3364 |
} |
| 3365 |
|
| 3366 |
#[allow(unused_variables)] |
| 3367 |
fn __action64<'input>( |
| 3368 |
input: &'input str, |
| 3369 |
(_, v, _): (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3370 |
(_, e, _): (usize, core::option::Option<Box<Expression>>, usize), |
| 3371 |
) -> Vec<Box<Expression>> { |
| 3372 |
match e { |
| 3373 |
None => v, |
| 3374 |
Some(e) => { |
| 3375 |
let mut v = v; |
| 3376 |
v.push(e); |
| 3377 |
v |
| 3378 |
} |
| 3379 |
} |
| 3380 |
} |
| 3381 |
|
| 3382 |
#[allow(unused_variables)] |
| 3383 |
fn __action65<'input>( |
| 3384 |
input: &'input str, |
| 3385 |
(_, __0, _): (usize, Vec<Box<Expression>>, usize), |
| 3386 |
) -> core::option::Option<Vec<Box<Expression>>> { |
| 3387 |
Some(__0) |
| 3388 |
} |
| 3389 |
|
| 3390 |
#[allow(unused_variables)] |
| 3391 |
fn __action66<'input>( |
| 3392 |
input: &'input str, |
| 3393 |
__lookbehind: &usize, |
| 3394 |
__lookahead: &usize, |
| 3395 |
) -> core::option::Option<Vec<Box<Expression>>> { |
| 3396 |
None |
| 3397 |
} |
| 3398 |
|
| 3399 |
#[allow(unused_variables)] |
| 3400 |
fn __action67<'input>( |
| 3401 |
input: &'input str, |
| 3402 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3403 |
) -> core::option::Option<Box<Expression>> { |
| 3404 |
Some(__0) |
| 3405 |
} |
| 3406 |
|
| 3407 |
#[allow(unused_variables)] |
| 3408 |
fn __action68<'input>( |
| 3409 |
input: &'input str, |
| 3410 |
__lookbehind: &usize, |
| 3411 |
__lookahead: &usize, |
| 3412 |
) -> core::option::Option<Box<Expression>> { |
| 3413 |
None |
| 3414 |
} |
| 3415 |
|
| 3416 |
#[allow(unused_variables)] |
| 3417 |
fn __action69<'input>( |
| 3418 |
input: &'input str, |
| 3419 |
__lookbehind: &usize, |
| 3420 |
__lookahead: &usize, |
| 3421 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3422 |
alloc::vec![] |
| 3423 |
} |
| 3424 |
|
| 3425 |
#[allow(unused_variables)] |
| 3426 |
fn __action70<'input>( |
| 3427 |
input: &'input str, |
| 3428 |
(_, v, _): (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3429 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3430 |
v |
| 3431 |
} |
| 3432 |
|
| 3433 |
#[allow(unused_variables)] |
| 3434 |
fn __action71<'input>( |
| 3435 |
input: &'input str, |
| 3436 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3437 |
(_, _, _): (usize, &'input str, usize), |
| 3438 |
) -> Box<Expression> { |
| 3439 |
__0 |
| 3440 |
} |
| 3441 |
|
| 3442 |
#[allow(unused_variables)] |
| 3443 |
fn __action72<'input>( |
| 3444 |
input: &'input str, |
| 3445 |
(_, __0, _): (usize, (String, Box<Expression>), usize), |
| 3446 |
) -> core::option::Option<(String, Box<Expression>)> { |
| 3447 |
Some(__0) |
| 3448 |
} |
| 3449 |
|
| 3450 |
#[allow(unused_variables)] |
| 3451 |
fn __action73<'input>( |
| 3452 |
input: &'input str, |
| 3453 |
__lookbehind: &usize, |
| 3454 |
__lookahead: &usize, |
| 3455 |
) -> core::option::Option<(String, Box<Expression>)> { |
| 3456 |
None |
| 3457 |
} |
| 3458 |
|
| 3459 |
#[allow(unused_variables)] |
| 3460 |
fn __action74<'input>( |
| 3461 |
input: &'input str, |
| 3462 |
__lookbehind: &usize, |
| 3463 |
__lookahead: &usize, |
| 3464 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3465 |
alloc::vec![] |
| 3466 |
} |
| 3467 |
|
| 3468 |
#[allow(unused_variables)] |
| 3469 |
fn __action75<'input>( |
| 3470 |
input: &'input str, |
| 3471 |
(_, v, _): (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3472 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3473 |
v |
| 3474 |
} |
| 3475 |
|
| 3476 |
#[allow(unused_variables)] |
| 3477 |
fn __action76<'input>( |
| 3478 |
input: &'input str, |
| 3479 |
(_, __0, _): (usize, (String, Box<Expression>), usize), |
| 3480 |
(_, _, _): (usize, &'input str, usize), |
| 3481 |
) -> (String, Box<Expression>) { |
| 3482 |
__0 |
| 3483 |
} |
| 3484 |
|
| 3485 |
#[allow(unused_variables)] |
| 3486 |
fn __action77<'input>( |
| 3487 |
input: &'input str, |
| 3488 |
(_, __0, _): (usize, (String, Box<Expression>), usize), |
| 3489 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3490 |
alloc::vec![__0] |
| 3491 |
} |
| 3492 |
|
| 3493 |
#[allow(unused_variables)] |
| 3494 |
fn __action78<'input>( |
| 3495 |
input: &'input str, |
| 3496 |
(_, v, _): (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3497 |
(_, e, _): (usize, (String, Box<Expression>), usize), |
| 3498 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3499 |
{ |
| 3500 |
let mut v = v; |
| 3501 |
v.push(e); |
| 3502 |
v |
| 3503 |
} |
| 3504 |
} |
| 3505 |
|
| 3506 |
#[allow(unused_variables)] |
| 3507 |
fn __action79<'input>( |
| 3508 |
input: &'input str, |
| 3509 |
(_, __0, _): (usize, Box<Expression>, usize), |
| 3510 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3511 |
alloc::vec![__0] |
| 3512 |
} |
| 3513 |
|
| 3514 |
#[allow(unused_variables)] |
| 3515 |
fn __action80<'input>( |
| 3516 |
input: &'input str, |
| 3517 |
(_, v, _): (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3518 |
(_, e, _): (usize, Box<Expression>, usize), |
| 3519 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3520 |
{ |
| 3521 |
let mut v = v; |
| 3522 |
v.push(e); |
| 3523 |
v |
| 3524 |
} |
| 3525 |
} |
| 3526 |
|
| 3527 |
#[allow(unused_variables)] |
| 3528 |
fn __action81<'input>( |
| 3529 |
input: &'input str, |
| 3530 |
__0: (usize, String, usize), |
| 3531 |
__1: (usize, &'input str, usize), |
| 3532 |
__2: (usize, Box<Expression>, usize), |
| 3533 |
__3: (usize, &'input str, usize), |
| 3534 |
) -> (String, Box<Expression>) { |
| 3535 |
let __start0 = __0.0.clone(); |
| 3536 |
let __end0 = __2.2.clone(); |
| 3537 |
let __temp0 = __action63(input, __0, __1, __2); |
| 3538 |
let __temp0 = (__start0, __temp0, __end0); |
| 3539 |
__action76(input, __temp0, __3) |
| 3540 |
} |
| 3541 |
|
| 3542 |
#[allow(unused_variables)] |
| 3543 |
fn __action82<'input>( |
| 3544 |
input: &'input str, |
| 3545 |
__0: (usize, String, usize), |
| 3546 |
__1: (usize, &'input str, usize), |
| 3547 |
__2: (usize, Box<Expression>, usize), |
| 3548 |
) -> core::option::Option<(String, Box<Expression>)> { |
| 3549 |
let __start0 = __0.0.clone(); |
| 3550 |
let __end0 = __2.2.clone(); |
| 3551 |
let __temp0 = __action63(input, __0, __1, __2); |
| 3552 |
let __temp0 = (__start0, __temp0, __end0); |
| 3553 |
__action72(input, __temp0) |
| 3554 |
} |
| 3555 |
|
| 3556 |
#[allow(unused_variables)] |
| 3557 |
fn __action83<'input>( |
| 3558 |
input: &'input str, |
| 3559 |
__0: (usize, String, usize), |
| 3560 |
__1: (usize, &'input str, usize), |
| 3561 |
__2: (usize, Box<Expression>, usize), |
| 3562 |
__3: (usize, &'input str, usize), |
| 3563 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3564 |
let __start0 = __0.0.clone(); |
| 3565 |
let __end0 = __3.2.clone(); |
| 3566 |
let __temp0 = __action81(input, __0, __1, __2, __3); |
| 3567 |
let __temp0 = (__start0, __temp0, __end0); |
| 3568 |
__action77(input, __temp0) |
| 3569 |
} |
| 3570 |
|
| 3571 |
#[allow(unused_variables)] |
| 3572 |
fn __action84<'input>( |
| 3573 |
input: &'input str, |
| 3574 |
__0: (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3575 |
__1: (usize, String, usize), |
| 3576 |
__2: (usize, &'input str, usize), |
| 3577 |
__3: (usize, Box<Expression>, usize), |
| 3578 |
__4: (usize, &'input str, usize), |
| 3579 |
) -> alloc::vec::Vec<(String, Box<Expression>)> { |
| 3580 |
let __start0 = __1.0.clone(); |
| 3581 |
let __end0 = __4.2.clone(); |
| 3582 |
let __temp0 = __action81(input, __1, __2, __3, __4); |
| 3583 |
let __temp0 = (__start0, __temp0, __end0); |
| 3584 |
__action78(input, __0, __temp0) |
| 3585 |
} |
| 3586 |
|
| 3587 |
#[allow(unused_variables)] |
| 3588 |
fn __action85<'input>( |
| 3589 |
input: &'input str, |
| 3590 |
__0: ( |
| 3591 |
usize, |
| 3592 |
core::option::Option<(String, Box<Expression>)>, |
| 3593 |
usize, |
| 3594 |
), |
| 3595 |
) -> Vec<(String, Box<Expression>)> { |
| 3596 |
let __start0 = __0.0.clone(); |
| 3597 |
let __end0 = __0.0.clone(); |
| 3598 |
let __temp0 = __action74(input, &__start0, &__end0); |
| 3599 |
let __temp0 = (__start0, __temp0, __end0); |
| 3600 |
__action62(input, __temp0, __0) |
| 3601 |
} |
| 3602 |
|
| 3603 |
#[allow(unused_variables)] |
| 3604 |
fn __action86<'input>( |
| 3605 |
input: &'input str, |
| 3606 |
__0: (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3607 |
__1: ( |
| 3608 |
usize, |
| 3609 |
core::option::Option<(String, Box<Expression>)>, |
| 3610 |
usize, |
| 3611 |
), |
| 3612 |
) -> Vec<(String, Box<Expression>)> { |
| 3613 |
let __start0 = __0.0.clone(); |
| 3614 |
let __end0 = __0.2.clone(); |
| 3615 |
let __temp0 = __action75(input, __0); |
| 3616 |
let __temp0 = (__start0, __temp0, __end0); |
| 3617 |
__action62(input, __temp0, __1) |
| 3618 |
} |
| 3619 |
|
| 3620 |
#[allow(unused_variables)] |
| 3621 |
fn __action87<'input>( |
| 3622 |
input: &'input str, |
| 3623 |
__0: (usize, Box<Expression>, usize), |
| 3624 |
__1: (usize, &'input str, usize), |
| 3625 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3626 |
let __start0 = __0.0.clone(); |
| 3627 |
let __end0 = __1.2.clone(); |
| 3628 |
let __temp0 = __action71(input, __0, __1); |
| 3629 |
let __temp0 = (__start0, __temp0, __end0); |
| 3630 |
__action79(input, __temp0) |
| 3631 |
} |
| 3632 |
|
| 3633 |
#[allow(unused_variables)] |
| 3634 |
fn __action88<'input>( |
| 3635 |
input: &'input str, |
| 3636 |
__0: (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3637 |
__1: (usize, Box<Expression>, usize), |
| 3638 |
__2: (usize, &'input str, usize), |
| 3639 |
) -> alloc::vec::Vec<Box<Expression>> { |
| 3640 |
let __start0 = __1.0.clone(); |
| 3641 |
let __end0 = __2.2.clone(); |
| 3642 |
let __temp0 = __action71(input, __1, __2); |
| 3643 |
let __temp0 = (__start0, __temp0, __end0); |
| 3644 |
__action80(input, __0, __temp0) |
| 3645 |
} |
| 3646 |
|
| 3647 |
#[allow(unused_variables)] |
| 3648 |
fn __action89<'input>( |
| 3649 |
input: &'input str, |
| 3650 |
__0: (usize, core::option::Option<Box<Expression>>, usize), |
| 3651 |
) -> Vec<Box<Expression>> { |
| 3652 |
let __start0 = __0.0.clone(); |
| 3653 |
let __end0 = __0.0.clone(); |
| 3654 |
let __temp0 = __action69(input, &__start0, &__end0); |
| 3655 |
let __temp0 = (__start0, __temp0, __end0); |
| 3656 |
__action64(input, __temp0, __0) |
| 3657 |
} |
| 3658 |
|
| 3659 |
#[allow(unused_variables)] |
| 3660 |
fn __action90<'input>( |
| 3661 |
input: &'input str, |
| 3662 |
__0: (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3663 |
__1: (usize, core::option::Option<Box<Expression>>, usize), |
| 3664 |
) -> Vec<Box<Expression>> { |
| 3665 |
let __start0 = __0.0.clone(); |
| 3666 |
let __end0 = __0.2.clone(); |
| 3667 |
let __temp0 = __action70(input, __0); |
| 3668 |
let __temp0 = (__start0, __temp0, __end0); |
| 3669 |
__action64(input, __temp0, __1) |
| 3670 |
} |
| 3671 |
|
| 3672 |
#[allow(unused_variables)] |
| 3673 |
fn __action91<'input>( |
| 3674 |
input: &'input str, |
| 3675 |
__0: (usize, String, usize), |
| 3676 |
__1: (usize, &'input str, usize), |
| 3677 |
__2: (usize, Box<Expression>, usize), |
| 3678 |
) -> Vec<(String, Box<Expression>)> { |
| 3679 |
let __start0 = __0.0.clone(); |
| 3680 |
let __end0 = __2.2.clone(); |
| 3681 |
let __temp0 = __action82(input, __0, __1, __2); |
| 3682 |
let __temp0 = (__start0, __temp0, __end0); |
| 3683 |
__action85(input, __temp0) |
| 3684 |
} |
| 3685 |
|
| 3686 |
#[allow(unused_variables)] |
| 3687 |
fn __action92<'input>( |
| 3688 |
input: &'input str, |
| 3689 |
__lookbehind: &usize, |
| 3690 |
__lookahead: &usize, |
| 3691 |
) -> Vec<(String, Box<Expression>)> { |
| 3692 |
let __start0 = __lookbehind.clone(); |
| 3693 |
let __end0 = __lookahead.clone(); |
| 3694 |
let __temp0 = __action73(input, &__start0, &__end0); |
| 3695 |
let __temp0 = (__start0, __temp0, __end0); |
| 3696 |
__action85(input, __temp0) |
| 3697 |
} |
| 3698 |
|
| 3699 |
#[allow(unused_variables)] |
| 3700 |
fn __action93<'input>( |
| 3701 |
input: &'input str, |
| 3702 |
__0: (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3703 |
__1: (usize, String, usize), |
| 3704 |
__2: (usize, &'input str, usize), |
| 3705 |
__3: (usize, Box<Expression>, usize), |
| 3706 |
) -> Vec<(String, Box<Expression>)> { |
| 3707 |
let __start0 = __1.0.clone(); |
| 3708 |
let __end0 = __3.2.clone(); |
| 3709 |
let __temp0 = __action82(input, __1, __2, __3); |
| 3710 |
let __temp0 = (__start0, __temp0, __end0); |
| 3711 |
__action86(input, __0, __temp0) |
| 3712 |
} |
| 3713 |
|
| 3714 |
#[allow(unused_variables)] |
| 3715 |
fn __action94<'input>( |
| 3716 |
input: &'input str, |
| 3717 |
__0: (usize, alloc::vec::Vec<(String, Box<Expression>)>, usize), |
| 3718 |
) -> Vec<(String, Box<Expression>)> { |
| 3719 |
let __start0 = __0.2.clone(); |
| 3720 |
let __end0 = __0.2.clone(); |
| 3721 |
let __temp0 = __action73(input, &__start0, &__end0); |
| 3722 |
let __temp0 = (__start0, __temp0, __end0); |
| 3723 |
__action86(input, __0, __temp0) |
| 3724 |
} |
| 3725 |
|
| 3726 |
#[allow(unused_variables)] |
| 3727 |
fn __action95<'input>( |
| 3728 |
input: &'input str, |
| 3729 |
__0: (usize, Box<Expression>, usize), |
| 3730 |
__1: (usize, &'input str, usize), |
| 3731 |
__2: (usize, String, usize), |
| 3732 |
__3: (usize, Vec<Box<Expression>>, usize), |
| 3733 |
) -> Box<Expression> { |
| 3734 |
let __start0 = __3.0.clone(); |
| 3735 |
let __end0 = __3.2.clone(); |
| 3736 |
let __temp0 = __action65(input, __3); |
| 3737 |
let __temp0 = (__start0, __temp0, __end0); |
| 3738 |
__action14(input, __0, __1, __2, __temp0) |
| 3739 |
} |
| 3740 |
|
| 3741 |
#[allow(unused_variables)] |
| 3742 |
fn __action96<'input>( |
| 3743 |
input: &'input str, |
| 3744 |
__0: (usize, Box<Expression>, usize), |
| 3745 |
__1: (usize, &'input str, usize), |
| 3746 |
__2: (usize, String, usize), |
| 3747 |
) -> Box<Expression> { |
| 3748 |
let __start0 = __2.2.clone(); |
| 3749 |
let __end0 = __2.2.clone(); |
| 3750 |
let __temp0 = __action66(input, &__start0, &__end0); |
| 3751 |
let __temp0 = (__start0, __temp0, __end0); |
| 3752 |
__action14(input, __0, __1, __2, __temp0) |
| 3753 |
} |
| 3754 |
|
| 3755 |
#[allow(unused_variables)] |
| 3756 |
fn __action97<'input>( |
| 3757 |
input: &'input str, |
| 3758 |
__0: (usize, Box<Expression>, usize), |
| 3759 |
) -> Vec<Box<Expression>> { |
| 3760 |
let __start0 = __0.0.clone(); |
| 3761 |
let __end0 = __0.2.clone(); |
| 3762 |
let __temp0 = __action67(input, __0); |
| 3763 |
let __temp0 = (__start0, __temp0, __end0); |
| 3764 |
__action89(input, __temp0) |
| 3765 |
} |
| 3766 |
|
| 3767 |
#[allow(unused_variables)] |
| 3768 |
fn __action98<'input>( |
| 3769 |
input: &'input str, |
| 3770 |
__lookbehind: &usize, |
| 3771 |
__lookahead: &usize, |
| 3772 |
) -> Vec<Box<Expression>> { |
| 3773 |
let __start0 = __lookbehind.clone(); |
| 3774 |
let __end0 = __lookahead.clone(); |
| 3775 |
let __temp0 = __action68(input, &__start0, &__end0); |
| 3776 |
let __temp0 = (__start0, __temp0, __end0); |
| 3777 |
__action89(input, __temp0) |
| 3778 |
} |
| 3779 |
|
| 3780 |
#[allow(unused_variables)] |
| 3781 |
fn __action99<'input>( |
| 3782 |
input: &'input str, |
| 3783 |
__0: (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3784 |
__1: (usize, Box<Expression>, usize), |
| 3785 |
) -> Vec<Box<Expression>> { |
| 3786 |
let __start0 = __1.0.clone(); |
| 3787 |
let __end0 = __1.2.clone(); |
| 3788 |
let __temp0 = __action67(input, __1); |
| 3789 |
let __temp0 = (__start0, __temp0, __end0); |
| 3790 |
__action90(input, __0, __temp0) |
| 3791 |
} |
| 3792 |
|
| 3793 |
#[allow(unused_variables)] |
| 3794 |
fn __action100<'input>( |
| 3795 |
input: &'input str, |
| 3796 |
__0: (usize, alloc::vec::Vec<Box<Expression>>, usize), |
| 3797 |
) -> Vec<Box<Expression>> { |
| 3798 |
let __start0 = __0.2.clone(); |
| 3799 |
let __end0 = __0.2.clone(); |
| 3800 |
let __temp0 = __action68(input, &__start0, &__end0); |
| 3801 |
let __temp0 = (__start0, __temp0, __end0); |
| 3802 |
__action90(input, __0, __temp0) |
| 3803 |
} |
| 3804 |
|
| 3805 |
pub trait __ToTriple<'input> { |
| 3806 |
#[allow(dead_code)] |
| 3807 |
fn to_triple( |
| 3808 |
value: Self, |
| 3809 |
) -> Result< |
| 3810 |
(usize, Token<'input>, usize), |
| 3811 |
__lalrpop_util::ParseError<usize, Token<'input>, &'static str>, |
| 3812 |
>; |
| 3813 |
} |
| 3814 |
|
| 3815 |
impl<'input> __ToTriple<'input> for (usize, Token<'input>, usize) { |
| 3816 |
fn to_triple( |
| 3817 |
value: Self, |
| 3818 |
) -> Result< |
| 3819 |
(usize, Token<'input>, usize), |
| 3820 |
__lalrpop_util::ParseError<usize, Token<'input>, &'static str>, |
| 3821 |
> { |
| 3822 |
Ok(value) |
| 3823 |
} |
| 3824 |
} |
| 3825 |
impl<'input> __ToTriple<'input> for Result<(usize, Token<'input>, usize), &'static str> { |
| 3826 |
fn to_triple( |
| 3827 |
value: Self, |
| 3828 |
) -> Result< |
| 3829 |
(usize, Token<'input>, usize), |
| 3830 |
__lalrpop_util::ParseError<usize, Token<'input>, &'static str>, |
| 3831 |
> { |
| 3832 |
match value { |
| 3833 |
Ok(v) => Ok(v), |
| 3834 |
Err(error) => Err(__lalrpop_util::ParseError::User { error }), |
| 3835 |
} |
| 3836 |
} |
| 3837 |
} |