moonrockz/moon-lander/config/formats/toml
Values
format
fn format() -> @moonrockz/moon-lander/config.FormatThe TOML format for .toml files.
parse
fn parse(text : String, origin~ : String) -> @moonrockz/moon-lander/config.ConfigValue raise @moonrockz/moon-lander/config.ConfigErrorParse TOML text into a value tree. A string gives a string, an integer an
integer, a float a float, a Boolean a Boolean, an array a list, and a table
a struct with the keys in source order. Date-times and dates give timestamps,
with an unknown offset for local date-times and day precision for dates.
Local times give strings annotated with toml_local_time.
origin names the source in errors.