class GraphQL::Language::ParserContext

Defined in:

graphql/language/parser_context.cr

Constant Summary

EMPTY_ARGUMENTS = [] of Language::Argument

Shared by every node without arguments, directives, selections or variables; never mutated after parsing.

EMPTY_DIRECTIVES = [] of Language::Directive
EMPTY_SELECTIONS = [] of Language::Selection
EMPTY_VARIABLE_DEFINITIONS = [] of Language::VariableDefinition

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, lexer : Language::Lexer, max_depth : Int32 = Language::DEFAULT_MAX_DEPTH) #

Instance Method Detail

def dispose #

def parse #