autoformat.formatter_tools

Public Imports

autoformat.format_c_cpp
public import autoformat.format_c_cpp;
autoformat.format_d
public import autoformat.format_d;
autoformat.format_rust
public import autoformat.format_rust;
autoformat.filetype
public import autoformat.filetype : isOkToFormat;

Members

Aliases

Formatter
alias Formatter = Tuple!(FormatterCheckFunc, FormatterFunc)
Undocumented in source.
FormatterCheckFunc
alias FormatterCheckFunc = bool function(string p)
Undocumented in source.
FormatterFunc
alias FormatterFunc = FormatterResult function(AbsolutePath p, Flag!"backup" backup, Flag!"dryRun" dry_run) nothrow
Undocumented in source.

Manifest constants

formatters
enum formatters;
Undocumented in source.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This file configures and imports the formatter tools that can be used.