class Oxide::Language::Nodes::EnumTypeDefinition
Defined in:
oxide/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #accept(visitor : Visitor)
- #description : String | Nil
- #directives : Array(Directive)
-
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #value_definitions : Array(EnumValueDefinition)
Instance methods inherited from class Oxide::Language::Nodes::Node
begin_column : Int32 | Nil
begin_column,
begin_column=(begin_column : Int32 | Nil)
begin_column=,
begin_line : Int32 | Nil
begin_line,
begin_line=(begin_line : Int32 | Nil)
begin_line=,
to_location
to_location
Instance methods inherited from module Oxide::Language::Visitable
accept(visitor : Visitor)
accept
Constructor Detail
def self.new(name : String, description : Nil | String = nil, directives : Array(Oxide::Language::Nodes::Directive) = [] of Directive, value_definitions : Array(Oxide::Language::Nodes::EnumValueDefinition) = [] of EnumValueDefinition)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.