Optional operator

39 views
Skip to first unread message

Pavel Martynov

unread,
Mar 5, 2012, 3:54:46 AM3/5/12
to sprache
Hey!

How can i write with Sprache analog of ANTRL optional operator "?" ?

Example of ANTLR grammar:
formal : variable+ ('.' variable)?

What is the appropriate C# code?

Thanks.
Reply all
Reply to author
Forward
0 new messages