pyGHDL.libghdl.vhdl.nodes_meta

Python binding for the Ada package Vhdl.Nodes_Meta in libghdl.

The meta-model: which fields a node kind has, of what type, and with what access attribute. It is what lets an algorithm walk any node without knowing its kind.

Functions

Classes

  • types: The types a field of the meta-model can have.

  • Attr: The access attribute of a field: a reference, a chain, or owned.

  • fields: Every field of the meta-model, as an enumeration.


Functions

pyGHDL.libghdl.vhdl.nodes_meta.get_fields_first(K)[source]

Return the list of fields for node K.

In Ada Vhdl.Nodes_Meta.Get_Fields returns a Fields_Array. To emulate this array access, the API provides get_fields_first and get_fields_last().

The fields are sorted: first the non nodes/list of nodes, then the nodes/lists that aren’t reference, and then the reference.

Parameters:

K (TypeVar(IirKind, bound= c_int)) – Node to get first array index from.

Return type:

int

pyGHDL.libghdl.vhdl.nodes_meta.get_fields_last(K)[source]

Return the list of fields for node K.

In Ada Vhdl.Nodes_Meta.Get_Fields returns a Fields_Array. To emulate this array access, the API provides get_fields_first() and get_fields_last.

The fields are sorted: first the non nodes/list of nodes, then the nodes/lists that aren’t reference, and then the reference.

Parameters:

K (TypeVar(IirKind, bound= c_int)) – Node to get last array index from.

Return type:

int

pyGHDL.libghdl.vhdl.nodes_meta.get_field_by_index(K)[source]

Get the field at a given index of the fields array.

Parameters:

K (TypeVar(IirKind, bound= c_int)) – The index into the fields array.

Return type:

int

Returns:

The field at that index.

pyGHDL.libghdl.vhdl.nodes_meta.get_field_type(*args)[source]

Get the type of a field.

Parameters:

args – The field to query, from fields.

Returns:

The field’s type, from types.

pyGHDL.libghdl.vhdl.nodes_meta.get_field_attribute(*args)[source]

Get the access attribute of a field.

Parameters:

args – The field to query, from fields.

Returns:

The field’s attribute, from Attr.

pyGHDL.libghdl.vhdl.nodes_meta.Has_First_Design_Unit(kind)[source]

Check whether a node of the given kind has a First_Design_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Last_Design_Unit(kind)[source]

Check whether a node of the given kind has a Last_Design_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Library_Declaration(kind)[source]

Check whether a node of the given kind has a Library_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_File_Checksum(kind)[source]

Check whether a node of the given kind has a File_Checksum field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Analysis_Time_Stamp(kind)[source]

Check whether a node of the given kind has a Analysis_Time_Stamp field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_File_Source(kind)[source]

Check whether a node of the given kind has a Design_File_Source field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Library(kind)[source]

Check whether a node of the given kind has a Library field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_File_Filename(kind)[source]

Check whether a node of the given kind has a Design_File_Filename field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_File_Directory(kind)[source]

Check whether a node of the given kind has a Design_File_Directory field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_File(kind)[source]

Check whether a node of the given kind has a Design_File field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_File_Chain(kind)[source]

Check whether a node of the given kind has a Design_File_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Library_Directory(kind)[source]

Check whether a node of the given kind has a Library_Directory field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Date(kind)[source]

Check whether a node of the given kind has a Date field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Context_Items(kind)[source]

Check whether a node of the given kind has a Context_Items field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Dependence_List(kind)[source]

Check whether a node of the given kind has a Dependence_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Analysis_Checks_List(kind)[source]

Check whether a node of the given kind has a Analysis_Checks_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Date_State(kind)[source]

Check whether a node of the given kind has a Date_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guarded_Target_State(kind)[source]

Check whether a node of the given kind has a Guarded_Target_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Library_Unit(kind)[source]

Check whether a node of the given kind has a Library_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Hash_Chain(kind)[source]

Check whether a node of the given kind has a Hash_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_Unit_Source_Pos(kind)[source]

Check whether a node of the given kind has a Design_Unit_Source_Pos field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_Unit_Source_Line(kind)[source]

Check whether a node of the given kind has a Design_Unit_Source_Line field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_Unit_Source_Col(kind)[source]

Check whether a node of the given kind has a Design_Unit_Source_Col field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Value(kind)[source]

Check whether a node of the given kind has a Value field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Enum_Pos(kind)[source]

Check whether a node of the given kind has a Enum_Pos field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Physical_Literal(kind)[source]

Check whether a node of the given kind has a Physical_Literal field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Fp_Value(kind)[source]

Check whether a node of the given kind has a Fp_Value field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simple_Aggregate_List(kind)[source]

Check whether a node of the given kind has a Simple_Aggregate_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_String8_Id(kind)[source]

Check whether a node of the given kind has a String8_Id field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_String_Length(kind)[source]

Check whether a node of the given kind has a String_Length field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Bit_String_Base(kind)[source]

Check whether a node of the given kind has a Bit_String_Base field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Signed(kind)[source]

Check whether a node of the given kind has a Has_Signed field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Sign(kind)[source]

Check whether a node of the given kind has a Has_Sign field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Length(kind)[source]

Check whether a node of the given kind has a Has_Length field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Literal_Length(kind)[source]

Check whether a node of the given kind has a Literal_Length field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Literal_Origin(kind)[source]

Check whether a node of the given kind has a Literal_Origin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Range_Origin(kind)[source]

Check whether a node of the given kind has a Range_Origin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Literal_Subtype(kind)[source]

Check whether a node of the given kind has a Literal_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Allocator_Subtype(kind)[source]

Check whether a node of the given kind has a Allocator_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Entity_Class(kind)[source]

Check whether a node of the given kind has a Entity_Class field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Entity_Name_List(kind)[source]

Check whether a node of the given kind has a Entity_Name_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Designator(kind)[source]

Check whether a node of the given kind has a Attribute_Designator field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Specification_Chain(kind)[source]

