MCPcopy Create free account
hub / github.com/cseagle/blc / scan

Method scan

prettyprint.cc:741–802  ·  view source on GitHub ↗

The token is assumed to be just added and at the top of the queue. This is the heart of the pretty printing algorithm. The new token is assigned a size, the queue of open references and line breaks is updated. The amount of space currently available and the size of printing groups are updated. If the current line is going to overflow, a decision is made where in the uncommented tokens a line brea

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

getClassMethod · 0.80
toprefMethod · 0.80
getNumSpacesMethod · 0.80
emptyMethod · 0.45
setSizeMethod · 0.45
pushMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected