Parse other use-site targeted annotations
This commit is contained in:
@@ -14,8 +14,18 @@ annotationList
|
||||
: annotationPrefix "[" unescapedAnnotation+ "]"
|
||||
;
|
||||
|
||||
annotationUseSiteTarget
|
||||
: "file"
|
||||
: "field"
|
||||
: "property"
|
||||
: "get"
|
||||
: "set"
|
||||
: "param"
|
||||
: "sparam"
|
||||
;
|
||||
|
||||
annotationPrefix:
|
||||
: ("@" (":" ("file" | "field"))?)
|
||||
: ("@" (annotationUseSiteTarget ":")?)
|
||||
;
|
||||
|
||||
unescapedAnnotation
|
||||
|
||||
Reference in New Issue
Block a user