api / tv.twelvetone.json / Location

Location

class Location

An immutable object that represents a location in the parsed text.

Properties

column

val column: Int

The column number, starting at 1.

line

val line: Int

The line number, starting at 1.

offset

val offset: Int

The absolute character index, starting at 0.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String