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

pub enum StmtData {
Show 17 variants 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>)

Tuple Fields of ReturnStmt

0: 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Obtain a human-readable descriptive name for this node.

Obtain a human-readable description for this node, possibly containing the node’s name. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.