Struct moore_vhdl::hir::IfStmt
[−]
[src]
pub struct IfStmt { pub branches: Vec<(ExprRef, Vec<SeqStmtRef>)>, pub otherwise: Option<Vec<SeqStmtRef>>, }
An if statement.
See IEEE 1076-2008 section 10.8.
Fields
branches: Vec<(ExprRef, Vec<SeqStmtRef>)>
The condition and statements of each branch.
otherwise: Option<Vec<SeqStmtRef>>
The optional else branch.