Parser and type checker almost completely working

Added testing env
This commit is contained in:
macocianradu
2021-11-11 17:25:30 +01:00
parent 464ef29caa
commit 3890ed5f03
32 changed files with 287 additions and 356 deletions

View File

@@ -0,0 +1,4 @@
enum PeriodEnum: <"The enumerated values to specified the period, e.g. day, week.">
D displayName "day" <"Day">
M displayName "month" <"Month">
Y displayName "year" <"Year">

View File

@@ -0,0 +1,4 @@
enum EnumWithoutDisplay: <"The enumerated values to specified the period, e.g. day, week.">
D <"Day">
M <"Month">
Y <"Year">

View File

@@ -0,0 +1,3 @@
enum EnumWithoutDescription:
X displayName "xs"
Y displayName "ys"

View File

@@ -0,0 +1,3 @@
enum Wrong:
A <"asd"> displayName "dsa"
B <"xyz"> displayName "zyx"

View File

@@ -0,0 +1,3 @@
enum Wrong2
A <"asd"> displayName "dsa"
B <"xyz"> displayName "zyx"

View File

@@ -0,0 +1,3 @@
enum Wrong3::
A <"asd"> displayName "dsa"
B <"xyz"> displayName "zyx"