pub enum SimpletonExpressionNext {
GetField {
name: String,
next: Option<Box<SimpletonExpressionNext>>,
},
GetArrayItem {
index: Box<SimpletonExpressionStart>,
next: Option<Box<SimpletonExpressionNext>>,
},
GetMapItem {
index: Box<SimpletonExpressionStart>,
next: Option<Box<SimpletonExpressionNext>>,
},
}
Variants§
Implementations§
Source§impl SimpletonExpressionNext
impl SimpletonExpressionNext
pub fn compile( &self, result: &mut Vec<ScriptOperation<'_, SimpletonScriptExpression>>, registers: &mut Vec<String>, closures: &mut Vec<SimpletonFunction>, closures_index: &mut usize, )
pub fn compile_assign( &self, result: &mut Vec<ScriptOperation<'_, SimpletonScriptExpression>>, registers: &mut Vec<String>, closures: &mut Vec<SimpletonFunction>, closures_index: &mut usize, )
Trait Implementations§
Source§impl Clone for SimpletonExpressionNext
impl Clone for SimpletonExpressionNext
Source§fn clone(&self) -> SimpletonExpressionNext
fn clone(&self) -> SimpletonExpressionNext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpletonExpressionNext
impl Debug for SimpletonExpressionNext
Source§impl<'de> Deserialize<'de> for SimpletonExpressionNext
impl<'de> Deserialize<'de> for SimpletonExpressionNext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimpletonExpressionNext
impl RefUnwindSafe for SimpletonExpressionNext
impl Send for SimpletonExpressionNext
impl Sync for SimpletonExpressionNext
impl Unpin for SimpletonExpressionNext
impl UnwindSafe for SimpletonExpressionNext
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