original_string: public function getNextIdentifierOrStar()
      {
          $next = $this->getNext();
  
          if ($next->isIdentifier()) {
              return $next->getValue();
          }
  
          if ($next->isDelimiter(['*'])) {
              return;
          }
  
          throw SyntaxErrorException::unexpectedToken('identifier or "*"', $next);
      }
code: public function getNextIdentifierOrStar()
      {
          $next = $this->getNext();
  
          if ($next->isIdentifier()) {
              return $next->getValue();
          }
  
          if ($next->isDelimiter(['*'])) {
              return;
          }
  
          throw SyntaxErrorException::unexpectedToken('identifier or "*"', $next);
      }
code_tokens: public function getNextIdentifierOrStar ( ) { $ next = $ this -> getNext ( ) ; if ( $ next -> isIdentifier ( ) ) { return $ next -> getValue ( ) ; } if ( $ next -> isDelimiter ( [ '*' ] ) ) { return ; } throw SyntaxErrorException :: unexpectedToken ( 'identifier or "*"' , $ next ) ; }
docstring: Returns nex identifier or star delimiter token.
  
  @return string|null The identifier token value or null if star found
  
  @throws SyntaxErrorException If next token is not an identifier or a star delimiter
docstring_tokens: Returns nex identifier or star delimiter token .