Implement parsing annotations and modifiers starting with '@'

This commit is contained in:
Denis Zharkov
2015-05-04 11:50:16 +03:00
parent b13e932c3c
commit 7d8351abc6
27 changed files with 2275 additions and 88 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ annotation
;
annotationEntry
: SimpleName{"."} typeArguments? valueArguments?
: "@"? SimpleName{"."} typeArguments? valueArguments?
;
+1 -1
View File
@@ -3,7 +3,7 @@
*/
modifiers
: modifier*
: ("@"? modifier)*
;
modifier