private function innerCaseStatementList($terminator) {
    static $terminators = [T_CASE, T_DEFAULT];
    $node = new StatementBlockNode();
    while ($this->currentType !== NULL && $this->currentType !== $terminator && !in_array($this->currentType, $terminators)) {
      $this->matchHidden($node);
      $node->addChild($this->innerStatement());
    }
    return $node;
  }
private function innerCaseStatementList($terminator) {
    static $terminators = [T_CASE, T_DEFAULT];
    $node = new StatementBlockNode();
    while ($this->currentType !== NULL && $this->currentType !== $terminator && !in_array($this->currentType, $terminators)) {
      $this->matchHidden($node);
      $node->addChild($this->innerStatement());
    }
    return $node;
  }
private function innerCaseStatementList ( $ terminator ) { static $ terminators = [ T_CASE , T_DEFAULT ] ; $ node = new StatementBlockNode ( ) ; while ( $ this -> currentType !== NULL && $ this -> currentType !== $ terminator && ! in_array ( $ this -> currentType , $ terminators ) ) { $ this -> matchHidden ( $ node ) ; $ node -> addChild ( $ this -> innerStatement ( ) ) ; } return $ node ; }
Parse the inner statements for a case statement.
@param int|string $terminator Token type that terminates statement list
@return Node
Parse the inner statements for a case statement .