Enum moore_vhdl::hir::TypeData [−][src]
pub enum TypeData {
Enum(Vec<EnumLit>),
Range(Dir, ExprRef, ExprRef),
Physical(Dir, ExprRef, ExprRef, UnitTable, usize),
Access(SubtypeIndRef),
Array(Vec<ArrayTypeIndexRef>, SubtypeIndRef),
File(Spanned<TypeMarkRef>),
Record(Vec<(Spanned<Name>, SubtypeIndRef)>),
}
Expand description
The meat of a type declaration.
Variants
An enumeration type.
An integer or float type.
A physical type. The fields are as follows:
- Direction
- Left bound
- Right bound
- Table of units
- Index of the primary unit in the table
Access(SubtypeIndRef)
An access type.
Tuple Fields of Access
Array(Vec<ArrayTypeIndexRef>, SubtypeIndRef)
An array type.
Tuple Fields of Array
File(Spanned<TypeMarkRef>)
A file type.
Tuple Fields of File
0: Spanned<TypeMarkRef>
A record type.