Sign in
android
/
platform
/
external
/
antlr
/
refs/heads/jb-mr1.1-dev
/
.
/
antlr-3.4
/
runtime
/
JavaScript
/
tests
/
functional
/
t057autoAST48.g
blob: 8baccb9182c1488f427509d13a6d32f6ffc1e864 [
file
] [
log
] [
blame
]
grammar t057autoAST48
;
options
{
language
=
JavaScript
;
output
=
AST
;}
tokens
{
EXPR
;}
decl
:
type
^
ID
'='
!
INT
';'
!
;
type
:
'int'
|
'float'
;
ID
:
'a'
..
'z'
+
;
INT
:
'0'
..
'9'
+;
WS
:
(
' '
|
'\n'
)
{
$channel
=
HIDDEN
;}
;