Sign in
android
/
platform
/
external
/
antlr
/
refs/heads/android15-tests-release
/
.
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST42.g
blob: f7a38cc511c89956b0fbe42254e05ec2457d9b5d [
file
] [
log
] [
blame
] [
edit
]
grammar t058rewriteAST42
;
options
{
language
=
JavaScript
;
output
=
AST
;}
a
:
type ID
(
','
ID
)*
';'
->
^(
type ID
)+
;
type
:
'int'
;
ID
:
'a'
..
'z'
+
;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;