++ed by:
AERO NEYASOV KFLY CKRAS AKIYM

7 PAUSE users
3 non-PAUSE users.

Ed J

NAME

GraphQL::Grammar - GraphQL grammar

SYNOPSIS

  use Pegex::Parser;
  use GraphQL::Grammar;
  use Pegex::Tree::Wrap;
  use Pegex::Input;

  my $parser = Pegex::Parser->new(
    grammar => GraphQL::Grammar->new,
    receiver => Pegex::Tree::Wrap->new,
  );
  my $text = 'query q { foo(name: "hi") { id } }';
  my $input = Pegex::Input->new(string => $text);
  my $got = $parser->parse($input);

DESCRIPTION

This is a subclass of Pegex::Grammar, with the GraphQL grammar.

METHODS

make_tree

Override method from Pegex::Grammar.