Location

data class Location(val source: SourceLocation, val endSource: SourceLocation = source, val text: TextLocation, val filePath: FilePath) : Compactable

Specifies a position within a source code fragment.

Constructors

Link copied to clipboard
constructor(source: SourceLocation, endSource: SourceLocation = source, text: TextLocation, filePath: FilePath)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val filePath: FilePath
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun compact(): String

Contract to format implementing object to a string representation.

Link copied to clipboard

Same as compact except the content should contain a substring which represents this exact findings via a custom identifier.