struct Savi::Compiler::Infer::Span::Fallback
Defined in:
savi/compiler/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
- #deciding_partial_reify_index(index : Int) : 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
- #narrowing_partial_reify_indices(target_bits : BitArray, mark_unsatisfiable : Bool) : 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::Infer::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,
deciding_partial_reify_index(index : Int) : Inner
deciding_partial_reify_index,
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,
narrowing_partial_reify_indices(target_bits : BitArray, mark_unsatisfiable : Bool) : Inner
narrowing_partial_reify_indices,
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::Infer::Span::Inner
new
new
Constructor Detail
def self.new(default : StructRef(Savi::Compiler::Infer::Span::Inner), evaluate_mt : Savi::Compiler::Infer::MetaType, options : Array(Tuple(Symbol, Savi::Compiler::Infer::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.