[][src]Enum moore_vhdl_syntax::ast::StmtData

pub enum StmtData {
    WaitStmt {
        on: Option<Spanned<Vec<CompoundName>>>,
        until: Option<Expr>,
        time: Option<Expr>,
    },
    AssertStmt {
        cond: Expr,
        report: Option<Expr>,
        severity: Option<Expr>,
    },
    ReportStmt {
        msg: Expr,
        severity: Option<Expr>,
    },
    IfStmt {
        conds: Vec<(Expr, StmtBody)>,
        alt: Option<StmtBody>,
    },
    CaseStmt {
        qm: bool,
        switch: Expr,
        cases: Vec<(Choices, StmtBody)>,
    },
    LoopStmt {
        scheme: LoopScheme,
        body: StmtBody,
    },
    NexitStmt {
        mode: NexitMode,
        target: Option<Spanned<Name>>,
        cond: Option<Expr>,
    },
    ReturnStmt(Option<Expr>),
    NullStmt,
    IfGenStmt {
        conds: Vec<(Expr, GenBody)>,
        alt: Option<GenBody>,
    },
    CaseGenStmt {
        switch: Expr,
        cases: Vec<(Choices, GenBody)>,
    },
    ForGenStmt {
        param: Spanned<Name>,
        range: Expr,
        body: GenBody,
    },
    BlockStmt {
        guard: Option<Expr>,
        decls: Vec<DeclItem>,
        stmts: Vec<Stmt>,
    },
    ProcStmt {
        sensitivity: Option<Sensitivity>,
        decls: Vec<DeclItem>,
        stmts: Vec<Stmt>,
        postponed: bool,
    },
    AssignStmt {
        target: Spanned<AssignTarget>,
        kind: AssignKind,
        guarded: bool,
        mode: Spanned<AssignMode>,
    },
    SelectAssignStmt {
        select: Expr,
        qm: bool,
        target: Spanned<AssignTarget>,
        kind: AssignKind,
        guarded: bool,
        mode: SelectAssignMode,
        waves: Vec<SelectWave>,
    },
    InstOrCallStmt {
        target: Option<InstTarget>,
        name: CompoundName,
        generics: Option<ParenElems>,
        ports: Option<ParenElems>,
    },
}

Variants

WaitStmt

Fields of WaitStmt

on: Option<Spanned<Vec<CompoundName>>>until: Option<Expr>time: Option<Expr>
AssertStmt

Fields of AssertStmt

cond: Exprreport: Option<Expr>severity: Option<Expr>
ReportStmt

Fields of ReportStmt

msg: Exprseverity: Option<Expr>
IfStmt

Fields of IfStmt

conds: Vec<(Expr, StmtBody)>alt: Option<StmtBody>
CaseStmt

Fields of CaseStmt

qm: boolswitch: Exprcases: Vec<(Choices, StmtBody)>
LoopStmt

Fields of LoopStmt

scheme: LoopSchemebody: StmtBody
NexitStmt

Fields of NexitStmt

mode: NexitModetarget: Option<Spanned<Name>>cond: Option<Expr>
ReturnStmt(Option<Expr>)
NullStmt
IfGenStmt

Fields of IfGenStmt

conds: Vec<(Expr, GenBody)>alt: Option<GenBody>
CaseGenStmt

Fields of CaseGenStmt

switch: Exprcases: Vec<(Choices, GenBody)>
ForGenStmt

Fields of ForGenStmt

param: Spanned<Name>range: Exprbody: GenBody
BlockStmt

Fields of BlockStmt

guard: Option<Expr>decls: Vec<DeclItem>stmts: Vec<Stmt>
ProcStmt

Fields of ProcStmt

sensitivity: Option<Sensitivity>decls: Vec<DeclItem>stmts: Vec<Stmt>postponed: bool
AssignStmt

Fields of AssignStmt

target: Spanned<AssignTarget>kind: AssignKindguarded: boolmode: Spanned<AssignMode>
SelectAssignStmt

Fields of SelectAssignStmt

select: Exprqm: booltarget: Spanned<AssignTarget>kind: AssignKindguarded: boolmode: SelectAssignModewaves: Vec<SelectWave>
InstOrCallStmt

Fields of InstOrCallStmt

target: Option<InstTarget>name: CompoundNamegenerics: Option<ParenElems>ports: Option<ParenElems>

Trait Implementations

impl Clone for StmtData[src]

impl Debug for StmtData[src]

impl Decodable for StmtData[src]

impl Encodable for StmtData[src]

impl Eq for StmtData[src]

impl HasDesc for StmtData[src]

impl PartialEq<StmtData> for StmtData[src]

impl StructuralEq for StmtData[src]

impl StructuralPartialEq for StmtData[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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.