Sign in
ara-mdk
/
platform
/
external
/
antlr
/
refs/heads/master
/
.
/
antlr-3.4
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST38.g
blob: 08128ca0be0f18b060257d96e0e86d57a3c1929f [
file
] [
log
] [
blame
]
grammar t058rewriteAST38
;
options
{
language
=
JavaScript
;
output
=
AST
;}
a
:
atom
->
^({
this
.
adaptor
.
create
(
INT
,
"9"
)}
atom
)
;
atom
:
INT
;
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;