struct Savi::Compiler::TInfer::Span::Terminal
Defined in:
savi/compiler/t_infer/span.crConstructors
Instance Method Summary
- #all_terminal_meta_types : Array(MetaType)
- #any_error? : Bool
- #any_mt?(&block : MetaType -> Bool) : Bool
- #combine_mt_to_span(other : Inner, &block : MetaType, MetaType -> Span) : Inner
- #each_mt(&block : MetaType -> Nil) : Nil
- #final_mt_simplify(ctx : Context) : Inner
- #maybe_fallback_based_on_mt_simplify(options : Array(Tuple(Symbol, Inner))) : Inner
- #meta_type : MetaType
-
#pretty_print(format : PrettyPrint)
Pretty prints
self
into the given printer. - #total_error : Error | Nil
- #transform_mt(&block : MetaType -> MetaType) : Inner
- #transform_mt_to_span(&block : MetaType -> Span) : Inner
Instance methods inherited from struct Savi::Compiler::TInfer::Span::Inner
all_terminal_meta_types : Array(MetaType)
all_terminal_meta_types,
any_error? : Bool
any_error?,
any_mt?(&block : MetaType -> Bool) : Bool
any_mt?,
combine_mt_to_span(other : Inner, &block : MetaType, MetaType -> Span) : Inner
combine_mt_to_span,
each_mt(&block : MetaType -> Nil) : Nil
each_mt,
final_mt_simplify(ctx : Context) : Inner
final_mt_simplify,
initialize
initialize,
maybe_fallback_based_on_mt_simplify(options : Array(Tuple(Symbol, Inner))) : Inner
maybe_fallback_based_on_mt_simplify,
total_error : Error | Nil
total_error,
transform_mt(&block : MetaType -> MetaType) : Inner
transform_mt,
transform_mt_to_span(&block : MetaType -> Span) : Inner
transform_mt_to_span
Constructor methods inherited from struct Savi::Compiler::TInfer::Span::Inner
new
new
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.