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

Constructor Details

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

Returns a new instance of SchemaParser.



833
834
835
836
# File 'lib/graphql/language/parser.rb', line 833

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