dfmt v0.13.2 (2020-10-01T06:35:20Z)
Dub
Repo
dfmt.formatter
dfmt
Undocumented in source.
Members
Functions
canFindIndex
bool
canFindIndex
(size_t[] items, size_t index, size_t* pos)
Undocumented in source. Be warned that the author may not have intended to support it.
format
bool
format
(string source_desc, ubyte[] buffer, OutputRange output, Config* formatterConfig)
Formats the code contained in
buffer
into
output
.
generateDepthInfo
immutable
(
short
[])
generateDepthInfo
(Token[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
Structs
TokenFormatter
struct
TokenFormatter
(OutputRange)
Undocumented in source.
Meta
Source
See Source File
dfmt
modules
ast_info
config
editorconfig
formatter
globmatch_editorconfig
indentation
main
tokens
wrapping