Check whether a node of the given kind has a Attribute_Specification_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Specification(kind)[source]

Check whether a node of the given kind has a Attribute_Specification field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Static_Attribute_Flag(kind)[source]

Check whether a node of the given kind has a Static_Attribute_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Signal_List(kind)[source]

Check whether a node of the given kind has a Signal_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Quantity_List(kind)[source]

Check whether a node of the given kind has a Quantity_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Designated_Entity(kind)[source]

Check whether a node of the given kind has a Designated_Entity field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Formal(kind)[source]

Check whether a node of the given kind has a Formal field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Actual(kind)[source]

Check whether a node of the given kind has a Actual field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Open_Actual(kind)[source]

Check whether a node of the given kind has a Open_Actual field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Actual_Conversion(kind)[source]

Check whether a node of the given kind has a Actual_Conversion field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Formal_Conversion(kind)[source]

Check whether a node of the given kind has a Formal_Conversion field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Whole_Association_Flag(kind)[source]

Check whether a node of the given kind has a Whole_Association_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Collapse_Signal_Flag(kind)[source]

Check whether a node of the given kind has a Collapse_Signal_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Artificial_Flag(kind)[source]

Check whether a node of the given kind has a Artificial_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Open_Flag(kind)[source]

Check whether a node of the given kind has a Open_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_After_Drivers_Flag(kind)[source]

Check whether a node of the given kind has a After_Drivers_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_We_Value(kind)[source]

Check whether a node of the given kind has a We_Value field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Time(kind)[source]

Check whether a node of the given kind has a Time field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Expr(kind)[source]

Check whether a node of the given kind has a Associated_Expr field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Block(kind)[source]

Check whether a node of the given kind has a Associated_Block field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Chain(kind)[source]

Check whether a node of the given kind has a Associated_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Choice_Name(kind)[source]

Check whether a node of the given kind has a Choice_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Choice_Expression(kind)[source]

Check whether a node of the given kind has a Choice_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Choice_Range(kind)[source]

Check whether a node of the given kind has a Choice_Range field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Same_Alternative_Flag(kind)[source]

Check whether a node of the given kind has a Same_Alternative_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Type_Flag(kind)[source]

Check whether a node of the given kind has a Element_Type_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Architecture(kind)[source]

Check whether a node of the given kind has a Architecture field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Block_Specification(kind)[source]

Check whether a node of the given kind has a Block_Specification field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Prev_Block_Configuration(kind)[source]

Check whether a node of the given kind has a Prev_Block_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Configuration_Item_Chain(kind)[source]

Check whether a node of the given kind has a Configuration_Item_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Value_Chain(kind)[source]

Check whether a node of the given kind has a Attribute_Value_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Spec_Chain(kind)[source]

Check whether a node of the given kind has a Spec_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Value_Chain(kind)[source]

Check whether a node of the given kind has a Value_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Value_Spec_Chain(kind)[source]

Check whether a node of the given kind has a Attribute_Value_Spec_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Entity_Name(kind)[source]

Check whether a node of the given kind has a Entity_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Package(kind)[source]

Check whether a node of the given kind has a Package field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Package_Body(kind)[source]

Check whether a node of the given kind has a Package_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instance_Package_Body(kind)[source]

Check whether a node of the given kind has a Instance_Package_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Owned_Instance_Package_Body(kind)[source]

Check whether a node of the given kind has a Owned_Instance_Package_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instance_Subprogram_Body(kind)[source]

Check whether a node of the given kind has a Instance_Subprogram_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Need_Body(kind)[source]

Check whether a node of the given kind has a Need_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Immediate_Body_Flag(kind)[source]

Check whether a node of the given kind has a Immediate_Body_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Macro_Expand_Flag(kind)[source]

Check whether a node of the given kind has a Macro_Expand_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Need_Instance_Bodies(kind)[source]

Check whether a node of the given kind has a Need_Instance_Bodies field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Hierarchical_Name(kind)[source]

Check whether a node of the given kind has a Hierarchical_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Vunit_Item_Chain(kind)[source]

Check whether a node of the given kind has a Vunit_Item_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Bound_Vunit_Chain(kind)[source]

Check whether a node of the given kind has a Bound_Vunit_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Verification_Block_Configuration(kind)[source]

Check whether a node of the given kind has a Verification_Block_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Block_Configuration(kind)[source]

Check whether a node of the given kind has a Block_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Concurrent_Statement_Chain(kind)[source]

Check whether a node of the given kind has a Concurrent_Statement_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Chain(kind)[source]

Check whether a node of the given kind has a Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Port_Chain(kind)[source]

Check whether a node of the given kind has a Port_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Generic_Chain(kind)[source]

Check whether a node of the given kind has a Generic_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type(kind)[source]

Check whether a node of the given kind has a Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subtype_Indication(kind)[source]

Check whether a node of the given kind has a Subtype_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Discrete_Range(kind)[source]

Check whether a node of the given kind has a Discrete_Range field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Definition(kind)[source]

Check whether a node of the given kind has a Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subtype_Definition(kind)[source]

Check whether a node of the given kind has a Subtype_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Incomplete_Type_Declaration(kind)[source]

Check whether a node of the given kind has a Incomplete_Type_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Interface_Type_Subprograms(kind)[source]

Check whether a node of the given kind has a Interface_Type_Subprograms field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Interface_Type_Definition(kind)[source]

Check whether a node of the given kind has a Interface_Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Nature_Definition(kind)[source]

Check whether a node of the given kind has a Nature_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Nature(kind)[source]

Check whether a node of the given kind has a Nature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subnature_Indication(kind)[source]

Check whether a node of the given kind has a Subnature_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Reference_Terminal_Flag(kind)[source]

Check whether a node of the given kind has a Reference_Terminal_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Mode(kind)[source]

Check whether a node of the given kind has a Mode field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guarded_Signal_Flag(kind)[source]

Check whether a node of the given kind has a Guarded_Signal_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Signal_Kind(kind)[source]

Check whether a node of the given kind has a Signal_Kind field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Base_Name(kind)[source]

