Sign in
ara-mdk
/
platform
/
external
/
antlr
/
refs/heads/master
/
.
/
antlr-3.4
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST65.g
blob: ffcabbb3d521333167fcb641bfd13d7993499302 [
file
] [
log
] [
blame
]
grammar t058rewriteAST65
;
options
{
language
=
JavaScript
;
output
=
AST
;}
tokens
{
BLOCK
;}
a
:
x
+=
b x
+=
b
->
{
new
org
.
antlr
.
runtime
.
tree
.
CommonTree
(
null
)};
b
:
ID
;
ID
:
'a'
..
'z'
+
;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;