Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser
TokenStream::getNextIdentifier
Returns next identifier token.
Method of the class: TokenStream{}
No Hooks.
Returns
null. Nothing (null).
Usage
$TokenStream = new TokenStream(); $TokenStream->getNextIdentifier(): string;
TokenStream::getNextIdentifier() TokenStream::getNextIdentifier code WC 10.4.3
public function getNextIdentifier(): string
{
$next = $this->getNext();
if (!$next->isIdentifier()) {
throw SyntaxErrorException::unexpectedToken('identifier', $next);
}
return $next->getValue();
}