Check whether a node of the given kind has a Base_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Interface_Declaration_Chain(kind)[source]

Check whether a node of the given kind has a Interface_Declaration_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Subprogram(kind)[source]

Check whether a node of the given kind has a Default_Subprogram field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Subprogram(kind)[source]

Check whether a node of the given kind has a Associated_Subprogram field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subprogram_Specification(kind)[source]

Check whether a node of the given kind has a Subprogram_Specification field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Sequential_Statement_Chain(kind)[source]

Check whether a node of the given kind has a Sequential_Statement_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simultaneous_Statement_Chain(kind)[source]

Check whether a node of the given kind has a Simultaneous_Statement_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subprogram_Body(kind)[source]

Check whether a node of the given kind has a Subprogram_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Overload_Number(kind)[source]

Check whether a node of the given kind has a Overload_Number field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subprogram_Depth(kind)[source]

Check whether a node of the given kind has a Subprogram_Depth field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subprogram_Hash(kind)[source]

Check whether a node of the given kind has a Subprogram_Hash field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Impure_Depth(kind)[source]

Check whether a node of the given kind has a Impure_Depth field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Return_Type(kind)[source]

Check whether a node of the given kind has a Return_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Implicit_Definition(kind)[source]

Check whether a node of the given kind has a Implicit_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Uninstantiated_Subprogram_Name(kind)[source]

Check whether a node of the given kind has a Uninstantiated_Subprogram_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Value(kind)[source]

Check whether a node of the given kind has a Default_Value field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Mode_View_Indication(kind)[source]

Check whether a node of the given kind has a Mode_View_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Deferred_Declaration(kind)[source]

Check whether a node of the given kind has a Deferred_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Deferred_Declaration_Flag(kind)[source]

Check whether a node of the given kind has a Deferred_Declaration_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Shared_Flag(kind)[source]

Check whether a node of the given kind has a Shared_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Design_Unit(kind)[source]

Check whether a node of the given kind has a Design_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Block_Statement(kind)[source]

Check whether a node of the given kind has a Block_Statement field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Signal_Driver(kind)[source]

Check whether a node of the given kind has a Signal_Driver field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Declaration_Chain(kind)[source]

Check whether a node of the given kind has a Declaration_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_File_Logical_Name(kind)[source]

Check whether a node of the given kind has a File_Logical_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_File_Open_Kind(kind)[source]

Check whether a node of the given kind has a File_Open_Kind field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Position(kind)[source]

Check whether a node of the given kind has a Element_Position field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Use_Clause_Chain(kind)[source]

Check whether a node of the given kind has a Use_Clause_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Context_Reference_Chain(kind)[source]

Check whether a node of the given kind has a Context_Reference_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Inherit_Spec_Chain(kind)[source]

Check whether a node of the given kind has a Inherit_Spec_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Selected_Name(kind)[source]

Check whether a node of the given kind has a Selected_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Mode_View_Name(kind)[source]

Check whether a node of the given kind has a Mode_View_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Declarator(kind)[source]

Check whether a node of the given kind has a Type_Declarator field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Complete_Type_Definition(kind)[source]

Check whether a node of the given kind has a Complete_Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Incomplete_Type_Ref_Chain(kind)[source]

Check whether a node of the given kind has a Incomplete_Type_Ref_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Type(kind)[source]

Check whether a node of the given kind has a Associated_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Enumeration_Literal_List(kind)[source]

Check whether a node of the given kind has a Enumeration_Literal_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Entity_Class_Entry_Chain(kind)[source]

Check whether a node of the given kind has a Entity_Class_Entry_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Group_Constituent_List(kind)[source]

Check whether a node of the given kind has a Group_Constituent_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Unit_Chain(kind)[source]

Check whether a node of the given kind has a Unit_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Primary_Unit(kind)[source]

Check whether a node of the given kind has a Primary_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Identifier(kind)[source]

Check whether a node of the given kind has a Identifier field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Label(kind)[source]

Check whether a node of the given kind has a Label field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Return_Identifier(kind)[source]

Check whether a node of the given kind has a Return_Identifier field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Visible_Flag(kind)[source]

Check whether a node of the given kind has a Visible_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Range_Constraint(kind)[source]

Check whether a node of the given kind has a Range_Constraint field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Direction(kind)[source]

Check whether a node of the given kind has a Direction field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Left_Limit(kind)[source]

Check whether a node of the given kind has a Left_Limit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Right_Limit(kind)[source]

Check whether a node of the given kind has a Right_Limit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Left_Limit_Expr(kind)[source]

Check whether a node of the given kind has a Left_Limit_Expr field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Right_Limit_Expr(kind)[source]

Check whether a node of the given kind has a Right_Limit_Expr field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parent_Type(kind)[source]

Check whether a node of the given kind has a Parent_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simple_Nature(kind)[source]

Check whether a node of the given kind has a Simple_Nature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Base_Nature(kind)[source]

Check whether a node of the given kind has a Base_Nature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Resolution_Indication(kind)[source]

Check whether a node of the given kind has a Resolution_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Record_Element_Resolution_Chain(kind)[source]

Check whether a node of the given kind has a Record_Element_Resolution_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Tolerance(kind)[source]

Check whether a node of the given kind has a Tolerance field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Plus_Terminal_Name(kind)[source]

Check whether a node of the given kind has a Plus_Terminal_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Minus_Terminal_Name(kind)[source]

Check whether a node of the given kind has a Minus_Terminal_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Plus_Terminal(kind)[source]

Check whether a node of the given kind has a Plus_Terminal field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Minus_Terminal(kind)[source]

Check whether a node of the given kind has a Minus_Terminal field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Magnitude_Expression(kind)[source]

Check whether a node of the given kind has a Magnitude_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Phase_Expression(kind)[source]

Check whether a node of the given kind has a Phase_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Power_Expression(kind)[source]

Check whether a node of the given kind has a Power_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simultaneous_Left(kind)[source]

