tuweni / org.apache.tuweni.toml / TomlTable / inputPositionOf

inputPositionOf

@Nullable open fun inputPositionOf(dottedKey: String!): TomlPosition? (source)

Get the position where a key is defined in the TOML document.

Parameters

dottedKey - String!: A dotted key (e.g. "server.address.port").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

TomlInvalidTypeException - If any element of the path preceding the final key is not a table.

Return
TomlPosition?: The input position, or null if the key was not set in the TOML document.

@Nullable abstract fun inputPositionOf(path: MutableList<String!>!): TomlPosition? (source)

Get the position where a key is defined in the TOML document.

Parameters

path - MutableList<String!>!: The key path.

Exceptions

TomlInvalidTypeException - If any element of the path preceding the final key is not a table.

Return
TomlPosition?: The input position, or null if the key was not set in the TOML document.