Sign in
android
/
platform
/
external
/
antlr
/
caea28a08126f47fb6acab215f1eba2e8d678a09
/
.
/
runtime
/
JavaScript
/
tests
/
functional
/
t051treeRewriteASTs.g
blob: b83d17d0a83cb26029d8f7bfcd2f3a15670f8ca7 [
file
] [
log
] [
blame
]
grammar t051treeRewriteASTs
;
options
{
language
=
JavaScript
;
output
=
AST
;
}
a
:
x
=
ID INT
->
^(
$x INT
);
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;