class Oxide::Validation::DirectivesAreInValidLocations

Defined in:

oxide/validation/rules/directives_are_in_valid_locations.cr

Constructors

Macro Summary

Instance Method Summary

Instance methods inherited from class Oxide::Validation::Rule

enter(node, context) enter, leave(node, context) leave

Constructor Detail

def self.new #

[View source]

Macro Detail

macro record_adjacent(node, location) #

[View source]

Instance Method Detail

def enter(node : Oxide::Language::Nodes::FragmentSpread, context) #

[View source]
def enter(node : Oxide::Language::Nodes::InlineFragment, context) #

[View source]
def enter(node : Oxide::Language::Nodes::Field, context) #

[View source]
def enter(node : Oxide::Language::Nodes::FragmentDefinition, context) #

[View source]
def enter(node : Oxide::Language::Nodes::OperationDefinition, context) #

[View source]
def enter(node : Oxide::Language::Nodes::Directive, context) #

[View source]
def leave(node : Oxide::Language::Nodes::FragmentSpread, context) #

[View source]
def leave(node : Oxide::Language::Nodes::InlineFragment, context) #

[View source]
def leave(node : Oxide::Language::Nodes::Field, context) #

[View source]
def leave(node : Oxide::Language::Nodes::FragmentDefinition, context) #

[View source]
def leave(node : Oxide::Language::Nodes::OperationDefinition, context) #

[View source]