Swift: update docs

This commit is contained in:
Alex Denisov
2023-11-21 16:00:53 +01:00
parent 7b74478e47
commit dd6c5ba383
5 changed files with 14 additions and 5 deletions

View File

@@ -1365,7 +1365,7 @@ class BorrowExpr(IdentityExpr):
@qltest.test_with('MacroDecl')
class MacroRole(AstNode):
"""
The role of a macro.
The role of a macro, for example #freestanding(declaration) or @attached(member).
"""
kind: int | doc("kind of this macro role (declaration, expression, member, etc.)")
macro_syntax: int | doc("#freestanding or @attached")