This is the monkeylib-text-output Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:10:08 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
monkeylib-text-output
Formatted text output.
Peter Seibel <peter@gigamonkeys.com>
BSD
1.0
com.gigamonkeys.macro-utilities
(system).
com.gigamonkeys.test-framework
(system).
com.gigamonkeys.pathnames
(system).
com.gigamonkeys.utilities
(system).
packages.lisp
(file).
text-output.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
monkeylib-text-output/monkeylib-text-output.asd
monkeylib-text-output/packages.lisp
monkeylib-text-output/text-output.lisp
monkeylib-text-output/monkeylib-text-output.asd
monkeylib-text-output
(system).
monkeylib-text-output/packages.lisp
monkeylib-text-output
(system).
monkeylib-text-output/text-output.lisp
packages.lisp
(file).
monkeylib-text-output
(system).
*pretty*
(special variable).
*text-output*
(special variable).
*text-pretty-printer*
(special variable).
codegen-text
(function).
embed-code
(generic function).
embed-value
(generic function).
freshline
(generic function).
get-pretty-printer
(function).
indent
(generic function).
newline
(generic function).
ops
(reader method).
(setf ops)
(writer method).
raw-string
(generic function).
text-compiler
(class).
toggle-indenting
(generic function).
unindent
(generic function).
with-text-output
(macro).
*default-tab-width*
(special variable).
beginning-of-line-p
(reader method).
(setf beginning-of-line-p)
(writer method).
compile-buffer
(function).
emit
(function).
emit-freshline
(function).
emit-newline
(function).
emit/no-newlines
(function).
generate-code
(function).
indent-if-necessary
(function).
indentation
(reader method).
(setf indentation)
(writer method).
indenting-p
(reader method).
(setf indenting-p)
(writer method).
indenting-printer
(class).
make-op-buffer
(function).
new-pretty-printer
(function).
op->code
(generic function).
optimize-static-output
(function).
out
(reader method).
(setf out)
(writer method).
printer
(reader method).
(setf printer)
(writer method).
push-op
(function).
tab-width
(reader method).
(setf tab-width)
(writer method).
text-pretty-printer
(class).
Packages are listed by definition order.
monkeylib-text-output
common-lisp
.
*pretty*
(special variable).
*text-output*
(special variable).
*text-pretty-printer*
(special variable).
codegen-text
(function).
embed-code
(generic function).
embed-value
(generic function).
freshline
(generic function).
get-pretty-printer
(function).
indent
(generic function).
newline
(generic function).
ops
(generic reader).
(setf ops)
(generic writer).
raw-string
(generic function).
text-compiler
(class).
toggle-indenting
(generic function).
unindent
(generic function).
with-text-output
(macro).
*default-tab-width*
(special variable).
beginning-of-line-p
(generic reader).
(setf beginning-of-line-p)
(generic writer).
compile-buffer
(function).
emit
(function).
emit-freshline
(function).
emit-newline
(function).
emit/no-newlines
(function).
generate-code
(function).
indent-if-necessary
(function).
indentation
(generic reader).
(setf indentation)
(generic writer).
indenting-p
(generic reader).
(setf indenting-p)
(generic writer).
indenting-printer
(class).
make-op-buffer
(function).
new-pretty-printer
(function).
op->code
(generic function).
optimize-static-output
(function).
out
(generic reader).
(setf out)
(generic writer).
printer
(generic reader).
(setf printer)
(generic writer).
push-op
(function).
tab-width
(generic reader).
(setf tab-width)
(generic writer).
text-pretty-printer
(class).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Controls whether output is generated with indentation and tracking of newlines for emitting freshlines.
The stream to which output is sent. Can be bound to any character output stream.
The current instance of text-pretty-printer wrapped around *text-output* when *pretty* is true.
Given a vector of ops, return a Common Lisp translation, i.e. Common Lisp code that will emit the same output as the text-pretty-printer would if it was given the same ops.
Run arbitrary Lisp code which will presumably emit some output.
text-compiler
) code) ¶text-pretty-printer
) code) ¶Emit a literal value.
text-compiler
) value) ¶text-pretty-printer
) value) ¶Emit a newline unless the last character emitted was a newline.
text-compiler
)) ¶text-pretty-printer
)) ¶Increase the indentation level by some fixed amount.
text-compiler
)) ¶text-pretty-printer
)) ¶Unconditionally emit a newline.
text-compiler
)) ¶text-pretty-printer
)) ¶text-compiler
)) ¶automatically generated reader method
ops
.
text-compiler
)) ¶automatically generated writer method
ops
.
Emit a string with no escaping. When
CHECK-FOR-NEWLINES is true, string should still be scanned for
newlines in order to deal with indentation. In general
CHECK-FOR-NEWLINES should be true unless the string is known
not to contain newlines.
text-compiler
) string &optional newlines-p) ¶text-pretty-printer
) string &optional newlines-p) ¶Temporarily turn of indentation without changing the current indentation value.
text-compiler
)) ¶text-pretty-printer
)) ¶Decrease the indentation level by some fixed amount.
text-compiler
)) ¶text-pretty-printer
)) ¶Compile a string possibly containing newlines into a sequence of :raw-string and :newline ops.
indenting-printer
)) ¶automatically generated reader method
indenting-printer
)) ¶automatically generated writer method
indenting-printer
)) ¶automatically generated reader method
indenting-printer
)) ¶automatically generated writer method
indenting-printer
)) ¶automatically generated reader method
indenting-printer
)) ¶automatically generated writer method
(eql :embed-code)
) &rest operands) ¶(eql :embed-value)
) &rest operands) ¶(eql :toggle-indenting)
) &rest operands) ¶(eql :unindent)
) &rest operands) ¶(eql :indent)
) &rest operands) ¶(eql :freshline)
) &rest operands) ¶(eql :newline)
) &rest operands) ¶(eql :raw-string)
) &rest operands) ¶indenting-printer
)) ¶automatically generated reader method
out
.
indenting-printer
)) ¶automatically generated writer method
out
.
text-pretty-printer
)) ¶automatically generated reader method
text-pretty-printer
)) ¶automatically generated writer method
text-pretty-printer
)) ¶automatically generated reader method
text-pretty-printer
)) ¶automatically generated writer method
Jump to: | (
B C E F G I M N O P R T U W |
---|
Jump to: | (
B C E F G I M N O P R T U W |
---|
Jump to: | *
B I O P S T |
---|
Jump to: | *
B I O P S T |
---|
Jump to: | C F I M P S T |
---|
Jump to: | C F I M P S T |
---|