Sign in
android
/
platform
/
external
/
antlr
/
51dde35ab45fb6f9b2718bb8ec8180fef22ec694
/
.
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST63.g
blob: 2ebf7af6cdaefe01ee8d91b8f0ce973ee17c8f9c [
file
] [
log
] [
blame
]
grammar t058rewriteAST63
;
options
{
language
=
JavaScript
;
output
=
AST
;}
tokens
{
BLOCK
;}
a
:
x
+=
ID
(
y
=
b
)?
->
(
$x $y
)?;
b
:
ID
;
ID
:
'a'
..
'z'
+
;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;