Check whether a node of the given kind has a Simultaneous_Left field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simultaneous_Right(kind)[source]

Check whether a node of the given kind has a Simultaneous_Right field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Text_File_Flag(kind)[source]

Check whether a node of the given kind has a Text_File_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Only_Characters_Flag(kind)[source]

Check whether a node of the given kind has a Only_Characters_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Is_Character_Type(kind)[source]

Check whether a node of the given kind has a Is_Character_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Nature_Staticness(kind)[source]

Check whether a node of the given kind has a Nature_Staticness field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Staticness(kind)[source]

Check whether a node of the given kind has a Type_Staticness field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Constraint_State(kind)[source]

Check whether a node of the given kind has a Constraint_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_Subtype_List(kind)[source]

Check whether a node of the given kind has a Index_Subtype_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_Subtype_Definition_List(kind)[source]

Check whether a node of the given kind has a Index_Subtype_Definition_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Subtype_Indication(kind)[source]

Check whether a node of the given kind has a Element_Subtype_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Subtype(kind)[source]

Check whether a node of the given kind has a Element_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Subnature_Indication(kind)[source]

Check whether a node of the given kind has a Element_Subnature_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Element_Subnature(kind)[source]

Check whether a node of the given kind has a Element_Subnature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_Constraint_List(kind)[source]

Check whether a node of the given kind has a Index_Constraint_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Array_Element_Constraint(kind)[source]

Check whether a node of the given kind has a Array_Element_Constraint field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Array_Constraint_Flag(kind)[source]

Check whether a node of the given kind has a Has_Array_Constraint_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Element_Constraint_Flag(kind)[source]

Check whether a node of the given kind has a Has_Element_Constraint_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Elements_Declaration_List(kind)[source]

Check whether a node of the given kind has a Elements_Declaration_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Elements_Definition_Chain(kind)[source]

Check whether a node of the given kind has a Elements_Definition_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Elements_Definition_List(kind)[source]

Check whether a node of the given kind has a Elements_Definition_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Owned_Elements_Chain(kind)[source]

Check whether a node of the given kind has a Owned_Elements_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Designated_Type(kind)[source]

Check whether a node of the given kind has a Designated_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Designated_Subtype_Indication(kind)[source]

Check whether a node of the given kind has a Designated_Subtype_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_List(kind)[source]

Check whether a node of the given kind has a Index_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Reference(kind)[source]

Check whether a node of the given kind has a Reference field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Nature_Declarator(kind)[source]

Check whether a node of the given kind has a Nature_Declarator field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Across_Type_Mark(kind)[source]

Check whether a node of the given kind has a Across_Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Through_Type_Mark(kind)[source]

Check whether a node of the given kind has a Through_Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Across_Type_Definition(kind)[source]

Check whether a node of the given kind has a Across_Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Through_Type_Definition(kind)[source]

Check whether a node of the given kind has a Through_Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Across_Type(kind)[source]

Check whether a node of the given kind has a Across_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Through_Type(kind)[source]

Check whether a node of the given kind has a Through_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Target(kind)[source]

Check whether a node of the given kind has a Target field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Waveform_Chain(kind)[source]

Check whether a node of the given kind has a Waveform_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guard(kind)[source]

Check whether a node of the given kind has a Guard field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Delay_Mechanism(kind)[source]

Check whether a node of the given kind has a Delay_Mechanism field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Reject_Time_Expression(kind)[source]

Check whether a node of the given kind has a Reject_Time_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Force_Mode(kind)[source]

Check whether a node of the given kind has a Force_Mode field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Force_Mode(kind)[source]

Check whether a node of the given kind has a Has_Force_Mode field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Sensitivity_List(kind)[source]

Check whether a node of the given kind has a Sensitivity_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Process_Origin(kind)[source]

Check whether a node of the given kind has a Process_Origin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Package_Origin(kind)[source]

Check whether a node of the given kind has a Package_Origin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Condition_Clause(kind)[source]

Check whether a node of the given kind has a Condition_Clause field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Break_Element(kind)[source]

Check whether a node of the given kind has a Break_Element field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Selector_Quantity(kind)[source]

Check whether a node of the given kind has a Selector_Quantity field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Break_Quantity(kind)[source]

Check whether a node of the given kind has a Break_Quantity field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Timeout_Clause(kind)[source]

Check whether a node of the given kind has a Timeout_Clause field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Postponed_Flag(kind)[source]

Check whether a node of the given kind has a Postponed_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Callees_List(kind)[source]

Check whether a node of the given kind has a Callees_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Passive_Flag(kind)[source]

Check whether a node of the given kind has a Passive_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Resolution_Function_Flag(kind)[source]

Check whether a node of the given kind has a Resolution_Function_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Wait_State(kind)[source]

Check whether a node of the given kind has a Wait_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_All_Sensitized_State(kind)[source]

Check whether a node of the given kind has a All_Sensitized_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Seen_Flag(kind)[source]

Check whether a node of the given kind has a Seen_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Pure_Flag(kind)[source]

Check whether a node of the given kind has a Pure_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Foreign_Flag(kind)[source]

Check whether a node of the given kind has a Foreign_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Resolved_Flag(kind)[source]

Check whether a node of the given kind has a Resolved_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Signal_Type_Flag(kind)[source]

Check whether a node of the given kind has a Signal_Type_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Signal_Flag(kind)[source]

Check whether a node of the given kind has a Has_Signal_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Purity_State(kind)[source]

Check whether a node of the given kind has a Purity_State field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Elab_Flag(kind)[source]

Check whether a node of the given kind has a Elab_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Vendor_Library_Flag(kind)[source]

Check whether a node of the given kind has a Vendor_Library_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Configuration_Mark_Flag(kind)[source]

Check whether a node of the given kind has a Configuration_Mark_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Configuration_Done_Flag(kind)[source]

Check whether a node of the given kind has a Configuration_Done_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_Constraint_Flag(kind)[source]

Check whether a node of the given kind has a Index_Constraint_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Hide_Implicit_Flag(kind)[source]

