diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-01-14 18:48:54 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-01-14 19:36:42 +0100 |
commit | 1fe5958609b57e7d134e0cc75713c530339a86dd (patch) | |
tree | 07aecd3ef1315290cfb7a5265f90075550aa1add /pyGHDL | |
parent | 3fd2769300e7ff6e2065dbbbf4cbb44fa11fbda0 (diff) | |
download | ghdl-1fe5958609b57e7d134e0cc75713c530339a86dd.tar.gz ghdl-1fe5958609b57e7d134e0cc75713c530339a86dd.tar.bz2 ghdl-1fe5958609b57e7d134e0cc75713c530339a86dd.zip |
vhdl: add Get/Set_Elaboration_Flag
Diffstat (limited to 'pyGHDL')
-rw-r--r-- | pyGHDL/libghdl/vhdl/nodes.py | 13 | ||||
-rw-r--r-- | pyGHDL/libghdl/vhdl/nodes_meta.py | 83 |
2 files changed, 58 insertions, 38 deletions
diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py index df1455c82..9af4cacea 100644 --- a/pyGHDL/libghdl/vhdl/nodes.py +++ b/pyGHDL/libghdl/vhdl/nodes.py @@ -6527,6 +6527,19 @@ def Set_Use_Flag(obj: Iir, value: Boolean) -> None: @export +@BindToLibGHDL("vhdl__nodes__get_elaborated_flag") +def Get_Elaborated_Flag(obj: Iir) -> Boolean: + """""" + return 0 + + +@export +@BindToLibGHDL("vhdl__nodes__set_elaborated_flag") +def Set_Elaborated_Flag(obj: Iir, value: Boolean) -> None: + """""" + + +@export @BindToLibGHDL("vhdl__nodes__get_end_has_reserved_id") def Get_End_Has_Reserved_Id(obj: Iir) -> Boolean: """""" diff --git a/pyGHDL/libghdl/vhdl/nodes_meta.py b/pyGHDL/libghdl/vhdl/nodes_meta.py index ef851f816..f1d70aa22 100644 --- a/pyGHDL/libghdl/vhdl/nodes_meta.py +++ b/pyGHDL/libghdl/vhdl/nodes_meta.py @@ -466,44 +466,45 @@ class fields(IntEnum): Protected_Type_Body = 346 Protected_Type_Declaration = 347 Use_Flag = 348 - End_Has_Reserved_Id = 349 - End_Has_Identifier = 350 - End_Has_Postponed = 351 - Has_Label = 352 - Has_Begin = 353 - Has_End = 354 - Has_Is = 355 - Has_Pure = 356 - Has_Body = 357 - Has_Parameter = 358 - Has_Component = 359 - Has_Identifier_List = 360 - Has_Mode = 361 - Has_Class = 362 - Has_Delay_Mechanism = 363 - Suspend_Flag = 364 - Stop_Flag = 365 - Is_Ref = 366 - Is_Forward_Ref = 367 - Psl_Property = 368 - Psl_Sequence = 369 - Psl_Declaration = 370 - Psl_Expression = 371 - Psl_Boolean = 372 - PSL_Clock = 373 - PSL_NFA = 374 - PSL_Nbr_States = 375 - PSL_Clock_Sensitivity = 376 - PSL_EOS_Flag = 377 - PSL_Abort_Flag = 378 - Count_Expression = 379 - Clock_Expression = 380 - Default_Clock = 381 - Foreign_Node = 382 - Suspend_State_Index = 383 - Suspend_State_Chain = 384 - Suspend_State_Last = 385 - Suspend_State_Decl = 386 + Elaborated_Flag = 349 + End_Has_Reserved_Id = 350 + End_Has_Identifier = 351 + End_Has_Postponed = 352 + Has_Label = 353 + Has_Begin = 354 + Has_End = 355 + Has_Is = 356 + Has_Pure = 357 + Has_Body = 358 + Has_Parameter = 359 + Has_Component = 360 + Has_Identifier_List = 361 + Has_Mode = 362 + Has_Class = 363 + Has_Delay_Mechanism = 364 + Suspend_Flag = 365 + Stop_Flag = 366 + Is_Ref = 367 + Is_Forward_Ref = 368 + Psl_Property = 369 + Psl_Sequence = 370 + Psl_Declaration = 371 + Psl_Expression = 372 + Psl_Boolean = 373 + PSL_Clock = 374 + PSL_NFA = 375 + PSL_Nbr_States = 376 + PSL_Clock_Sensitivity = 377 + PSL_EOS_Flag = 378 + PSL_Abort_Flag = 379 + Count_Expression = 380 + Clock_Expression = 381 + Default_Clock = 382 + Foreign_Node = 383 + Suspend_State_Index = 384 + Suspend_State_Chain = 385 + Suspend_State_Last = 386 + Suspend_State_Decl = 387 def Get_Boolean(node, field): @@ -2733,6 +2734,12 @@ def Has_Use_Flag(kind: IirKind) -> bool: @export +@BindToLibGHDL("vhdl__nodes_meta__has_elaborated_flag") +def Has_Elaborated_Flag(kind: IirKind) -> bool: + """""" + + +@export @BindToLibGHDL("vhdl__nodes_meta__has_end_has_reserved_id") def Has_End_Has_Reserved_Id(kind: IirKind) -> bool: """""" |