class Oxide::Language::Nodes::DirectiveDefinition

Defined in:

oxide/language/nodes.cr

Constructors

Instance Method Summary

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, repeatable : Bool = false, arguments_definitions : Array(Oxide::Language::Nodes::InputValueDefinition) = [] of InputValueDefinition, directive_locations : Array(String) = [] of DirectiveLocation) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

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


def accept(visitor : Visitor) #

[View source]
def arguments_definitions : Array(InputValueDefinition) #

[View source]
def description : String | Nil #

[View source]
def directive_locations : Array(DirectiveLocation) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

[View source]
def repeatable : Bool #

[View source]