pub enum Node {
Show 27 variants
BooleanKind(bool),
NumberKind(f64),
StringKind(String),
ReferenceKind {
sheet_name: Option<String>,
sheet_index: u32,
absolute_row: bool,
absolute_column: bool,
row: i32,
column: i32,
},
RangeKind {
sheet_name: Option<String>,
sheet_index: u32,
absolute_row1: bool,
absolute_column1: bool,
row1: i32,
column1: i32,
absolute_row2: bool,
absolute_column2: bool,
row2: i32,
column2: i32,
},
WrongReferenceKind {
sheet_name: Option<String>,
absolute_row: bool,
absolute_column: bool,
row: i32,
column: i32,
},
WrongRangeKind {
sheet_name: Option<String>,
absolute_row1: bool,
absolute_column1: bool,
row1: i32,
column1: i32,
absolute_row2: bool,
absolute_column2: bool,
row2: i32,
column2: i32,
},
OpRangeKind {
left: Box<Node>,
right: Box<Node>,
},
OpConcatenateKind {
left: Box<Node>,
right: Box<Node>,
},
OpSumKind {
kind: OpSum,
left: Box<Node>,
right: Box<Node>,
},
OpProductKind {
kind: OpProduct,
left: Box<Node>,
right: Box<Node>,
},
OpPowerKind {
left: Box<Node>,
right: Box<Node>,
},
FunctionKind {
kind: Function,
args: Vec<Node>,
},
LambdaDefKind {
parameters: Vec<NamedVariable>,
body: Box<Node>,
},
LambdaCallKind {
lambda: Box<Node>,
args: Vec<Node>,
},
NamedFunctionKind {
id: Option<u32>,
name: String,
args: Vec<Node>,
},
ArrayKind(Vec<Vec<ArrayNode>>),
DefinedNameKind(DefinedNameS),
TableNameKind(String),
NamedVariableKind {
name: String,
id: Option<u32>,
},
ImplicitIntersection {
automatic: bool,
child: Box<Node>,
},
SpillRangeOperator {
child: Box<Node>,
},
CompareKind {
kind: OpCompare,
left: Box<Node>,
right: Box<Node>,
},
UnaryKind {
kind: OpUnary,
right: Box<Node>,
},
ErrorKind(Error),
ParseErrorKind {
formula: String,
message: String,
position: usize,
expecting: Vec<ExpectedTokens>,
},
EmptyArgKind,
}Variants§
BooleanKind(bool)
NumberKind(f64)
StringKind(String)
ReferenceKind
Fields
RangeKind
Fields
WrongReferenceKind
WrongRangeKind
Fields
OpRangeKind
OpConcatenateKind
OpSumKind
OpProductKind
OpPowerKind
FunctionKind
LambdaDefKind
LambdaCallKind
NamedFunctionKind
ArrayKind(Vec<Vec<ArrayNode>>)
DefinedNameKind(DefinedNameS)
TableNameKind(String)
NamedVariableKind
ImplicitIntersection
SpillRangeOperator
CompareKind
UnaryKind
ErrorKind(Error)
ParseErrorKind
EmptyArgKind
Trait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more