Automattic\WooCommerce\Vendor\GraphQL\Language
Parser::parseArgumentsDefinition
Method of the class: Parser{}
No Hooks.
Returns
NodeList<InputValueDefinitionNode>.
Usage
// private - for code of main (parent) class only $result = $this->parseArgumentsDefinition(): NodeList;
Parser::parseArgumentsDefinition() Parser::parseArgumentsDefinition code WC 11.0.1
private function parseArgumentsDefinition(): NodeList
{
return $this->peek(Token::PAREN_L)
? $this->many(
Token::PAREN_L,
fn (): InputValueDefinitionNode => $this->parseInputValueDefinition(),
Token::PAREN_R
)
: new NodeList([]);
}