prettyprint.backend vocabulary
Factor handbook ยป Vocabulary index


Documentation
Extending the prettyprinter

Metadata
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
unsupported-number-base tuplen base


Generic words
WordStack effect
pprint-class( obj -- )
word-name*( obj -- str )


Ordinary words
WordStack effect
(pprint-tuple)( opener class slots closer -- )
?effect-height( word -- n )
?end-group( word -- )
?pprint-tuple( tuple quot -- )
?start-group( word -- )
ch>ascii-escape( ch -- ch' ? )
check-recursion( obj quot: ( obj -- ) -- )
class-slot-sequence( class slots -- sequence )
do-length-limit( seq -- trimmed n/f )
do-string-limit( str -- trimmed )
filter-tuple-assoc( slot,value -- name,value )
nesting-limit?( -- ? )
pprint-c-object( object content-quot pointer-quot -- )
pprint-effect( effect -- )
pprint-elements( seq -- )
pprint-prefix( word quot -- )
pprint-prefixed-number( n quot: ( n -- n' ) pre -- )
pprint-slot-value( name value -- )
pprint-string( obj str prefix suffix -- )
pprint-tuple( tuple -- )
pprint-word( word -- )
present-text( str obj -- )
recover-pprint( try recovery -- )
tuple>assoc( tuple -- assoc )
unparse-ch( ch -- )
unparse-string( str prefix suffix -- str )
unsupported-number-base( n base -- * )
with-extra-nesting-level( quot -- )


Class predicate words
WordStack effect
unsupported-number-base?( object -- ? )


Files


Metadata files