Module formatting

Source

Modules§

actions
condition_helpers
condition_resolvers
conditions
ir_helpers
tokens
utils

Structs§

ColumnNumber
Condition
Conditionally print items based on a condition.
ConditionProperties
Properties for the condition.
ConditionReevaluation
Used to re-evaluate a condition.
ConditionReference
ConditionResolverContext
Context used when resolving a condition.
IndentLevel
IsStartOfLine
LineAndColumn
Helper IR that holds line and column number IR.
LineNumber
LineNumberAnchor
Handles updating the position of a future resolved line number if the anchor changes.
LineStartColumnNumber
LineStartIndentLevel
PrintItems
PrintItemsIterator
PrintNode
PrintNodeCell
A fast implementation of RefCell that avoids runtime checks on borrows.
PrintOptions
Options for printing the print items.
StringContainer
A container that holds the string’s value and character count.
Trace
Tracing
TraceCondition
TraceConditionReevaluation
TraceInfoInner
TraceLineNumberAnchor
TracePrintNode
TraceWriterNode
TracingResult
WriterInfo
Information about a certain location being printed.

Enums§

Anchor
Info
PrintItem
The different items the printer could encounter.
Signal
TraceInfo
TracePrintItem

Functions§

format
Function to create the provided print items and print them out as a string.
print
Prints out the print items using the provided options.
trace_printing
Gets trace information for analysis purposes.

Type Aliases§

ConditionResolver
Function used to resolve a condition.
PrintItemPath