toml / org.apache.tuweni.toml / TomlPosition

TomlPosition

class TomlPosition (source)

A position in an input document.

Functions

column

fun column(): Int

The column number.

The first column of the document is column 1.

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

line

fun line(): Int

The line number.

The first line of the document is line 1.

positionAt

static fun positionAt(line: Int, column: Int): TomlPosition

Create a position.

toString

fun toString(): String