Automattic\WooCommerce\Vendor\GraphQL\Language
Parser::parseSelection
Method of the class: Parser{}
No Hooks.
Returns
SelectionNode&Node.
Usage
// private - for code of main (parent) class only $result = $this->parseSelection(): SelectionNode;
Parser::parseSelection() Parser::parseSelection code WC 11.0.1
private function parseSelection(): SelectionNode
{
return $this->peek(Token::SPREAD)
? $this->parseFragment()
: $this->parseField();
}