Sign in
android
/
toolchain
/
jack
/
4eceb95409e844fdc33c9c706e1dc307bfd40303
/
.
/
antlr-runtime
/
antlr-3.4
/
runtime
/
JavaScript
/
tests
/
functional
/
t058rewriteAST26.g
blob: 4e98b9c300d902b59c1258b2600c2b974e3e0e04 [
file
] [
log
] [
blame
]
grammar t058rewriteAST26
;
options
{
language
=
JavaScript
;
output
=
AST
;}
a
:
op INT
->
^(
op INT
);
op
:
'+'
|
'-'
;
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;