Location

data class Location @JvmOverloads constructor(val source: SourceLocation, val text: TextLocation, val file: String, val filePath: FilePath = FilePath.fromAbsolute(Path(file))) : Compactable

Specifies a position within a source code fragment.

Constructors

Link copied to clipboard
fun Location(source: SourceLocation, text: TextLocation, filePath: FilePath)
Link copied to clipboard
fun Location(source: SourceLocation, endSource: SourceLocation, text: TextLocation, filePath: FilePath)
Link copied to clipboard
fun Location(source: SourceLocation, text: TextLocation, locationString: String, file: String)
Link copied to clipboard
fun Location(source: SourceLocation, text: TextLocation, file: String, filePath: FilePath = FilePath.fromAbsolute(Path(file)))

Types

Link copied to clipboard
object Companion

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.

Properties

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