SourceLocation
public struct SourceLocation: AutoEquatable, AutoHashable
Represents the location of the callee, that requested a test.
-
The callee’s file path.
Declaration
Swift
public let file: String
-
The callee’s line number.
Declaration
Swift
public let line: Int
-
The callee’s column.
Declaration
Swift
public let column: Int
-
The callee’s function name.
Declaration
Swift
public let function: String
-
Creates a new source location.
Declaration
Swift
public init(file: String, line: Int, column: Int, function: String)