Enumerationswift-syntax 600.0.1SwiftSyntaxMacros
SourceLocationFilePathMode
Describes the source location file path
enum SourceLocationFilePathMode
Describes the source location file path
enum SourceLocationFilePathMode
import SwiftSyntaxMacros
case fileID
A file ID consisting of the module name and file name (without full path), as would be generated by the macro expansion #fileID
.
case filePath
A full path name as would be generated by the macro expansion #filePath
, e.g., /home/taylor/alison.swift
.
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.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.