class OccTyping::TermIfIsThenElse
- OccTyping::TermIfIsThenElse
- OccTyping::Term
- Reference
- Object
Defined in:
occ_typing/term.crConstructors
Instance Method Summary
- #body : Term
- #body=(body : Term)
- #else_body : Term
- #else_body=(else_body : Term)
- #input : Term
- #input=(input : Term)
-
#pretty_print(format : PrettyPrint)
Pretty prints
self
into the given printer. - #type : Type
- #type=(type : Type)
Class methods inherited from class OccTyping::Term
[](*args)
[]
Constructor Detail
def self.new(input : OccTyping::Term, type : OccTyping::Type, body : OccTyping::Term, else_body : OccTyping::Term)
#
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.