Struct rtlola_hir::hir::Expression
source · pub struct Expression {
pub kind: ExpressionKind,
/* private fields */
}
Expand description
Representation of an expression in the RtLolaHir.
An expression contains its kind, its id and its position in the specification.
Fields§
§kind: ExpressionKind
The kind of the expression
Implementations§
source§impl Expression
impl Expression
sourcepub fn id(&self) -> ExprId
pub fn id(&self) -> ExprId
Returns the ExprId] of the Expression
sourcepub fn span(&self) -> Span
pub fn span(&self) -> Span
Returns the Span of the Expression identifying its position in the specification.
Trait Implementations§
source§impl Clone for Expression
impl Clone for Expression
source§fn clone(&self) -> Expression
fn clone(&self) -> Expression
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 more