Enum moore_vhdl::hir::Choice
[−]
[src]
pub enum Choice { Expr(ExprRef), DiscreteRange(DiscreteRange), Element(Name), Others, }
A choice in an aggregate.
See IEEE 1076-2008 section 9.3.3.1.
Variants
Expr(ExprRef)
An expression.
DiscreteRange(DiscreteRange)
A discrete range.
Element(Name)
A record element.
Others
The keyword others
.
Methods
impl Choice
[src]
fn is_others(&self) -> bool
[src]
Check if the choice is others
.
fn is_element(&self) -> bool
[src]
Check if the choice is a record element.