Enum geo_aid::script::parser::SimpleExpressionKind
source · pub enum SimpleExpressionKind {
Ident(Ident),
Number(ExprNumber),
Call(ExprCall),
Unop(ExprUnop),
Parenthised(ExprParenthised),
ExplicitIterator(ExplicitIterator),
PointCollection(PointCollectionConstructor),
}
Expand description
A parsed simple expression.
Variants§
Ident(Ident)
An identifier (variable access, most likely)
Number(ExprNumber)
A raw number
Call(ExprCall)
A function call
Unop(ExprUnop)
A unary operator expression
Parenthised(ExprParenthised)
An expression inside parentheses.
ExplicitIterator(ExplicitIterator)
An explicit iterator.
PointCollection(PointCollectionConstructor)
A point collection construction
Implementations§
Trait Implementations§
source§impl Debug for SimpleExpressionKind
impl Debug for SimpleExpressionKind
Auto Trait Implementations§
impl RefUnwindSafe for SimpleExpressionKind
impl Send for SimpleExpressionKind
impl Sync for SimpleExpressionKind
impl Unpin for SimpleExpressionKind
impl UnwindSafe for SimpleExpressionKind
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
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more