public function getNextIdentifierOrStar(): ?string
{ $next =
$this->
getNext();
if ($next->
isIdentifier()) { return $next->
getValue();
} if ($next->
isDelimiter(['*'
])) { return null;
} throw SyntaxErrorException::
unexpectedToken('identifier or "*"',
$next);
} /**
* Skips next whitespace if any.
*/
public function skipWhitespace(): void
{