Enum balena_temen::ast::ExpressionValue
source · pub enum ExpressionValue {
Integer(i64),
Float(f64),
Boolean(bool),
String(String),
Identifier(Identifier),
Math(MathExpression),
Logical(LogicalExpression),
FunctionCall(FunctionCall),
StringConcat(StringConcat),
}
Expand description
An expression value
Variants
Integer(i64)
An integer
Float(f64)
A floating point
Boolean(bool)
A boolean
String(String)
A string
Identifier(Identifier)
An identifier (variable name, array index, …)
Math(MathExpression)
A mathematical expression
Logical(LogicalExpression)
A logical expression
FunctionCall(FunctionCall)
A function call
StringConcat(StringConcat)
String concatenation
Trait Implementations
sourceimpl Clone for ExpressionValue
impl Clone for ExpressionValue
sourcefn clone(&self) -> ExpressionValue
fn clone(&self) -> ExpressionValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExpressionValue
impl Debug for ExpressionValue
sourceimpl PartialEq<ExpressionValue> for ExpressionValue
impl PartialEq<ExpressionValue> for ExpressionValue
sourcefn eq(&self, other: &ExpressionValue) -> bool
fn eq(&self, other: &ExpressionValue) -> bool
impl StructuralPartialEq for ExpressionValue
Auto Trait Implementations
impl RefUnwindSafe for ExpressionValue
impl Send for ExpressionValue
impl Sync for ExpressionValue
impl Unpin for ExpressionValue
impl UnwindSafe for ExpressionValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more