class SimpleSub::Typer::TypePrimitive

Defined in:

simple_sub/type.cr

Constant Summary

BOOL = TypePrimitive.new("bool")
INT = TypePrimitive.new("int")

Constructors

Instance Method Summary

Instance methods inherited from class SimpleSub::Typer::SimpleType

instantiated : SimpleType instantiated

Instance methods inherited from class SimpleSub::Typer::Type

instantiated : SimpleType instantiated, level : Int32 level, show(io : IO)
show
show

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def level : Int32 #

[View source]
def level=(level : Int32) #

[View source]
def name : String #

[View source]
def name=(name : String) #

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

[View source]