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