Decl

public protocol Decl : Node

A declaration.

  • The description of the construct represented by Self in diagnostics.

    Declaration

    Swift

    static var constructDescription: String { get }
  • isCallable Default implementation

    true iff Self is the declaration of a callable entity.

    Default Implementation

    Declaration

    Swift

    static var isCallable: Bool { get }
  • isDefinition Default implementation

    true iff self is a definition of the entity that it declares.

    Default Implementation

    Declaration

    Swift

    var isDefinition: Bool { get }