class Crystal::ModuleDef
inherits Crystal::ASTNode
¶
Module definition:
'module' name
body
'end'
Class methods¶
Methods¶
#==(other : self)
¶
(other : self)
Returns true
if this reference is the same as other. Invokes same?
.
#doc : String?
¶
: String?
Returns the doc comment attached to this node. Not every node
supports having doc comments, so by default this returns nil
.
#hash(hasher)
¶
(hasher)
#resolved_type : ModuleType
¶
: ModuleType
#resolved_type? : ModuleType?
¶
: ModuleType?