-
Declaration
Swift
public static let constructDescription: String -
Declaration
Swift
public typealias Variant = MethodImpl -
Declaration
Swift
public static let isCallable: Bool -
Declaration
Swift
public let site: SourceRange -
The site of the
funintroducer.Declaration
Swift
public let introducerSite: SourceRange -
The attributes of the declaration.
Declaration
Swift
public let attributes: [SourceRepresentable<Attribute>] -
The access modifier of the declaration, if any.
Declaration
Swift
public let accessModifier: SourceRepresentable<AccessModifier> -
The operator notation of the method.
Declaration
Swift
public let notation: SourceRepresentable<OperatorNotation>? -
The identifier of the method.
Declaration
Swift
public let identifier: SourceRepresentable<Identifier> -
The generic clause of the declaration, if any.
Declaration
Swift
public let genericClause: SourceRepresentable<GenericClause>? -
The parameters of the method.
These declarations must have a type annotation.
Declaration
Swift
public let parameters: [ParameterDecl.ID] -
The return type annotation of the method, if any.
Declaration
Swift
public let output: AnyExprID? -
The implementations of the method.
Declaration
Swift
public let impls: [MethodImpl.ID] -
init(introducerSite:attributes: accessModifier: notation: identifier: genericClause: parameters: output: impls: site: ) Creates an instance with the given properties.
Declaration
Swift
public init( introducerSite: SourceRange, attributes: [SourceRepresentable<Attribute>], accessModifier: SourceRepresentable<AccessModifier>, notation: SourceRepresentable<OperatorNotation>?, identifier: SourceRepresentable<Identifier>, genericClause: SourceRepresentable<GenericClause>?, parameters: [ParameterDecl.ID], output: AnyExprID?, impls: [MethodImpl.ID], site: SourceRange ) -
Declaration
Swift
public func validateForm(in ast: AST, reportingDiagnosticsTo log: inout DiagnosticSet)
View on GitHub