private function topStatementList(StatementBlockNode $node, $terminator = '') {
    $this->matchHidden($node);
    while ($this->currentType !== NULL && $this->currentType !== $terminator) {
      $node->addChild($this->topStatement());
      $this->matchHidden($node);
    }
    $this->matchHidden($node);
    $this->matchDocComment($node, NULL);
  }