public function parse($data)
{
$this->stack = $this->stackFactory->createStack();
$rootFrame = $this->stack->push();
$rootFrame->setRelationship($this->schemaFactory->createRelationshipObject(null, $data, [], null, true, true));
foreach ($this->parseData() as $parseReply) {
(yield $parseReply);
}
$this->stack = null;
}