[][src]Struct rtlola_frontend::ast::InvokeSpec

pub struct InvokeSpec {
    pub target: Expression,
    pub condition: Option<Expression>,
    pub is_if: bool,
    pub id: NodeId,
    pub span: Span,
}

An AST node representing the declaration of an invoke condition of a parametrized stream

Fields

target: Expression

The expression defining the parameter instances. If the stream has more than one parameter, the expression needs to return a tuple, with one element for each parameter

condition: Option<Expression>

An additional condition for the creation of an instance, i.e., an instance is only created if the condition is true If 'is_true' is false, this component is assigned to 'None'

is_if: bool

A flag to describe if the invoke declaration contains an additional condition

id: NodeId

The ID of the node in the AST

span: Span

The span in the specification declaring the invoke declaration

Trait Implementations

impl Clone for InvokeSpec[src]

impl Debug for InvokeSpec[src]

impl Display for InvokeSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.