Parsing: support '@[ann1 ann2]', '@file:ann' and '@file:[ann]' cases
This commit is contained in:
@@ -7,10 +7,10 @@ annotations
|
||||
;
|
||||
|
||||
annotation
|
||||
: "[" annotationEntry+ "]"
|
||||
: annotationEntry
|
||||
: "@"? "[" annotationEntry+ "]"
|
||||
: "@"? annotationEntry
|
||||
;
|
||||
|
||||
annotationEntry
|
||||
: "@"? ++ SimpleName{"."} typeArguments? valueArguments?
|
||||
: SimpleName{"."} typeArguments? valueArguments?
|
||||
;
|
||||
Reference in New Issue
Block a user