SourceRange

public struct SourceRange

Represents a half-open character range in the source code.

  • Retrieve a source location representing the first character within a source range.

    Declaration

    Swift

    public var start: SourceLocation
  • end

    Retrieve a source location representing the last character within a source range.

    Declaration

    Swift

    public var end: SourceLocation