class OccTyping::TypeBase
- OccTyping::TypeBase
- OccTyping::Type
- Reference
- Object
Defined in:
occ_typing/type.crConstant Summary
-
BOOL =
TypeBase.new("Bool")
-
INT =
TypeBase.new("Int")
Constructors
Instance Method Summary
- #name : String
- #name=(name : String)
-
#pretty_print(format : PrettyPrint)
Pretty prints
self
into the given printer.
Class methods inherited from class OccTyping::Type
[](*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.