struct SimpleSub::TermLit
- SimpleSub::TermLit
- SimpleSub::Term
- Struct
- Value
- Object
Defined in:
simple_sub/term.crConstructors
Instance Method Summary
-
#pretty_print(format : PrettyPrint)
Pretty prints
self
into the given printer. - #value : Int32
- #value=(value : Int32)
Instance methods inherited from struct SimpleSub::Term
initialize
initialize
Constructor methods inherited from struct SimpleSub::Term
new
new
Class methods inherited from struct SimpleSub::Term
[](*args)
[]
Constructor Detail
Instance Method Detail
def pretty_print(format : PrettyPrint)
#
Description copied from class Object
Pretty prints self
into the given printer.
By default appends a text that is the result of invoking
#inspect
on self
. Subclasses should override
for custom pretty printing.