Sign in
android
/
platform
/
external
/
antlr
/
3d0a31729eab3aad31840cde4c778169985c6536
/
.
/
runtime
/
JavaScript
/
tests
/
functional
/
t057autoAST41.g
blob: a51cdfde68b4c7e77666a1c174bd960bfc0668da [
file
] [
log
] [
blame
]
grammar t057autoAST41
;
options
{
language
=
JavaScript
;
output
=
AST
;}
a returns
[
result
]
:
(
x
+=
b
^
)+
{
$result
=
"x="
+
$x
[
1
].
toStringTree
()+
','
;
}
;
b
:
ID
;
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;