Module: GraphQL

Defined in:
lib/graphql/libgraphqlparser.rb,
lib/graphql/libgraphqlparser/builder.rb,
lib/graphql/libgraphqlparser/version.rb,
lib/graphql/libgraphqlparser/monkey_patches/abstract_node.rb,
ext/graphql_libgraphqlparser_ext/graphql_libgraphqlparser_ext.c

Defined Under Namespace

Modules: Language, Libgraphqlparser

Class Method Summary collapse

Class Method Details

.parse(string, as: nil) ⇒ Object


41
42
43
# File 'lib/graphql/libgraphqlparser.rb', line 41

def parse(string, as: nil)
  parse_with_libgraphqlparser(string)
end

.parse_with_libgraphqlparser(string) ⇒ Object


35
36
37
# File 'lib/graphql/libgraphqlparser.rb', line 35

def parse_with_libgraphqlparser(string)
  Libgraphqlparser.parse(string)
end

.parse_without_libgraphqlparserObject


39
# File 'lib/graphql/libgraphqlparser.rb', line 39

alias :parse_without_libgraphqlparser :parse