aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-11-10 05:02:59 +0100
committerTristan Gingold <tgingold@free.fr>2021-11-10 05:02:59 +0100
commit1f3b1857bb01bc8ec0e50b9c0f6eb061dbfd782a (patch)
tree16caaafde616f6d5fc42c5482e4ac77da33706ab
parent96245c0a4df7a6bc07cd8b7c15268c78c459f3b7 (diff)
downloadghdl-1f3b1857bb01bc8ec0e50b9c0f6eb061dbfd782a.tar.gz
ghdl-1f3b1857bb01bc8ec0e50b9c0f6eb061dbfd782a.tar.bz2
ghdl-1f3b1857bb01bc8ec0e50b9c0f6eb061dbfd782a.zip
pyGHDL: regenerate nodes.py
-rw-r--r--pyGHDL/libghdl/vhdl/nodes.py620
1 files changed, 311 insertions, 309 deletions
diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py
index 0c72ca51a..9b8a9208f 100644
--- a/pyGHDL/libghdl/vhdl/nodes.py
+++ b/pyGHDL/libghdl/vhdl/nodes.py
@@ -48,326 +48,328 @@ class Iir_Kind(IntEnum):
Error = 1
Design_File = 2
Design_Unit = 3
- Foreign_Module = 4
- Library_Clause = 5
- Use_Clause = 6
- Context_Reference = 7
- PSL_Inherit_Spec = 8
- Integer_Literal = 9
- Floating_Point_Literal = 10
- Null_Literal = 11
- String_Literal8 = 12
- Physical_Int_Literal = 13
- Physical_Fp_Literal = 14
- Simple_Aggregate = 15
- Overflow_Literal = 16
- Unaffected_Waveform = 17
- Waveform_Element = 18
- Conditional_Waveform = 19
- Conditional_Expression = 20
- Association_Element_By_Expression = 21
- Association_Element_By_Name = 22
- Association_Element_By_Individual = 23
- Association_Element_Open = 24
- Association_Element_Package = 25
- Association_Element_Type = 26
- Association_Element_Subprogram = 27
- Association_Element_Terminal = 28
- Choice_By_Range = 29
- Choice_By_Expression = 30
- Choice_By_Others = 31
- Choice_By_None = 32
- Choice_By_Name = 33
- Entity_Aspect_Entity = 34
- Entity_Aspect_Configuration = 35
- Entity_Aspect_Open = 36
- Psl_Hierarchical_Name = 37
- Block_Configuration = 38
- Block_Header = 39
- Component_Configuration = 40
- Binding_Indication = 41
- Entity_Class = 42
- Attribute_Value = 43
- Signature = 44
- Aggregate_Info = 45
- Procedure_Call = 46
- Record_Element_Constraint = 47
- Array_Element_Resolution = 48
- Record_Resolution = 49
- Record_Element_Resolution = 50
- Break_Element = 51
- Attribute_Specification = 52
- Disconnection_Specification = 53
- Step_Limit_Specification = 54
- Configuration_Specification = 55
- Access_Type_Definition = 56
- Incomplete_Type_Definition = 57
- Interface_Type_Definition = 58
- File_Type_Definition = 59
- Protected_Type_Declaration = 60
- Record_Type_Definition = 61
- Array_Type_Definition = 62
- Array_Subtype_Definition = 63
- Record_Subtype_Definition = 64
- Access_Subtype_Definition = 65
- Physical_Subtype_Definition = 66
- Floating_Subtype_Definition = 67
- Integer_Subtype_Definition = 68
- Enumeration_Subtype_Definition = 69
- Enumeration_Type_Definition = 70
- Integer_Type_Definition = 71
- Floating_Type_Definition = 72
- Physical_Type_Definition = 73
- Range_Expression = 74
- Protected_Type_Body = 75
- Wildcard_Type_Definition = 76
+ Library_Clause = 4
+ Use_Clause = 5
+ Context_Reference = 6
+ PSL_Inherit_Spec = 7
+ Integer_Literal = 8
+ Floating_Point_Literal = 9
+ Null_Literal = 10
+ String_Literal8 = 11
+ Physical_Int_Literal = 12
+ Physical_Fp_Literal = 13
+ Simple_Aggregate = 14
+ Overflow_Literal = 15
+ Unaffected_Waveform = 16
+ Waveform_Element = 17
+ Conditional_Waveform = 18
+ Conditional_Expression = 19
+ Association_Element_By_Expression = 20
+ Association_Element_By_Name = 21
+ Association_Element_By_Individual = 22
+ Association_Element_Open = 23
+ Association_Element_Package = 24
+ Association_Element_Type = 25
+ Association_Element_Subprogram = 26
+ Association_Element_Terminal = 27
+ Choice_By_Range = 28
+ Choice_By_Expression = 29
+ Choice_By_Others = 30
+ Choice_By_None = 31
+ Choice_By_Name = 32
+ Entity_Aspect_Entity = 33
+ Entity_Aspect_Configuration = 34
+ Entity_Aspect_Open = 35
+ Psl_Hierarchical_Name = 36
+ Block_Configuration = 37
+ Block_Header = 38
+ Component_Configuration = 39
+ Binding_Indication = 40
+ Entity_Class = 41
+ Attribute_Value = 42
+ Signature = 43
+ Aggregate_Info = 44
+ Procedure_Call = 45
+ Record_Element_Constraint = 46
+ Array_Element_Resolution = 47
+ Record_Resolution = 48
+ Record_Element_Resolution = 49
+ Break_Element = 50
+ Attribute_Specification = 51
+ Disconnection_Specification = 52
+ Step_Limit_Specification = 53
+ Configuration_Specification = 54
+ Access_Type_Definition = 55
+ Incomplete_Type_Definition = 56
+ Interface_Type_Definition = 57
+ File_Type_Definition = 58
+ Protected_Type_Declaration = 59
+ Record_Type_Definition = 60
+ Array_Type_Definition = 61
+ Array_Subtype_Definition = 62
+ Record_Subtype_Definition = 63
+ Access_Subtype_Definition = 64
+ Physical_Subtype_Definition = 65
+ Floating_Subtype_Definition = 66
+ Integer_Subtype_Definition = 67
+ Enumeration_Subtype_Definition = 68
+ Enumeration_Type_Definition = 69
+ Integer_Type_Definition = 70
+ Floating_Type_Definition = 71
+ Physical_Type_Definition = 72
+ Range_Expression = 73
+ Protected_Type_Body = 74
+ Wildcard_Type_Definition = 75
+ Foreign_Vector_Type_Definition = 76
Subtype_Definition = 77
Scalar_Nature_Definition = 78
Record_Nature_Definition = 79
Array_Nature_Definition = 80
Array_Subnature_Definition = 81
Overload_List = 82
- Entity_Declaration = 83
- Configuration_Declaration = 84
- Context_Declaration = 85
- Package_Declaration = 86
- Package_Instantiation_Declaration = 87
- Vmode_Declaration = 88
- Vprop_Declaration = 89
- Vunit_Declaration = 90
- Package_Body = 91
- Architecture_Body = 92
- Type_Declaration = 93
- Anonymous_Type_Declaration = 94
- Subtype_Declaration = 95
- Nature_Declaration = 96
- Subnature_Declaration = 97
- Package_Header = 98
- Unit_Declaration = 99
- Library_Declaration = 100
- Component_Declaration = 101
- Attribute_Declaration = 102
- Group_Template_Declaration = 103
- Group_Declaration = 104
- Element_Declaration = 105
- Nature_Element_Declaration = 106
- Non_Object_Alias_Declaration = 107
- Psl_Declaration = 108
- Psl_Endpoint_Declaration = 109
- Enumeration_Literal = 110
- Function_Declaration = 111
- Procedure_Declaration = 112
- Function_Body = 113
- Procedure_Body = 114
- Function_Instantiation_Declaration = 115
- Procedure_Instantiation_Declaration = 116
- Terminal_Declaration = 117
- Object_Alias_Declaration = 118
- Free_Quantity_Declaration = 119
- Spectrum_Quantity_Declaration = 120
- Noise_Quantity_Declaration = 121
- Across_Quantity_Declaration = 122
- Through_Quantity_Declaration = 123
- File_Declaration = 124
- Guard_Signal_Declaration = 125
- Signal_Declaration = 126
- Variable_Declaration = 127
- Constant_Declaration = 128
- Iterator_Declaration = 129
- Interface_Constant_Declaration = 130
- Interface_Variable_Declaration = 131
- Interface_Signal_Declaration = 132
- Interface_File_Declaration = 133
- Interface_Quantity_Declaration = 134
- Interface_Terminal_Declaration = 135
- Interface_Type_Declaration = 136
- Interface_Package_Declaration = 137
- Interface_Function_Declaration = 138
- Interface_Procedure_Declaration = 139
- Signal_Attribute_Declaration = 140
- Identity_Operator = 141
- Negation_Operator = 142
- Absolute_Operator = 143
- Not_Operator = 144
- Implicit_Condition_Operator = 145
- Condition_Operator = 146
- Reduction_And_Operator = 147
- Reduction_Or_Operator = 148
- Reduction_Nand_Operator = 149
- Reduction_Nor_Operator = 150
- Reduction_Xor_Operator = 151
- Reduction_Xnor_Operator = 152
- And_Operator = 153
- Or_Operator = 154
- Nand_Operator = 155
- Nor_Operator = 156
- Xor_Operator = 157
- Xnor_Operator = 158
- Equality_Operator = 159
- Inequality_Operator = 160
- Less_Than_Operator = 161
- Less_Than_Or_Equal_Operator = 162
- Greater_Than_Operator = 163
- Greater_Than_Or_Equal_Operator = 164
- Match_Equality_Operator = 165
- Match_Inequality_Operator = 166
- Match_Less_Than_Operator = 167
- Match_Less_Than_Or_Equal_Operator = 168
- Match_Greater_Than_Operator = 169
- Match_Greater_Than_Or_Equal_Operator = 170
- Sll_Operator = 171
- Sla_Operator = 172
- Srl_Operator = 173
- Sra_Operator = 174
- Rol_Operator = 175
- Ror_Operator = 176
- Addition_Operator = 177
- Substraction_Operator = 178
- Concatenation_Operator = 179
- Multiplication_Operator = 180
- Division_Operator = 181
- Modulus_Operator = 182
- Remainder_Operator = 183
- Exponentiation_Operator = 184
- Function_Call = 185
- Aggregate = 186
- Parenthesis_Expression = 187
- Qualified_Expression = 188
- Type_Conversion = 189
- Allocator_By_Expression = 190
- Allocator_By_Subtype = 191
- Selected_Element = 192
- Dereference = 193
- Implicit_Dereference = 194
- Slice_Name = 195
- Indexed_Name = 196
- Psl_Prev = 197
- Psl_Stable = 198
- Psl_Rose = 199
- Psl_Fell = 200
- Psl_Onehot = 201
- Psl_Onehot0 = 202
- Psl_Expression = 203
- Sensitized_Process_Statement = 204
- Process_Statement = 205
- Concurrent_Simple_Signal_Assignment = 206
- Concurrent_Conditional_Signal_Assignment = 207
- Concurrent_Selected_Signal_Assignment = 208
- Concurrent_Assertion_Statement = 209
- Concurrent_Procedure_Call_Statement = 210
- Concurrent_Break_Statement = 211
- Psl_Assert_Directive = 212
- Psl_Assume_Directive = 213
- Psl_Cover_Directive = 214
- Psl_Restrict_Directive = 215
- Block_Statement = 216
- If_Generate_Statement = 217
- Case_Generate_Statement = 218
- For_Generate_Statement = 219
- Component_Instantiation_Statement = 220
- Psl_Default_Clock = 221
- Generate_Statement_Body = 222
- If_Generate_Else_Clause = 223
- Simple_Simultaneous_Statement = 224
- Simultaneous_Null_Statement = 225
- Simultaneous_Procedural_Statement = 226
- Simultaneous_Case_Statement = 227
- Simultaneous_If_Statement = 228
- Simultaneous_Elsif = 229
- Simple_Signal_Assignment_Statement = 230
- Conditional_Signal_Assignment_Statement = 231
- Selected_Waveform_Assignment_Statement = 232
- Signal_Force_Assignment_Statement = 233
- Signal_Release_Assignment_Statement = 234
- Null_Statement = 235
- Assertion_Statement = 236
- Report_Statement = 237
- Wait_Statement = 238
- Variable_Assignment_Statement = 239
- Conditional_Variable_Assignment_Statement = 240
- Return_Statement = 241
- For_Loop_Statement = 242
- While_Loop_Statement = 243
- Next_Statement = 244
- Exit_Statement = 245
- Case_Statement = 246
- Procedure_Call_Statement = 247
- Break_Statement = 248
- If_Statement = 249
- Elsif = 250
- Character_Literal = 251
- Simple_Name = 252
- Selected_Name = 253
- Operator_Symbol = 254
- Reference_Name = 255
- External_Constant_Name = 256
- External_Signal_Name = 257
- External_Variable_Name = 258
- Selected_By_All_Name = 259
- Parenthesis_Name = 260
- Package_Pathname = 261
- Absolute_Pathname = 262
- Relative_Pathname = 263
- Pathname_Element = 264
- Base_Attribute = 265
- Subtype_Attribute = 266
- Element_Attribute = 267
- Across_Attribute = 268
- Through_Attribute = 269
- Nature_Reference_Attribute = 270
- Left_Type_Attribute = 271
- Right_Type_Attribute = 272
- High_Type_Attribute = 273
- Low_Type_Attribute = 274
- Ascending_Type_Attribute = 275
- Image_Attribute = 276
- Value_Attribute = 277
- Pos_Attribute = 278
- Val_Attribute = 279
- Succ_Attribute = 280
- Pred_Attribute = 281
- Leftof_Attribute = 282
- Rightof_Attribute = 283
- Signal_Slew_Attribute = 284
- Quantity_Slew_Attribute = 285
- Ramp_Attribute = 286
- Zoh_Attribute = 287
- Ltf_Attribute = 288
- Ztf_Attribute = 289
- Dot_Attribute = 290
- Integ_Attribute = 291
- Above_Attribute = 292
- Quantity_Delayed_Attribute = 293
- Delayed_Attribute = 294
- Stable_Attribute = 295
- Quiet_Attribute = 296
- Transaction_Attribute = 297
- Event_Attribute = 298
- Active_Attribute = 299
- Last_Event_Attribute = 300
- Last_Active_Attribute = 301
- Last_Value_Attribute = 302
- Driving_Attribute = 303
- Driving_Value_Attribute = 304
- Behavior_Attribute = 305
- Structure_Attribute = 306
- Simple_Name_Attribute = 307
- Instance_Name_Attribute = 308
- Path_Name_Attribute = 309
- Left_Array_Attribute = 310
- Right_Array_Attribute = 311
- High_Array_Attribute = 312
- Low_Array_Attribute = 313
- Length_Array_Attribute = 314
- Ascending_Array_Attribute = 315
- Range_Array_Attribute = 316
- Reverse_Range_Array_Attribute = 317
- Attribute_Name = 318
+ Foreign_Module = 83
+ Entity_Declaration = 84
+ Configuration_Declaration = 85
+ Context_Declaration = 86
+ Package_Declaration = 87
+ Package_Instantiation_Declaration = 88
+ Vmode_Declaration = 89
+ Vprop_Declaration = 90
+ Vunit_Declaration = 91
+ Package_Body = 92
+ Architecture_Body = 93
+ Type_Declaration = 94
+ Anonymous_Type_Declaration = 95
+ Subtype_Declaration = 96
+ Nature_Declaration = 97
+ Subnature_Declaration = 98
+ Package_Header = 99
+ Unit_Declaration = 100
+ Library_Declaration = 101
+ Component_Declaration = 102
+ Attribute_Declaration = 103
+ Group_Template_Declaration = 104
+ Group_Declaration = 105
+ Element_Declaration = 106
+ Nature_Element_Declaration = 107
+ Non_Object_Alias_Declaration = 108
+ Psl_Declaration = 109
+ Psl_Endpoint_Declaration = 110
+ Enumeration_Literal = 111
+ Function_Declaration = 112
+ Procedure_Declaration = 113
+ Function_Body = 114
+ Procedure_Body = 115
+ Function_Instantiation_Declaration = 116
+ Procedure_Instantiation_Declaration = 117
+ Terminal_Declaration = 118
+ Object_Alias_Declaration = 119
+ Free_Quantity_Declaration = 120
+ Spectrum_Quantity_Declaration = 121
+ Noise_Quantity_Declaration = 122
+ Across_Quantity_Declaration = 123
+ Through_Quantity_Declaration = 124
+ File_Declaration = 125
+ Guard_Signal_Declaration = 126
+ Signal_Declaration = 127
+ Variable_Declaration = 128
+ Constant_Declaration = 129
+ Iterator_Declaration = 130
+ Interface_Constant_Declaration = 131
+ Interface_Variable_Declaration = 132
+ Interface_Signal_Declaration = 133
+ Interface_File_Declaration = 134
+ Interface_Quantity_Declaration = 135
+ Interface_Terminal_Declaration = 136
+ Interface_Type_Declaration = 137
+ Interface_Package_Declaration = 138
+ Interface_Function_Declaration = 139
+ Interface_Procedure_Declaration = 140
+ Signal_Attribute_Declaration = 141
+ Identity_Operator = 142
+ Negation_Operator = 143
+ Absolute_Operator = 144
+ Not_Operator = 145
+ Implicit_Condition_Operator = 146
+ Condition_Operator = 147
+ Reduction_And_Operator = 148
+ Reduction_Or_Operator = 149
+ Reduction_Nand_Operator = 150
+ Reduction_Nor_Operator = 151
+ Reduction_Xor_Operator = 152
+ Reduction_Xnor_Operator = 153
+ And_Operator = 154
+ Or_Operator = 155
+ Nand_Operator = 156
+ Nor_Operator = 157
+ Xor_Operator = 158
+ Xnor_Operator = 159
+ Equality_Operator = 160
+ Inequality_Operator = 161
+ Less_Than_Operator = 162
+ Less_Than_Or_Equal_Operator = 163
+ Greater_Than_Operator = 164
+ Greater_Than_Or_Equal_Operator = 165
+ Match_Equality_Operator = 166
+ Match_Inequality_Operator = 167
+ Match_Less_Than_Operator = 168
+ Match_Less_Than_Or_Equal_Operator = 169
+ Match_Greater_Than_Operator = 170
+ Match_Greater_Than_Or_Equal_Operator = 171
+ Sll_Operator = 172
+ Sla_Operator = 173
+ Srl_Operator = 174
+ Sra_Operator = 175
+ Rol_Operator = 176
+ Ror_Operator = 177
+ Addition_Operator = 178
+ Substraction_Operator = 179
+ Concatenation_Operator = 180
+ Multiplication_Operator = 181
+ Division_Operator = 182
+ Modulus_Operator = 183
+ Remainder_Operator = 184
+ Exponentiation_Operator = 185
+ Function_Call = 186
+ Aggregate = 187
+ Parenthesis_Expression = 188
+ Qualified_Expression = 189
+ Type_Conversion = 190
+ Allocator_By_Expression = 191
+ Allocator_By_Subtype = 192
+ Selected_Element = 193
+ Dereference = 194
+ Implicit_Dereference = 195
+ Slice_Name = 196
+ Indexed_Name = 197
+ Psl_Prev = 198
+ Psl_Stable = 199
+ Psl_Rose = 200
+ Psl_Fell = 201
+ Psl_Onehot = 202
+ Psl_Onehot0 = 203
+ Psl_Expression = 204
+ Sensitized_Process_Statement = 205
+ Process_Statement = 206
+ Concurrent_Simple_Signal_Assignment = 207
+ Concurrent_Conditional_Signal_Assignment = 208
+ Concurrent_Selected_Signal_Assignment = 209
+ Concurrent_Assertion_Statement = 210
+ Concurrent_Procedure_Call_Statement = 211
+ Concurrent_Break_Statement = 212
+ Psl_Assert_Directive = 213
+ Psl_Assume_Directive = 214
+ Psl_Cover_Directive = 215
+ Psl_Restrict_Directive = 216
+ Block_Statement = 217
+ If_Generate_Statement = 218
+ Case_Generate_Statement = 219
+ For_Generate_Statement = 220
+ Component_Instantiation_Statement = 221
+ Psl_Default_Clock = 222
+ Generate_Statement_Body = 223
+ If_Generate_Else_Clause = 224
+ Simple_Simultaneous_Statement = 225
+ Simultaneous_Null_Statement = 226
+ Simultaneous_Procedural_Statement = 227
+ Simultaneous_Case_Statement = 228
+ Simultaneous_If_Statement = 229
+ Simultaneous_Elsif = 230
+ Simple_Signal_Assignment_Statement = 231
+ Conditional_Signal_Assignment_Statement = 232
+ Selected_Waveform_Assignment_Statement = 233
+ Signal_Force_Assignment_Statement = 234
+ Signal_Release_Assignment_Statement = 235
+ Null_Statement = 236
+ Assertion_Statement = 237
+ Report_Statement = 238
+ Wait_Statement = 239
+ Variable_Assignment_Statement = 240
+ Conditional_Variable_Assignment_Statement = 241
+ Return_Statement = 242
+ For_Loop_Statement = 243
+ While_Loop_Statement = 244
+ Next_Statement = 245
+ Exit_Statement = 246
+ Case_Statement = 247
+ Procedure_Call_Statement = 248
+ Break_Statement = 249
+ If_Statement = 250
+ Elsif = 251
+ Character_Literal = 252
+ Simple_Name = 253
+ Selected_Name = 254
+ Operator_Symbol = 255
+ Reference_Name = 256
+ External_Constant_Name = 257
+ External_Signal_Name = 258
+ External_Variable_Name = 259
+ Selected_By_All_Name = 260
+ Parenthesis_Name = 261
+ Package_Pathname = 262
+ Absolute_Pathname = 263
+ Relative_Pathname = 264
+ Pathname_Element = 265
+ Base_Attribute = 266
+ Subtype_Attribute = 267
+ Element_Attribute = 268
+ Across_Attribute = 269
+ Through_Attribute = 270
+ Nature_Reference_Attribute = 271
+ Left_Type_Attribute = 272
+ Right_Type_Attribute = 273
+ High_Type_Attribute = 274
+ Low_Type_Attribute = 275
+ Ascending_Type_Attribute = 276
+ Image_Attribute = 277
+ Value_Attribute = 278
+ Pos_Attribute = 279
+ Val_Attribute = 280
+ Succ_Attribute = 281
+ Pred_Attribute = 282
+ Leftof_Attribute = 283
+ Rightof_Attribute = 284
+ Signal_Slew_Attribute = 285
+ Quantity_Slew_Attribute = 286
+ Ramp_Attribute = 287
+ Zoh_Attribute = 288
+ Ltf_Attribute = 289
+ Ztf_Attribute = 290
+ Dot_Attribute = 291
+ Integ_Attribute = 292
+ Above_Attribute = 293
+ Quantity_Delayed_Attribute = 294
+ Delayed_Attribute = 295
+ Stable_Attribute = 296
+ Quiet_Attribute = 297
+ Transaction_Attribute = 298
+ Event_Attribute = 299
+ Active_Attribute = 300
+ Last_Event_Attribute = 301
+ Last_Active_Attribute = 302
+ Last_Value_Attribute = 303
+ Driving_Attribute = 304
+ Driving_Value_Attribute = 305
+ Behavior_Attribute = 306
+ Structure_Attribute = 307
+ Simple_Name_Attribute = 308
+ Instance_Name_Attribute = 309
+ Path_Name_Attribute = 310
+ Left_Array_Attribute = 311
+ Right_Array_Attribute = 312
+ High_Array_Attribute = 313
+ Low_Array_Attribute = 314
+ Length_Array_Attribute = 315
+ Ascending_Array_Attribute = 316
+ Range_Array_Attribute = 317
+ Reverse_Range_Array_Attribute = 318
+ Attribute_Name = 319
@export
class Iir_Kinds:
Library_Unit = [
+ Iir_Kind.Foreign_Module,
Iir_Kind.Entity_Declaration,
Iir_Kind.Configuration_Declaration,
Iir_Kind.Context_Declaration,