@Nullable open fun inputPositionOf(dottedKey: String): TomlPosition?
(source)
Get the position where a key is defined in the TOML document.
dottedKey
- A dotted key (e.g. "server.address.port"
).
IllegalArgumentException
- If the key cannot be parsed.
TomlInvalidTypeException
- If any element of the path preceding the final key is not a table.
Return
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.
TomlInvalidTypeException
- If any element of the path preceding the final key is not a table.
Return
The input position, or null
if the key was not set in the TOML document.