Syntax::EnumDef
Inherits Syntax::ASTNode < Reference < Object
Constructors
new(name : Syntax::Path, members : Array(Syntax::ASTNode) = [] of ASTNode, base_type : Syntax::ASTNode | Nil = nil)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourcebase_type
Sourcebase_type=(base_type : ASTNode | Nil)
Sourceclone_without_location
Sourcedoc
Returns the doc comment attached to this node. Not every node
supports having doc comments, so by default this returns nil.
hash(hasher)
See Object#hash(hasher)
members
Sourcename
Sourcevisibility
Sourcevisibility=(visibility : Syntax::Visibility)
Source