Class: GraphQL::Language::Parser::SchemaParser

Inherits:
GraphQL::Language::Parser show all
Defined in:
lib/graphql/language/parser.rb

Constant Summary

Constants included from EmptyObjects

EmptyObjects::EMPTY_ARRAY, EmptyObjects::EMPTY_HASH

Constants included from Nodes

Nodes::NONE

Instance Attribute Summary

Attributes included from Nodes

#name, #type

Instance Method Summary collapse

Methods inherited from GraphQL::Language::Parser

#column_at, #line_at, parse, #parse, parse_file, #tokens_count

Constructor Details

#initialize(*args, **kwargs) ⇒ SchemaParser

Returns a new instance of SchemaParser.



838
839
840
841
# File 'lib/graphql/language/parser.rb', line 838

def initialize(*args, **kwargs)
  super
  @dedup_identifiers = true
end