Enum moore_vhdl::hir::Range2 [−][src]
Expand description
A range.
See IEEE 1076-2008 section 5.2.1.
range := range.attribute_name | simple_expression direction simple_expression
Variants
An range given by two immediate values.
Implementations
Determine the type of the range.
This determines the type of the range’s bounds and applies any necessary implicit casts to make them be of the same type.
pub fn constant_value<C>(
&self,
ctx: C
) -> Result<(Dir, &'t dyn Const2<'t>, &'t dyn Const2<'t>)> where
C: ExprContext<'t> + Copy,
pub fn constant_value<C>(
&self,
ctx: C
) -> Result<(Dir, &'t dyn Const2<'t>, &'t dyn Const2<'t>)> where
C: ExprContext<'t> + Copy,
Determine the constant value of the range.