Sign in
android
/
platform
/
external
/
antlr
/
refs/heads/android15-tests-release
/
.
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST25.g
blob: d6cb83c0929ae031229f8f487f8fcea5c1766fc8 [
file
] [
log
] [
blame
] [
edit
]
grammar t058rewriteAST25
;
options
{
language
=
JavaScript
;
output
=
AST
;}
a
:
ID INT
->
{
false
}?
^(
ID INT
)
->
{
true
}?
^(
INT ID
)
->
ID
;
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;