INTERNAL: Do not use. A declaration of a macro. Some examples:
@freestanding(declaration)
macro A() = #externalMacro(module: "A", type: "A")
@freestanding(expression)
macro B() = Builtin.B
@attached(member)
macro C() = C.C
Import path
import codeql.swift.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getName | Gets the name of this macro. |
| getParameter | Gets the |
| getRole | Gets the |
| toString |
Inherited predicates
| getGenericTypeParam | Gets the | from GenericContext |
| getInterfaceType | Gets the interface type of this value declaration. | from ValueDecl |
| getLocation | Gets the location associated with this element in the code, if it exists. | from Locatable |
| getMember | Gets the | from Decl |
| getModule | Gets the module of this declaration. | from Decl |
| isUnknown | Holds if this element is unknown. | from Element |