Enumerationswift-syntax 600.0.1SwiftSyntaxMacros
FormatMode
Describes the mode to use to format the result of an expansion.
enum FormatMode
Describes the mode to use to format the result of an expansion.
enum FormatMode
import SwiftSyntaxMacros
case auto
Perform a basic format of the expansion. This is primarily for inserting whitespace as required (eg. between two keywords), but also adds simple newline and indentation.
case disabled
Disable automatically formatting the expanded macro. Trivia must be manually inserted where required (eg. adding spaces between keywords).
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.