Parse other use-site targeted annotations

This commit is contained in:
Yan Zhulanow
2015-07-16 17:17:08 +03:00
parent d56a3f97c6
commit 1010658a85
5 changed files with 264 additions and 4 deletions
+11 -1
View File
@@ -14,8 +14,18 @@ annotationList
: annotationPrefix "[" unescapedAnnotation+ "]"
;
annotationUseSiteTarget
: "file"
: "field"
: "property"
: "get"
: "set"
: "param"
: "sparam"
;
annotationPrefix:
: ("@" (":" ("file" | "field"))?)
: ("@" (annotationUseSiteTarget ":")?)
;
unescapedAnnotation