struct Savi::Compiler::TInfer::Span::Fallback
Defined in:
savi/compiler/t_infer/span.crConstructors
Class Method Summary
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
- #default : StructRef(Inner)
- #each_mt(&block : MetaType -> Nil) : Nil
- #evaluate_mt : MetaType
- #final_mt_simplify(ctx : Context) : Inner
- #maybe_fallback_based_on_mt_simplify(options : Array(Tuple(Symbol, Inner))) : Inner
- #options : Array(Tuple(Symbol, Inner))
-
#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
def self.new(default : StructRef(Savi::Compiler::TInfer::Span::Inner), evaluate_mt : Savi::Compiler::TInfer::MetaType, options : Array(Tuple(Symbol, Savi::Compiler::TInfer::Span::Inner)))
#
Class Method 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.