Sign in
ara-mdk
/
platform
/
external
/
antlr
/
324c4644fee44b9898524c09511bd33c3f12e2df
/
.
/
antlr-3.4
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST62.g
blob: 6ae8d723808364e205067ac781f535a3828ebe6a [
file
] [
log
] [
blame
]
grammar t058rewriteAST62
;
options
{
language
=
JavaScript
;
output
=
AST
;}
tokens
{
BLOCK
;}
a
:
x
=
ID
(
y
=
b
)?
->
(
$x $y
)?;
b
:
ID
;
ID
:
'a'
..
'z'
+
;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;