INTERNAL: Do not use. The role of a macro, for example #freestanding(declaration) or @attached(member).
Import path
import codeql.swift.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getConformance | Gets the |
| getKind | Gets the kind of this macro role (declaration, expression, member, etc.). |
| getMacroSyntax | Gets the #freestanding or @attached. |
| getName | Gets the |
| toString |
Inherited predicates
| getLocation | Gets the location associated with this element in the code, if it exists. | from Locatable |
| isUnknown | Holds if this element is unknown. | from Element |