Check whether a node of the given kind has a Hide_Implicit_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Assertion_Condition(kind)[source]

Check whether a node of the given kind has a Assertion_Condition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Report_Expression(kind)[source]

Check whether a node of the given kind has a Report_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Severity_Expression(kind)[source]

Check whether a node of the given kind has a Severity_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instantiated_Unit(kind)[source]

Check whether a node of the given kind has a Instantiated_Unit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instantiated_Header(kind)[source]

Check whether a node of the given kind has a Instantiated_Header field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Generic_Map_Aspect_Chain(kind)[source]

Check whether a node of the given kind has a Generic_Map_Aspect_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Port_Map_Aspect_Chain(kind)[source]

Check whether a node of the given kind has a Port_Map_Aspect_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Configuration_Name(kind)[source]

Check whether a node of the given kind has a Configuration_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Component_Configuration(kind)[source]

Check whether a node of the given kind has a Component_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Configuration_Specification(kind)[source]

Check whether a node of the given kind has a Configuration_Specification field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Binding_Indication(kind)[source]

Check whether a node of the given kind has a Default_Binding_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Configuration_Declaration(kind)[source]

Check whether a node of the given kind has a Default_Configuration_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Expression(kind)[source]

Check whether a node of the given kind has a Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Conditional_Expression_Chain(kind)[source]

Check whether a node of the given kind has a Conditional_Expression_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Allocator_Designated_Type(kind)[source]

Check whether a node of the given kind has a Allocator_Designated_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Selected_Waveform_Chain(kind)[source]

Check whether a node of the given kind has a Selected_Waveform_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Selected_Expressions_Chain(kind)[source]

Check whether a node of the given kind has a Selected_Expressions_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Conditional_Waveform_Chain(kind)[source]

Check whether a node of the given kind has a Conditional_Waveform_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guard_Expression(kind)[source]

Check whether a node of the given kind has a Guard_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guard_Decl(kind)[source]

Check whether a node of the given kind has a Guard_Decl field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Guard_Sensitivity_List(kind)[source]

Check whether a node of the given kind has a Guard_Sensitivity_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Implicit_Chain(kind)[source]

Check whether a node of the given kind has a Attribute_Implicit_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Block_Block_Configuration(kind)[source]

Check whether a node of the given kind has a Block_Block_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Package_Header(kind)[source]

Check whether a node of the given kind has a Package_Header field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Block_Header(kind)[source]

Check whether a node of the given kind has a Block_Header field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Uninstantiated_Package_Name(kind)[source]

Check whether a node of the given kind has a Uninstantiated_Package_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Uninstantiated_Package_Decl(kind)[source]

Check whether a node of the given kind has a Uninstantiated_Package_Decl field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Associated_Package(kind)[source]

Check whether a node of the given kind has a Associated_Package field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instance_Source_File(kind)[source]

Check whether a node of the given kind has a Instance_Source_File field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Generate_Block_Configuration(kind)[source]

Check whether a node of the given kind has a Generate_Block_Configuration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Generate_Statement_Body(kind)[source]

Check whether a node of the given kind has a Generate_Statement_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Alternative_Label(kind)[source]

Check whether a node of the given kind has a Alternative_Label field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Generate_Else_Clause(kind)[source]

Check whether a node of the given kind has a Generate_Else_Clause field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Condition(kind)[source]

Check whether a node of the given kind has a Condition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Else_Clause(kind)[source]

Check whether a node of the given kind has a Else_Clause field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter_Specification(kind)[source]

Check whether a node of the given kind has a Parameter_Specification field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parent(kind)[source]

Check whether a node of the given kind has a Parent field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Loop_Label(kind)[source]

Check whether a node of the given kind has a Loop_Label field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Exit_Flag(kind)[source]

Check whether a node of the given kind has a Exit_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Next_Flag(kind)[source]

Check whether a node of the given kind has a Next_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Component_Name(kind)[source]

Check whether a node of the given kind has a Component_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Instantiation_List(kind)[source]

Check whether a node of the given kind has a Instantiation_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Entity_Aspect(kind)[source]

Check whether a node of the given kind has a Entity_Aspect field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Entity_Aspect(kind)[source]

Check whether a node of the given kind has a Default_Entity_Aspect field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Binding_Indication(kind)[source]

Check whether a node of the given kind has a Binding_Indication field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Named_Entity(kind)[source]

Check whether a node of the given kind has a Named_Entity field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Referenced_Name(kind)[source]

Check whether a node of the given kind has a Referenced_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Expr_Staticness(kind)[source]

Check whether a node of the given kind has a Expr_Staticness field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Scalar_Size(kind)[source]

Check whether a node of the given kind has a Scalar_Size field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Error_Origin(kind)[source]

Check whether a node of the given kind has a Error_Origin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Operand(kind)[source]

Check whether a node of the given kind has a Operand field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Left(kind)[source]

Check whether a node of the given kind has a Left field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Right(kind)[source]

Check whether a node of the given kind has a Right field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Unit_Name(kind)[source]

Check whether a node of the given kind has a Unit_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Name(kind)[source]

Check whether a node of the given kind has a Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Group_Template_Name(kind)[source]

Check whether a node of the given kind has a Group_Template_Name field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Name_Staticness(kind)[source]

Check whether a node of the given kind has a Name_Staticness field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Prefix(kind)[source]

Check whether a node of the given kind has a Prefix field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Signature_Prefix(kind)[source]

Check whether a node of the given kind has a Signature_Prefix field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_External_Pathname(kind)[source]

Check whether a node of the given kind has a External_Pathname field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Pathname_Suffix(kind)[source]

Check whether a node of the given kind has a Pathname_Suffix field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Pathname_Expression(kind)[source]

Check whether a node of the given kind has a Pathname_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_In_Formal_Flag(kind)[source]

Check whether a node of the given kind has a In_Formal_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Inertial_Flag(kind)[source]

Check whether a node of the given kind has a Inertial_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Slice_Subtype(kind)[source]

