APIFlags
public struct APIFlags : OptionSet, Codable, RawRepresentable, Sendable
A set of properties about the API described by a function declaration.
-
Declaration
Swift
public typealias RawValue = UInt8 -
Declaration
Swift
public let rawValue: UInt8 -
Declaration
Swift
public init(rawValue: UInt8) -
Creates an instance describing the API of a declaration with given
attributes.Declaration
Swift
public init(_ attributes: [SourceRepresentable<Attribute>]) -
The declaration is a foreign function interface.
Declaration
Swift
public static let isForeignInterface: FunctionDecl.APIFlags -
The declaration defined externally.
Declaration
Swift
public static let isExternal: FunctionDecl.APIFlags
View on GitHub