class CrystalLib::Enum
- CrystalLib::Enum
- CrystalLib::ASTNode
- Reference
- Object
Defined in:
crystal_lib/ast.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #name=(name : String)
- #to_s(io, semicolon = true)
- #type : CrystalLib::Type
- #type=(type : CrystalLib::Type)
- #values : Array(CrystalLib::EnumValue)
- #values=(values : Array(CrystalLib::EnumValue))
Instance methods inherited from class CrystalLib::ASTNode
doc : String | Nil
doc,
doc=(doc : String | Nil)
doc=,
unscoped_name
unscoped_name
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.