Skip to content

class Crystal::LibDef
inherits Crystal::ASTNode

Class methods

.new(name, body = nil)

View source

Methods

#==(other : self)

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

#accept_children(visitor)

View source

#body=(body : ASTNode)

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

#resolved_type : LibType

#resolved_type=(resolved_type : LibType)

View source

#resolved_type? : LibType?

#visibility=(visibility)

View source