dfmt.wrapping

Undocumented in source.

Members

Functions

chooseLineBreakTokens
size_t[] chooseLineBreakTokens(size_t index, Token[] tokens, short[] depths, Config* config, int currentLineLength, int indentLevel)

Note: Negative values for indentLevel are treated specially: costs for continuation indents are reduced. This is used for array literals.

validMoves
void validMoves(OR output, Token[] tokens, short[] depths, uint current, Config* config, int currentLineLength, int indentLevel)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

State
struct State
Undocumented in source.

Meta