pub enum Expressions {
Return {
value: Option<NodeReference>,
},
Continue,
Member {
name: String,
source: NodeReference,
},
Expression {
elements: Vec<NodeReference>,
},
Literal {
value: String,
},
FunctionCall {
function: NodeReference,
parameters: Vec<NodeReference>,
},
IntrinsicCall {
intrinsic: NodeReference,
arguments: Vec<NodeReference>,
elements: Vec<NodeReference>,
},
Operator {
operator: Operators,
left: NodeReference,
right: NodeReference,
},
VariableDeclaration {
name: String,
type: NodeReference,
},
Accessor {
left: NodeReference,
right: NodeReference,
},
Macro {
name: String,
body: NodeReference,
},
}Variants§
Return
Fields
§
value: Option<NodeReference>Continue
Member
Expression
Fields
§
elements: Vec<NodeReference>Literal
FunctionCall
IntrinsicCall
Operator
VariableDeclaration
Accessor
Macro
Trait Implementations§
Source§impl Clone for Expressions
impl Clone for Expressions
Source§fn clone(&self) -> Expressions
fn clone(&self) -> Expressions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for Expressions
impl !Send for Expressions
impl !Sync for Expressions
impl !UnwindSafe for Expressions
impl Freeze for Expressions
impl Unpin for Expressions
impl UnsafeUnpin for Expressions
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