Pretty-print a statement.
(pprint-stmt stmt level options) → lines
Note that we print the block items that form a compound statement one after the other, without surrounding curly braces. We print those curly braces when printing the surrounding statements.
For simplicity, and perhaps for good style,
we always print curly braces around certain sub-statements
(e.g. of
Theorem:
(defthm return-type-of-pprint-stmt.lines (b* ((?lines (pprint-stmt stmt level options))) (msg-listp lines)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-pprint-block-item.lines (b* ((?lines (pprint-block-item item level options))) (msg-listp lines)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-pprint-block-item-list.lines (b* ((?lines (pprint-block-item-list items level options))) (msg-listp lines)) :rule-classes :rewrite)