pub fn add_array_of_tables(
doc: Document,
path: List(String),
line_number: option.Option(Int),
) -> Result(Document, EditError)
pub fn add_table(
doc: Document,
path: List(String),
line_number: option.Option(Int),
) -> Result(Document, EditError)
pub fn array(
items: List(TomlValue),
) -> TomlValue
pub fn boolean(value: Bool) -> TomlValue
pub fn date(
year: Int,
month: Int,
day: Int,
) -> TomlValue
pub fn datetime(
year: Int,
month: Int,
day: Int,
hour: Int,
minute: Int,
second: Int,
) -> TomlValue
pub fn delete(
doc: Document,
key: List(String),
) -> Result(Document, EditError)
pub fn float(value: Float) -> TomlValue
pub fn get(
doc: Document,
key: List(String),
) -> Result(GetResult, EditError)
pub fn get_array(
doc: Document,
key: List(String),
) -> Result(#(List(TomlValue), Int), EditError)
pub fn get_bool(
doc: Document,
key: List(String),
) -> Result(#(Bool, Int), EditError)
pub fn get_date(
doc: Document,
key: List(String),
) -> Result(#(TomlDate, Int), EditError)
pub fn get_datetime(
doc: Document,
key: List(String),
) -> Result(#(TomlDateTime, Int), EditError)
pub fn get_float(
doc: Document,
key: List(String),
) -> Result(#(Float, Int), EditError)
pub fn get_int(
doc: Document,
key: List(String),
) -> Result(#(Int, Int), EditError)
pub fn get_string(
doc: Document,
key: List(String),
) -> Result(#(String, Int), EditError)
pub fn get_table(
doc: Document,
path: List(String),
) -> Result(
List(#(String, TomlValue)),
EditError,
)
pub fn get_time(
doc: Document,
key: List(String),
) -> Result(#(TomlTime, Int), EditError)
pub fn inline_table(
entries: dict.Dict(String, TomlValue),
) -> TomlValue
pub fn integer(value: Int) -> TomlValue
pub fn parse(
input: String,
) -> Result(Document, ParseError)
pub fn rename_key(
doc: Document,
old_key: List(String),
new_key: List(String),
) -> Result(Document, EditError)
pub fn set(
doc: Document,
key: List(String),
value: TomlValue,
line_number: option.Option(Int),
) -> Result(Document, EditError)
pub fn string(value: String) -> TomlValue
pub fn table(
entries: dict.Dict(String, TomlValue),
) -> TomlValue
pub fn time(
hour: Int,
minute: Int,
second: Int,
) -> TomlValue
pub fn to_string(doc: Document) -> String