tweak
This commit is contained in:
parent
9c44939f6a
commit
21a97e4ead
|
@ -1,13 +1,3 @@
|
||||||
grammar T;
|
grammar T;
|
||||||
|
|
||||||
//if new ArrayList<String>() {{ add(1); }} else return;
|
s : ({}A|B|C)? ;
|
||||||
|
|
||||||
s : a | b ;
|
|
||||||
a : c ID ;
|
|
||||||
b : c INT ID ;
|
|
||||||
c : INT
|
|
||||||
|
|
|
||||||
;
|
|
||||||
INT : [0-9]+ ;
|
|
||||||
ID : [a-z]+ ;
|
|
||||||
WS : [ \r\t\n]+ -> skip ;
|
|
||||||
|
|
Loading…
Reference in New Issue