private function innerIfInnerStatementList() {
    static $terminators = [T_ELSEIF, T_ELSE, T_ENDIF];
    $node = new StatementBlockNode();
    while ($this->currentType !== NULL && !in_array($this->currentType, $terminators)) {
      $this->matchHidden($node);
      $node->addChild($this->innerStatement());
    }
    return $node;
  }
private function innerIfInnerStatementList() {
    static $terminators = [T_ELSEIF, T_ELSE, T_ENDIF];
    $node = new StatementBlockNode();
    while ($this->currentType !== NULL && !in_array($this->currentType, $terminators)) {
      $this->matchHidden($node);
      $node->addChild($this->innerStatement());
    }
    return $node;
  }
private function innerIfInnerStatementList ( ) { static $ terminators = [ T_ELSEIF , T_ELSE , T_ENDIF ] ; $ node = new StatementBlockNode ( ) ; while ( $ this -> currentType !== NULL && ! in_array ( $ this -> currentType , $ terminators ) ) { $ this -> matchHidden ( $ node ) ; $ node -> addChild ( $ this -> innerStatement ( ) ) ; } return $ node ; }
Parse statements for alternative if syntax.
@return Node
Parse statements for alternative if syntax .