Skip to content

class Crystal::TypeDef
inherits Crystal::ASTNode

Class methods

.new(name, type_spec)

View source

Methods

#==(other : self)

Returns true if this reference is the same as other. Invokes same?.

#accept_children(visitor)

View source

#clone_without_location

View source

#hash(hasher)

#name=(name : String)

View source

#name_location : Location?

View source

#name_location=(name_location : Location?)

View source

#type_spec : ASTNode

View source

#type_spec=(type_spec : ASTNode)

View source