sdc ~master (2022-04-26T13:08:25Z)
Dub
Repo
SolveState.computeNewLinePenality
format
writer
SolveState
Undocumented in source. Be warned that the author may not have intended to support it.
struct
SolveState
const
uint
computeNewLinePenality
(
const
ref
Chunk
c
,
uint
column
,
uint
length
,
uint
previousColumn
,
const
(
Span
)
previousSpan
)
Meta
Source
See Implementation
format
writer
SolveState
constructors
this
functions
canSplit
computeCost
computeNewLinePenality
computeUsedSpans
endLine
getLinePrefix
isBetterThan
isDeadSubTree
isSplit
isUsed
mustSplit
newLineCount
opCmp
updateSunk
variables
cost
overflow
prefix
ruleValues
sunk