private function functionCallParameterList($node) {
    $arguments = new CommaListNode();
    $this->mustMatch('(', $node, 'openParen');
    $node->addChild($arguments, 'arguments');
    if ($this->tryMatch(')', $node, 'closeParen', TRUE)) {
      return;
    }
    if ($this->currentType === T_YIELD) {
      $arguments->addChild($this->_yield());
    } else {
      do {
        $arguments->addChild($this->functionCallParameter());
      } while ($this->tryMatch(',', $arguments));
    }
    $this->mustMatch(')', $node, 'closeParen', TRUE);
  }
private function functionCallParameterList($node) {
    $arguments = new CommaListNode();
    $this->mustMatch('(', $node, 'openParen');
    $node->addChild($arguments, 'arguments');
    if ($this->tryMatch(')', $node, 'closeParen', TRUE)) {
      return;
    }
    if ($this->currentType === T_YIELD) {
      $arguments->addChild($this->_yield());
    } else {
      do {
        $arguments->addChild($this->functionCallParameter());
      } while ($this->tryMatch(',', $arguments));
    }
    $this->mustMatch(')', $node, 'closeParen', TRUE);
  }
private function functionCallParameterList ( $ node ) { $ arguments = new CommaListNode ( ) ; $ this -> mustMatch ( '(' , $ node , 'openParen' ) ; $ node -> addChild ( $ arguments , 'arguments' ) ; if ( $ this -> tryMatch ( ')' , $ node , 'closeParen' , TRUE ) ) { return ; } if ( $ this -> currentType === T_YIELD ) { $ arguments -> addChild ( $ this -> _yield ( ) ) ; } else { do { $ arguments -> addChild ( $ this -> functionCallParameter ( ) ) ; } while ( $ this -> tryMatch ( ',' , $ arguments ) ) ; } $ this -> mustMatch ( ')' , $ node , 'closeParen' , TRUE ) ; }
Parse function call parameter list.
@param NewNode|CallNode $node
Parse function call parameter list .