pyVHDLModel.Type¶
This module contains parts of an abstract document language model for VHDL.
Types.
Classes
BaseType
:BaseType
is the base-class of all type entities in this model.Type
:BaseType
is the base-class of all type entities in this model.AnonymousType
:BaseType
is the base-class of all type entities in this model.FullType
:BaseType
is the base-class of all type entities in this model.Subtype
:BaseType
is the base-class of all type entities in this model.ScalarType
: AScalarType
is a base-class for all scalar types.RangedScalarType
: ARangedScalarType
is a base-class for all scalar types with a range.NumericTypeMixin
: ANumericType
is a mixin class for all numeric types.DiscreteTypeMixin
: ADiscreteType
is a mixin class for all discrete types.EnumeratedType
: AScalarType
is a base-class for all scalar types.IntegerType
: ARangedScalarType
is a base-class for all scalar types with a range.RealType
: ARangedScalarType
is a base-class for all scalar types with a range.PhysicalType
: ARangedScalarType
is a base-class for all scalar types with a range.CompositeType
: ACompositeType
is a base-class for all composite types.ArrayType
: ACompositeType
is a base-class for all composite types.RecordTypeElement
:ModelEntity
is the base-class for all classes in the VHDL language model, except for mixin classes (see multipleRecordType
: ACompositeType
is a base-class for all composite types.ProtectedType
:BaseType
is the base-class of all type entities in this model.ProtectedTypeBody
:BaseType
is the base-class of all type entities in this model.AccessType
:BaseType
is the base-class of all type entities in this model.FileType
:BaseType
is the base-class of all type entities in this model.
Classes
- class pyVHDLModel.Type.BaseType[source]¶
BaseType
is the base-class of all type entities in this model.Inheritance
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.Type[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(identifier, documentation=None)¶
Initializes underlying
BaseType
.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.AnonymousType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(identifier, documentation=None)¶
Initializes underlying
BaseType
.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.FullType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(identifier, documentation=None)¶
Initializes underlying
BaseType
.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.Subtype[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.ScalarType[source]¶
A
ScalarType
is a base-class for all scalar types.Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(identifier, documentation=None)¶
Initializes underlying
BaseType
.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.RangedScalarType[source]¶
A
RangedScalarType
is a base-class for all scalar types with a range.Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.NumericTypeMixin[source]¶
A
NumericType
is a mixin class for all numeric types.Inheritance
- class pyVHDLModel.Type.DiscreteTypeMixin[source]¶
A
DiscreteType
is a mixin class for all discrete types.Inheritance
- class pyVHDLModel.Type.EnumeratedType[source]¶
Inheritance
- __init__(identifier, literals)[source]¶
Initializes underlying
BaseType
.- Parameters:
identifier (
str
) – Name of the type.literals (Iterable[EnumerationLiteral]) –
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.IntegerType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.RealType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.PhysicalType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.CompositeType[source]¶
A
CompositeType
is a base-class for all composite types.Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- __init__(identifier, documentation=None)¶
Initializes underlying
BaseType
.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.ArrayType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.RecordTypeElement[source]¶
Inheritance
- property Identifiers: Tuple[str]¶
Returns a model entity’s tuple of identifiers (names).
- Returns:
Tuple of identifiers.
- property NormalizedIdentifiers: Tuple[str]¶
Returns a model entity’s tuple of normalized identifiers (lower case names).
- Returns:
Tuple of normalized identifiers.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
-
_parent:
ModelEntity
¶ Reference to a parent entity in the model.
- class pyVHDLModel.Type.RecordType[source]¶
Inheritance
- __init__(identifier, elements=None)[source]¶
Initializes underlying
BaseType
.- Parameters:
identifier (
str
) – Name of the type.elements (Iterable[RecordTypeElement]) –
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.ProtectedType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.ProtectedTypeBody[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.AccessType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.
- class pyVHDLModel.Type.FileType[source]¶
Inheritance
- property Documentation: Optional[str]¶
Returns a model entity’s associated documentation.
- Returns:
Associated documentation of a model entity.
- property Identifier: str¶
Returns a model entity’s identifier (name).
- Returns:
Name of a model entity.
- property NormalizedIdentifier: str¶
Returns a model entity’s normalized identifier (lower case name).
- Returns:
Normalized name of a model entity.
- property Parent: ModelEntity¶
Returns a reference to the parent entity.
- Returns:
Parent entity.
- _documentation: Nullable[str]¶
The associated documentation of a model entity.
- _identifier: str¶
The identifier of a model entity.
- _normalizedIdentifier: str¶
The normalized (lower case) identifier of a model entity.
- _parent: ModelEntity¶
Reference to a parent entity in the model.