Check whether a node of the given kind has a Slice_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suffix(kind)[source]

Check whether a node of the given kind has a Suffix field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Index_Subtype(kind)[source]

Check whether a node of the given kind has a Index_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter(kind)[source]

Check whether a node of the given kind has a Parameter field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter_2(kind)[source]

Check whether a node of the given kind has a Parameter_2 field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter_3(kind)[source]

Check whether a node of the given kind has a Parameter_3 field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter_4(kind)[source]

Check whether a node of the given kind has a Parameter_4 field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attr_Chain(kind)[source]

Check whether a node of the given kind has a Attr_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Actual_Type(kind)[source]

Check whether a node of the given kind has a Actual_Type field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Actual_Type_Definition(kind)[source]

Check whether a node of the given kind has a Actual_Type_Definition field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Association_Chain(kind)[source]

Check whether a node of the given kind has a Association_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Individual_Association_Chain(kind)[source]

Check whether a node of the given kind has a Individual_Association_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subprogram_Association_Chain(kind)[source]

Check whether a node of the given kind has a Subprogram_Association_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggregate_Info(kind)[source]

Check whether a node of the given kind has a Aggregate_Info field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Sub_Aggregate_Info(kind)[source]

Check whether a node of the given kind has a Sub_Aggregate_Info field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_Dynamic_Flag(kind)[source]

Check whether a node of the given kind has a Aggr_Dynamic_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_Min_Length(kind)[source]

Check whether a node of the given kind has a Aggr_Min_Length field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_Low_Limit(kind)[source]

Check whether a node of the given kind has a Aggr_Low_Limit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_High_Limit(kind)[source]

Check whether a node of the given kind has a Aggr_High_Limit field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_Others_Flag(kind)[source]

Check whether a node of the given kind has a Aggr_Others_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggr_Named_Flag(kind)[source]

Check whether a node of the given kind has a Aggr_Named_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Aggregate_Expand_Flag(kind)[source]

Check whether a node of the given kind has a Aggregate_Expand_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Determined_Aggregate_Flag(kind)[source]

Check whether a node of the given kind has a Determined_Aggregate_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Association_Choices_Chain(kind)[source]

Check whether a node of the given kind has a Association_Choices_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Case_Statement_Alternative_Chain(kind)[source]

Check whether a node of the given kind has a Case_Statement_Alternative_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Matching_Flag(kind)[source]

Check whether a node of the given kind has a Matching_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Choice_Staticness(kind)[source]

Check whether a node of the given kind has a Choice_Staticness field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Procedure_Call(kind)[source]

Check whether a node of the given kind has a Procedure_Call field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Implementation(kind)[source]

Check whether a node of the given kind has a Implementation field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Parameter_Association_Chain(kind)[source]

Check whether a node of the given kind has a Parameter_Association_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Method_Object(kind)[source]

Check whether a node of the given kind has a Method_Object field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subtype_Type_Mark(kind)[source]

Check whether a node of the given kind has a Subtype_Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Subnature_Nature_Mark(kind)[source]

Check whether a node of the given kind has a Subnature_Nature_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Conversion_Subtype(kind)[source]

Check whether a node of the given kind has a Type_Conversion_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Mark(kind)[source]

Check whether a node of the given kind has a Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_File_Type_Mark(kind)[source]

Check whether a node of the given kind has a File_Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Return_Type_Mark(kind)[source]

Check whether a node of the given kind has a Return_Type_Mark field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Disconnect_Flag(kind)[source]

Check whether a node of the given kind has a Has_Disconnect_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Active_Flag(kind)[source]

Check whether a node of the given kind has a Has_Active_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Is_Within_Flag(kind)[source]

Check whether a node of the given kind has a Is_Within_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Type_Marks_List(kind)[source]

Check whether a node of the given kind has a Type_Marks_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Implicit_Alias_Flag(kind)[source]

Check whether a node of the given kind has a Implicit_Alias_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Alias_Signature(kind)[source]

Check whether a node of the given kind has a Alias_Signature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Attribute_Signature(kind)[source]

Check whether a node of the given kind has a Attribute_Signature field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Overload_List(kind)[source]

Check whether a node of the given kind has a Overload_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simple_Name_Identifier(kind)[source]

Check whether a node of the given kind has a Simple_Name_Identifier field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Simple_Name_Subtype(kind)[source]

Check whether a node of the given kind has a Simple_Name_Subtype field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Protected_Type_Body(kind)[source]

Check whether a node of the given kind has a Protected_Type_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Protected_Type_Declaration(kind)[source]

Check whether a node of the given kind has a Protected_Type_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Use_Flag(kind)[source]

Check whether a node of the given kind has a Use_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Elaborated_Flag(kind)[source]

Check whether a node of the given kind has a Elaborated_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_End_Has_Reserved_Id(kind)[source]

Check whether a node of the given kind has a End_Has_Reserved_Id field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_End_Has_Identifier(kind)[source]

Check whether a node of the given kind has a End_Has_Identifier field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_End_Has_Postponed(kind)[source]

Check whether a node of the given kind has a End_Has_Postponed field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Begin(kind)[source]

Check whether a node of the given kind has a Has_Begin field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_End(kind)[source]

Check whether a node of the given kind has a Has_End field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Is(kind)[source]

Check whether a node of the given kind has a Has_Is field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Pure(kind)[source]

Check whether a node of the given kind has a Has_Pure field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Body(kind)[source]

Check whether a node of the given kind has a Has_Body field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Parameter(kind)[source]

Check whether a node of the given kind has a Has_Parameter field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Component(kind)[source]

Check whether a node of the given kind has a Has_Component field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Identifier_List(kind)[source]

Check whether a node of the given kind has a Has_Identifier_List field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Mode(kind)[source]

Check whether a node of the given kind has a Has_Mode field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Class(kind)[source]

Check whether a node of the given kind has a Has_Class field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Semicolon(kind)[source]

Check whether a node of the given kind has a Has_Semicolon field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Has_Delay_Mechanism(kind)[source]

