sdc v0.0.5 (2022-05-23T13:04:49Z)
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