Sign in
android
/
platform
/
external
/
antlr
/
d522258e222b17c6809d0b1f6e3a1dc4284ba7a2
/
.
/
runtime
/
ObjC
/
Framework
/
examples
/
treeparser
/
LangDumpDecl.g
blob: 5524f12346f43628d607e396d4efe806bb0035ee [
file
] [
log
] [
blame
]
tree grammar
LangDumpDecl
;
options
{
tokenVocab
=
Lang
;
language
=
ObjC
;
ASTLabelType
=
CommonTree
;
}
decl
:
^(
DECL type declarator
)
// label.start, label.start, label.text
{
NSLog
(@
"int \%@"
,
$declarator
.
text
);}
;
type
:
INTTYPE
;
declarator
:
ID
;