[−][src]Enum dyon::ast::Expression
Variants
Link(Link)
Object(Box<Object>)
Array(Box<Array>)
ArrayFill(Box<ArrayFill>)
Return(Box<Expression>)
ReturnVoid(Range)
Break(Break)
Continue(Continue)
Block(Block)
Go(Box<Go>)
Call(Call)
Item(Item)
BinOp(Box<BinOpExpression>)
Assign(Box<Assign>)
Vec4(Vec4)
For(Box<For>)
ForN(Box<ForN>)
ForIn(Box<ForIn>)
Sum(Box<ForN>)
SumIn(Box<ForIn>)
SumVec4(Box<ForN>)
Prod(Box<ForN>)
ProdIn(Box<ForIn>)
ProdVec4(Box<ForN>)
Min(Box<ForN>)
MinIn(Box<ForIn>)
Max(Box<ForN>)
MaxIn(Box<ForIn>)
Sift(Box<ForN>)
SiftIn(Box<ForIn>)
Any(Box<ForN>)
AnyIn(Box<ForIn>)
All(Box<ForN>)
AllIn(Box<ForIn>)
LinkFor(Box<ForN>)
LinkIn(Box<ForIn>)
If(Box<If>)
Compare(Box<Compare>)
UnOp(Box<UnOpExpression>)
Norm(Box<Norm>)
Variable(Range, Variable)
Try(Box<Expression>)
Swizzle(Box<Swizzle>)
Closure(Arc<Closure>)
CallClosure(Box<CallClosure>)
Grab(Box<Grab>)
TryExpr(Box<TryExpr>)
In(Box<In>)
Methods
impl Expression
[src]
impl Expression
pub fn from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
node: &str,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, Expression), ()>
[src]
pub fn from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
node: &str,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, Expression), ()>
pub fn source_range(&self) -> Range
[src]
pub fn source_range(&self) -> Range
pub fn resolve_locals(
&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module,
use_lookup: &UseLookup
)
[src]
pub fn resolve_locals(
&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module,
use_lookup: &UseLookup
)
Trait Implementations
impl Clone for Expression
[src]
impl Clone for Expression
fn clone(&self) -> Expression
[src]
fn clone(&self) -> Expression
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Sync for Expression
[src]
impl Sync for Expression
impl Debug for Expression
[src]
impl Debug for Expression
Auto Trait Implementations
impl Send for Expression
impl Send for Expression
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Typeable for T where
T: Any,
impl<T> Typeable for T where
T: Any,