pyGHDL.dom.Literal
#
Classes
NullLiteral
: ALiteral
is a base-class for all literals.EnumerationLiteral
: ALiteral
is a base-class for all literals.IntegerLiteral
: ANumericLiteral
is a base-class for all numeric literals.FloatingPointLiteral
: ANumericLiteral
is a base-class for all numeric literals.PhysicalIntegerLiteral
: ANumericLiteral
is a base-class for all numeric literals.PhysicalFloatingLiteral
: ANumericLiteral
is a base-class for all numeric literals.CharacterLiteral
: ALiteral
is a base-class for all literals.StringLiteral
: ALiteral
is a base-class for all literals.
Classes
- class pyGHDL.dom.Literal.NullLiteral(node)[source]#
Inheritance
- Parameters:
node (Iir) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.EnumerationLiteral(node, value)[source]#
Inheritance
- Parameters:
node (Iir) –
value (str) –
- __init__(node, value)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
value (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.IntegerLiteral(node, value)[source]#
Inheritance
- Parameters:
node (Iir) –
value (int) –
- __init__(node, value)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
value (int) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.FloatingPointLiteral(node, value)[source]#
Inheritance
- Parameters:
node (Iir) –
value (float) –
- __init__(node, value)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
value (float) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.PhysicalIntegerLiteral(node, value, unitName)[source]#
Inheritance
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.PhysicalFloatingLiteral(node, value, unitName)[source]#
Inheritance
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.CharacterLiteral(node, value)[source]#
Inheritance
- Parameters:
node (Iir) –
value (str) –
- __init__(node, value)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
value (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.
- class pyGHDL.dom.Literal.StringLiteral(node, value)[source]#
Inheritance
- Parameters:
node (Iir) –
value (str) –
- __init__(node, value)[source]#
Initializes a VHDL model entity.
- Parameters:
node (Iir) –
value (str) –
- _parent: ModelEntity#
Reference to a parent entity in the model.
- property Parent: ModelEntity#
Returns a reference to the parent entity.
- Returns:
Parent entity.