Module taplo::formatter[][src]

This module is used to format TOML.

The formatting can be done on documents that might contain invalid syntax. In that case the invalid part is skipped.

Structs

Options

All the formatting options.

ScopedOptions

Scoped formatter options based on text ranges.

Enums

OptionParseError

Functions

format

Parses then formats a TOML document, ignoring errors.

format_green

Formats a parsed TOML green tree.

format_syntax

Formats a parsed TOML syntax tree.

format_with_path_scopes

Formats a DOM root node with given scopes.

format_with_scopes

Formats a DOM root node with given scopes.