Finalize attribute grammar

This commit is contained in:
Aleksey Kladov 2020-07-30 20:16:04 +02:00
parent e28ea81b2b
commit fcce07d2d1
6 changed files with 28 additions and 79 deletions

View file

@ -182,10 +182,7 @@ Visibility =
')')?
Attr =
'#' '!'? '[' Path ('=' input:AttrInput)? ']'
AttrInput =
Literal | TokenTree
'#' '!'? '[' Path ('=' Literal | TokenTree)? ']'
ParenType =
'(' TypeRef ')'