Esc

toml_get_path

procedureextensionsince 0.36.1Source
  • macOS: toml_get_path works on macOS
  • Linux: toml_get_path works on Linux
  • Windows: toml_get_path works on Windows
  • Wasm: toml_get_path works on Wasm

Follows exact key segments. Absence is null/NONE; traversing a scalar is TYPE. Nodes remain document-owned. Lookup errors have byte spans where available and no computed line/column. Example: value, error := toml_get_path(doc.root, string.["format", "indent_width"]);

Signature

toml_get_path :: (
    table: *Toml_Value,
    keys: [] string
) -> (*Toml_Value, Toml_Error)

See also