aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/vhdl/nodes.py
diff options
context:
space:
mode:
authorBrian Padalino <bpadalino@gmail.com>2021-09-23 01:44:59 -0400
committertgingold <tgingold@users.noreply.github.com>2021-09-24 07:29:46 +0200
commitdfd094273e636fb275a7416a1c470d0b136e9362 (patch)
treec3381b2f291dd0edb6da5f2b77c049b265257241 /pyGHDL/libghdl/vhdl/nodes.py
parenta076bcb8121ea03b626447f5dace625415697600 (diff)
downloadghdl-dfd094273e636fb275a7416a1c470d0b136e9362.tar.gz
ghdl-dfd094273e636fb275a7416a1c470d0b136e9362.tar.bz2
ghdl-dfd094273e636fb275a7416a1c470d0b136e9362.zip
Add parsing of case? statement and simple test.
Also add the Matching flag to the Iir_Kind_Case_Statement.
Diffstat (limited to 'pyGHDL/libghdl/vhdl/nodes.py')
-rw-r--r--pyGHDL/libghdl/vhdl/nodes.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pyGHDL/libghdl/vhdl/nodes.py b/pyGHDL/libghdl/vhdl/nodes.py
index bd26406d2..36cc357e8 100644
--- a/pyGHDL/libghdl/vhdl/nodes.py
+++ b/pyGHDL/libghdl/vhdl/nodes.py
@@ -5920,6 +5920,19 @@ def Set_Case_Statement_Alternative_Chain(obj: Iir, value: Iir) -> None:
@export
+@BindToLibGHDL("vhdl__nodes__get_matching_flag")
+def Get_Matching_Flag(obj: Iir) -> Boolean:
+ """"""
+ return 0
+
+
+@export
+@BindToLibGHDL("vhdl__nodes__set_matching_flag")
+def Set_Matching_Flag(obj: Iir, value: Boolean) -> None:
+ """"""
+
+
+@export
@BindToLibGHDL("vhdl__nodes__get_choice_staticness")
def Get_Choice_Staticness(obj: Iir) -> Iir:
""""""