Expand description
Formatting utilities for Selection expressions.
This module defines pretty-printers and compact syntax renderers
for selections, based on implementations of the SelectionSYM
trait.
The Display implementation for Selection uses this module.
Pretty-printing utilities for selection expressions.
This module defines SelectionSYM implementations that render
selection expressions in human-readable or structured forms.
The Display implementation for Selection delegates to this
module and uses the SelectionPretty representation.
Structs§
- Selection
Compact - A structured formatter that renders
Selectionexpressions in compact surface syntax. - Selection
Pretty - A structured pretty-printer that renders
Selectionexpressions in DSL constructor form.
Functions§
- compact
- Returns a
SelectionCompactrendering of the givenSelectionexpression. - pretty
- Renders a
Selectionas a structured DSL expression.