private function newExpr() {
    $node = new NewNode();
    $this->mustMatch(T_NEW, $node);
    $node->addChild($this->classNameReference(), 'className');
    if ($this->currentType === '(') {
      $this->functionCallParameterList($node);
    }
    return $node;
  }
private function newExpr() {
    $node = new NewNode();
    $this->mustMatch(T_NEW, $node);
    $node->addChild($this->classNameReference(), 'className');
    if ($this->currentType === '(') {
      $this->functionCallParameterList($node);
    }
    return $node;
  }
private function newExpr ( ) { $ node = new NewNode ( ) ; $ this -> mustMatch ( T_NEW , $ node ) ; $ node -> addChild ( $ this -> classNameReference ( ) , 'className' ) ; if ( $ this -> currentType === '(' ) { $ this -> functionCallParameterList ( $ node ) ; } return $ node ; }
Parse a new expression.
@return NewNode
Parse a new expression .