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

parse, #parse, parse_file

Constructor Details

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

Returns a new instance of SchemaParser.



749
750
751
752
# File 'lib/graphql/language/parser.rb', line 749

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