SourceLocation

class SourceLocation(    val line: Int,     val position: Int,     val filePath: String?)

Parameters

line

the line number of the source location, starting at 1

column

the position in the current line, starting at 0

filePath

The path to the document containing the node Might be null if the document origin is not known

Constructors

Link copied to clipboard
fun SourceLocation(    line: Int,     position: Int,     filePath: String?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun pretty(): String
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val filePath: String?
Link copied to clipboard
val line: Int
Link copied to clipboard
val position: Int