How to check for optional argument? #382
Answered
by
gmhta
kelvinkoko
asked this question in
Help
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pdubroy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry it maybe a simple question, but i seems cannot find the answer in doc
For example i have this grammar
If = "if" StatementInRound StatementInCurly Else?
The
Else
is optional,so in semantics, what is the recommend way to check whether this match contain "Else " case?
Beta Was this translation helpful? Give feedback.
All reactions