[][src]Struct rtlola_frontend::ast::RTLolaAst

pub struct RTLolaAst {
    pub imports: Vec<Import>,
    pub constants: Vec<Rc<Constant>>,
    pub inputs: Vec<Rc<Input>>,
    pub outputs: Vec<Rc<Output>>,
    pub trigger: Vec<Rc<Trigger>>,
    pub type_declarations: Vec<TypeDeclaration>,
}

The root of a RTLola specification, consisting of stream and trigger declarations. Each declaration contains the id of the AST node, the span in the input specification file, and declaration specific components.

Fields

imports: Vec<Import>

The imports of additional modules

constants: Vec<Rc<Constant>>

The constant stream declarations

inputs: Vec<Rc<Input>>

The input stream declarations

outputs: Vec<Rc<Output>>

The output stream declarations

trigger: Vec<Rc<Trigger>>

The trigger declarations

type_declarations: Vec<TypeDeclaration>

The user-defined type declarations

Trait Implementations

impl Clone for RTLolaAst[src]

impl Debug for RTLolaAst[src]

impl Default for RTLolaAst[src]

impl Display for RTLolaAst[src]

Auto Trait Implementations

impl !RefUnwindSafe for RTLolaAst

impl !Send for RTLolaAst

impl !Sync for RTLolaAst

impl Unpin for RTLolaAst

impl !UnwindSafe for RTLolaAst

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.