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
constructor(source: SourceLocation, endSource: SourceLocation, text: TextLocation, filePath: FilePath)
constructor(source: SourceLocation, text: TextLocation, file: String, filePath: FilePath = FilePath.fromAbsolute(Path(file)))
Functions
Link copied to clipboard
Same as compact except the content should contain a substring which represents this exact findings via a custom identifier.