Callsite

final public class Callsite : _CallsiteBase

An object encapsulating the file and line number at which a particular example is defined.

  • The absolute path of the file in which an example is defined.

    Declaration

    Swift

    public let file: FileString
  • The line number on which an example is defined.

    Declaration

    Swift

    public let line: UInt
  • Returns a boolean indicating whether two Callsite objects are equal. If two callsites are in the same file and on the same line, they must be equal.

    Declaration

    Swift

    @nonobjc
    public static func == (lhs: Callsite, rhs: Callsite) -> Bool