|
NAMEGraphQL::Language::Grammar - GraphQL grammarSYNOPSISuse Pegex::Parser; use GraphQL::Language::Grammar; use Pegex::Tree::Wrap; use Pegex::Input; my $parser = Pegex::Parser->new( grammar => GraphQL::Language::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); DESCRIPTIONThis is a subclass of Pegex::Grammar, with the GraphQL grammar.METHODSmake_treeOverride method from Pegex::Grammar.
Visit the GSP FreeBSD Man Page Interface. |