[−][src]Enum leo_typed::expression::Expression
Expression that evaluates to a value
Variants
Identifier(Identifier)
Group(GroupValue)
Integer(IntegerType, String, Span)
Add(Box<Expression>, Box<Expression>, Span)
Sub(Box<Expression>, Box<Expression>, Span)
Mul(Box<Expression>, Box<Expression>, Span)
Div(Box<Expression>, Box<Expression>, Span)
Pow(Box<Expression>, Box<Expression>, Span)
Not(Box<Expression>, Span)
Negate(Box<Expression>, Span)
Or(Box<Expression>, Box<Expression>, Span)
And(Box<Expression>, Box<Expression>, Span)
Eq(Box<Expression>, Box<Expression>, Span)
Ge(Box<Expression>, Box<Expression>, Span)
Gt(Box<Expression>, Box<Expression>, Span)
Le(Box<Expression>, Box<Expression>, Span)
Lt(Box<Expression>, Box<Expression>, Span)
IfElse(Box<Expression>, Box<Expression>, Box<Expression>, Span)
Array(Vec<Box<SpreadOrExpression>>, Span)
ArrayAccess(Box<Expression>, Box<RangeOrExpression>, Span)
Tuple(Vec<Expression>, Span)
TupleAccess(Box<Expression>, usize, Span)
Circuit(Identifier, Vec<CircuitVariableDefinition>, Span)
CircuitMemberAccess(Box<Expression>, Identifier, Span)
CircuitStaticFunctionAccess(Box<Expression>, Identifier, Span)
FunctionCall(Box<Expression>, Vec<Expression>, Span)
Implementations
impl Expression
[src]
Trait Implementations
impl Clone for Expression
[src]
fn clone(&self) -> Expression
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Expression
[src]
impl<'de> Deserialize<'de> for Expression
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'ast> Display for Expression
[src]
impl Eq for Expression
[src]
impl<'ast> From<AddressValue<'ast>> for Expression
[src]
fn from(address: AddressValue<'ast>) -> Self
[src]
impl<'ast> From<ArrayInitializerExpression<'ast>> for Expression
[src]
fn from(array: ArrayInitializerExpression<'ast>) -> Self
[src]
impl<'ast> From<ArrayInlineExpression<'ast>> for Expression
[src]
fn from(array: ArrayInlineExpression<'ast>) -> Self
[src]
impl<'ast> From<Assignee<'ast>> for Expression
[src]
impl<'ast> From<BinaryExpression<'ast>> for Expression
[src]
fn from(expression: BinaryExpression<'ast>) -> Self
[src]
impl<'ast> From<BooleanValue<'ast>> for Expression
[src]
fn from(boolean: BooleanValue<'ast>) -> Self
[src]
impl<'ast> From<CircuitInlineExpression<'ast>> for Expression
[src]
fn from(expression: CircuitInlineExpression<'ast>) -> Self
[src]
impl<'ast> From<Expression<'ast>> for Expression
[src]
fn from(expression: AstExpression<'ast>) -> Self
[src]
impl<'ast> From<FieldValue<'ast>> for Expression
[src]
fn from(field: FieldValue<'ast>) -> Self
[src]
impl<'ast> From<GroupValue<'ast>> for Expression
[src]
fn from(ast_group: AstGroupValue<'ast>) -> Self
[src]
impl<'ast> From<Identifier<'ast>> for Expression
[src]
fn from(identifier: AstIdentifier<'ast>) -> Self
[src]
impl<'ast> From<IntegerValue<'ast>> for Expression
[src]
fn from(integer: IntegerValue<'ast>) -> Self
[src]
impl<'ast> From<NumberValue<'ast>> for Expression
[src]
impl<'ast> From<PostfixExpression<'ast>> for Expression
[src]
fn from(expression: PostfixExpression<'ast>) -> Self
[src]
impl<'ast> From<TernaryExpression<'ast>> for Expression
[src]
fn from(expression: TernaryExpression<'ast>) -> Self
[src]
impl<'ast> From<TupleExpression<'ast>> for Expression
[src]
fn from(tuple: TupleExpression<'ast>) -> Self
[src]
impl<'ast> From<UnaryExpression<'ast>> for Expression
[src]
fn from(expression: UnaryExpression<'ast>) -> Self
[src]
impl<'ast> From<Value<'ast>> for Expression
[src]
impl PartialEq<Expression> for Expression
[src]
fn eq(&self, other: &Expression) -> bool
[src]
fn ne(&self, other: &Expression) -> bool
[src]
impl Serialize for Expression
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Expression
[src]
impl StructuralPartialEq for Expression
[src]
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,