Check whether a node of the given kind has a Has_Delay_Mechanism field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suspend_Flag(kind)[source]

Check whether a node of the given kind has a Suspend_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Covered_Flag(kind)[source]

Check whether a node of the given kind has a Covered_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Stop_Flag(kind)[source]

Check whether a node of the given kind has a Stop_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Is_Ref(kind)[source]

Check whether a node of the given kind has a Is_Ref field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Is_Forward_Ref(kind)[source]

Check whether a node of the given kind has a Is_Forward_Ref field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Psl_Property(kind)[source]

Check whether a node of the given kind has a Psl_Property field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Psl_Sequence(kind)[source]

Check whether a node of the given kind has a Psl_Sequence field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Psl_Declaration(kind)[source]

Check whether a node of the given kind has a Psl_Declaration field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Psl_Expression(kind)[source]

Check whether a node of the given kind has a Psl_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Psl_Boolean(kind)[source]

Check whether a node of the given kind has a Psl_Boolean field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_Clock(kind)[source]

Check whether a node of the given kind has a PSL_Clock field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_Abort(kind)[source]

Check whether a node of the given kind has a PSL_Abort field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_NFA(kind)[source]

Check whether a node of the given kind has a PSL_NFA field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_Nbr_States(kind)[source]

Check whether a node of the given kind has a PSL_Nbr_States field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_Clock_Sensitivity(kind)[source]

Check whether a node of the given kind has a PSL_Clock_Sensitivity field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_PSL_EOS_Flag(kind)[source]

Check whether a node of the given kind has a PSL_EOS_Flag field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Count_Expression(kind)[source]

Check whether a node of the given kind has a Count_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Clock_Expression(kind)[source]

Check whether a node of the given kind has a Clock_Expression field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Default_Clock(kind)[source]

Check whether a node of the given kind has a Default_Clock field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Foreign_Node(kind)[source]

Check whether a node of the given kind has a Foreign_Node field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suspend_State_Index(kind)[source]

Check whether a node of the given kind has a Suspend_State_Index field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suspend_State_Chain(kind)[source]

Check whether a node of the given kind has a Suspend_State_Chain field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suspend_State_Last(kind)[source]

Check whether a node of the given kind has a Suspend_State_Last field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.

pyGHDL.libghdl.vhdl.nodes_meta.Has_Suspend_State_Decl(kind)[source]

Check whether a node of the given kind has a Suspend_State_Decl field.

Parameters:

kind (TypeVar(IirKind, bound= c_int)) – The node kind to check.

Return type:

bool

Returns:

True if a node of that kind has the field.


Classes

class pyGHDL.libghdl.vhdl.nodes_meta.types(*values)[source]

The types a field of the meta-model can have.

Inheritance

Inheritance diagram of types

__format__(format_spec, /)

Convert to a string according to format_spec.

__str__()

Return repr(self).

__repr__()

Return repr(self).

__new__(value)
__hash__()

Return hash(self).

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

__add__(value, /)

Return self+value.

__radd__(value, /)

Return value+self.

__sub__(value, /)

Return self-value.

__rsub__(value, /)

Return value-self.

__mul__(value, /)

Return self*value.

__rmul__(value, /)

Return value*self.

__mod__(value, /)

Return self%value.

__rmod__(value, /)

Return value%self.

__divmod__(value, /)

Return divmod(self, value).

__rdivmod__(value, /)

Return divmod(value, self).

__pow__(value, mod=None, /)

Return pow(self, value, mod).

__rpow__(value, mod=None, /)

Return pow(value, self, mod).

__neg__()

-self

__pos__()

+self

__abs__()

abs(self)

__bool__()

True if self else False

__invert__()

~self

__lshift__(value, /)

Return self<<value.

__rlshift__(value, /)

Return value<<self.

__rshift__(value, /)

Return self>>value.

__rrshift__(value, /)

Return value>>self.

__and__(value, /)

Return self&value.

__rand__(value, /)

Return value&self.

__xor__(value, /)

Return self^value.

__rxor__(value, /)

Return value^self.

__or__(value, /)

Return self|value.

__ror__(value, /)

Return value|self.

__int__()

int(self)

__float__()

float(self)

__floordiv__(value, /)

Return self//value.

__rfloordiv__(value, /)

Return value//self.

__truediv__(value, /)

Return self/value.

__rtruediv__(value, /)

Return value/self.

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

conjugate()

Returns self, the complex conjugate of any int.

bit_length()

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
bit_count()

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

>>> bin(13)
'0b1101'
>>> (13).bit_count()
3
to_bytes(length=1, byteorder='big', *, signed=False)

Return an array of bytes representing an integer.

length

Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.

classmethod from_bytes(bytes, byteorder='big', *, signed=False)

Return the integer represented by the given array of bytes.

bytes

Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Indicates whether two’s complement is used to represent the integer.

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

The ratio is in lowest terms and has a positive denominator.

>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)
__trunc__()

Truncating an Integral returns itself.

__floor__()

Flooring an Integral returns itself.

__ceil__()

Ceiling of an Integral returns itself.

__round__(ndigits=None, /)

Rounding an Integral returns itself.

Rounding with an ndigits argument also returns an integer.

__sizeof__()

Returns size in memory, in bytes.

is_integer()

Returns True. Exists for duck type compatibility with float.is_integer.

real

the real part of a complex number

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

denominator

the denominator of a rational number in lowest terms

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)

__dir__()

Returns public methods and other interesting attributes.

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

__reduce_ex__(proto)

Helper for pickle.

class pyGHDL.libghdl.vhdl.nodes_meta.Attr(*values)[source]

The access attribute of a field: a reference, a chain, or owned.

Inheritance

Inheritance diagram of Attr

__format__(format_spec, /)

Convert to a string according to format_spec.

__str__()

Return repr(self).

__repr__()

Return repr(self).

__new__(value)
__hash__()

Return hash(self).

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

__add__(value, /)

Return self+value.

__radd__(value, /)

