struct Savi::Compiler::Types::TypeUnion

Defined in:

savi/compiler/types/type.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct Savi::Compiler::Types::TypeSimple

instantiated : TypeSimple instantiated

Instance methods inherited from struct Savi::Compiler::Types::Type

collect_vars_deeply(vars : Array(TypeVariable)) collect_vars_deeply, initialize initialize, instantiated : TypeSimple instantiated, level level, show(io : IO)
show
show

Constructor methods inherited from struct Savi::Compiler::Types::Type

new new

Constructor Detail

def self.new(members : Array(Savi::Compiler::Types::TypeSimple)) #

[View source]

Class Method Detail

def self.from(members) : TypeSimple #

[View source]

Instance Method Detail

def collect_vars_deeply(vars : Array(TypeVariable)) #

[View source]
def members : Array(TypeSimple) #

[View source]
def show(io : IO) #

[View source]