protected function parseInterfaceList(AbstractASTClassOrInterface $abstractType)
{
while (true) {
$this->tokenStack->push();
$abstractType->addInterfaceReference($this->setNodePositionsAndReturn($this->builder->buildAstClassOrInterfaceReference($this->parseQualifiedName())));
$this->consumeComments();
$tokenType = $this->tokenizer->peek();
if ($tokenType === Tokens::T_CURLY_BRACE_OPEN) {
break;
}
$this->consumeToken(Tokens::T_COMMA);
}
}