Return value+self.

__sub__(value, /)

Return self-value.

__rsub__(value, /)

Return value-self.

__mul__(value, /)

Return self*value.

__rmul__(value, /)

Return value*self.

__mod__(value, /)

Return self%value.

__rmod__(value, /)

Return value%self.

__divmod__(value, /)

Return divmod(self, value).

__rdivmod__(value, /)

Return divmod(value, self).

__pow__(value, mod=None, /)

Return pow(self, value, mod).

__rpow__(value, mod=None, /)

Return pow(value, self, mod).

__neg__()

-self

__pos__()

+self

__abs__()

abs(self)

__bool__()

True if self else False

__invert__()

~self

__lshift__(value, /)

Return self<<value.

__rlshift__(value, /)

Return value<<self.

__rshift__(value, /)

Return self>>value.

__rrshift__(value, /)

Return value>>self.

__and__(value, /)

Return self&value.

__rand__(value, /)

Return value&self.

__xor__(value, /)

Return self^value.

__rxor__(value, /)

Return value^self.

__or__(value, /)

Return self|value.

__ror__(value, /)

Return value|self.

__int__()

int(self)

__float__()

float(self)

__floordiv__(value, /)

Return self//value.

__rfloordiv__(value, /)

Return value//self.

__truediv__(value, /)

Return self/value.

__rtruediv__(value, /)

Return value/self.

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

conjugate()

Returns self, the complex conjugate of any int.

bit_length()

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
bit_count()

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

>>> bin(13)
'0b1101'
>>> (13).bit_count()
3
to_bytes(length=1, byteorder='big', *, signed=False)

Return an array of bytes representing an integer.

length

Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.

classmethod from_bytes(bytes, byteorder='big', *, signed=False)

Return the integer represented by the given array of bytes.

bytes

Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Indicates whether two’s complement is used to represent the integer.

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

The ratio is in lowest terms and has a positive denominator.

>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)
__trunc__()

Truncating an Integral returns itself.

__floor__()

Flooring an Integral returns itself.

__ceil__()

Ceiling of an Integral returns itself.

__round__(ndigits=None, /)

Rounding an Integral returns itself.

Rounding with an ndigits argument also returns an integer.

__sizeof__()

Returns size in memory, in bytes.

is_integer()

Returns True. Exists for duck type compatibility with float.is_integer.

real

the real part of a complex number

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

denominator

the denominator of a rational number in lowest terms

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)

__dir__()

Returns public methods and other interesting attributes.

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

__reduce_ex__(proto)

Helper for pickle.

class pyGHDL.libghdl.vhdl.nodes_meta.fields(*values)[source]

Every field of the meta-model, as an enumeration.

Inheritance

Inheritance diagram of fields

__format__(format_spec, /)

Convert to a string according to format_spec.

__str__()

Return repr(self).

__repr__()

Return repr(self).

__new__(value)
__hash__()

Return hash(self).

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

__add__(value, /)

Return self+value.

__radd__(value, /)

Return value+self.

__sub__(value, /)

Return self-value.

__rsub__(value, /)

Return value-self.

__mul__(value, /)

Return self*value.

__rmul__(value, /)

Return value*self.

__mod__(value, /)

Return self%value.

__rmod__(value, /)

Return value%self.

__divmod__(value, /)

Return divmod(self, value).

__rdivmod__(value, /)

Return divmod(value, self).

__pow__(value, mod=None, /)

Return pow(self, value, mod).

__rpow__(value, mod=None, /)

Return pow(value, self, mod).

__neg__()

-self

__pos__()

+self

__abs__()

abs(self)

__bool__()

True if self else False

__invert__()

~self

__lshift__(value, /)

Return self<<value.

__rlshift__(value, /)

Return value<<self.

__rshift__(value, /)

Return self>>value.

__rrshift__(value, /)

Return value>>self.

__and__(value, /)

Return self&value.

__rand__(value, /)

Return value&self.

__xor__(value, /)

Return self^value.

__rxor__(value, /)

Return value^self.

__or__(value, /)

Return self|value.

__ror__(value, /)

Return value|self.

__int__()

int(self)

__float__()

float(self)

__floordiv__(value, /)

Return self//value.

__rfloordiv__(value, /)

Return value//self.

__truediv__(value, /)

Return self/value.

__rtruediv__(value, /)

Return value/self.

__index__()

Return self converted to an integer, if self is suitable for use as an index into a list.

conjugate()

Returns self, the complex conjugate of any int.

bit_length()

Number of bits necessary to represent self in binary.

>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
bit_count()

Number of ones in the binary representation of the absolute value of self.

Also known as the population count.

>>> bin(13)
'0b1101'
>>> (13).bit_count()
3
to_bytes(length=1, byteorder='big', *, signed=False)

Return an array of bytes representing an integer.

length

Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Determines whether two’s complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.

classmethod from_bytes(bytes, byteorder='big', *, signed=False)

Return the integer represented by the given array of bytes.

bytes

Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol.

byteorder

The byte order used to represent the integer. If byteorder is ‘big’, the most significant byte is at the beginning of the byte array. If byteorder is ‘little’, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use sys.byteorder as the byte order value. Default is to use ‘big’.

signed

Indicates whether two’s complement is used to represent the integer.

as_integer_ratio()

Return a pair of integers, whose ratio is equal to the original int.

The ratio is in lowest terms and has a positive denominator.

>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)
__trunc__()

Truncating an Integral returns itself.

__floor__()

Flooring an Integral returns itself.

__ceil__()

Ceiling of an Integral returns itself.

__round__(ndigits=None, /)

Rounding an Integral returns itself.

Rounding with an ndigits argument also returns an integer.

__sizeof__()

Returns size in memory, in bytes.

is_integer()

Returns True. Exists for duck type compatibility with float.is_integer.

real

the real part of a complex number

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

denominator

the denominator of a rational number in lowest terms

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)

__dir__()

Returns public methods and other interesting attributes.

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

__reduce_ex__(proto)

Helper for pickle.