with-pprint ( obj quot -- )
Factor handbook » Developer tools » The prettyprinter » Extending the prettyprinter » Prettyprinter sections

Next:section


Vocabulary
prettyprint.sections

Inputs
objan object
quota quotation


Outputs
None

Word description
Sets up the prettyprinter and calls the quotation in a new scope. The quotation should add sections to the top-level block. When the quotation returns, the top-level block is printed to output-stream.

See also
pprint, pprint*

Definition