private function processInlines(ContextInterface $context, NodeWalker $walker) { while (($event = $walker->next()) !== null) { if (!$event->isEntering()) { continue; } $node = $event->getNode(); if ($node instanceof InlineContainer) { $this->inlineParserEngine->parse($node, $context->getDocument()->getReferenceMap()); } } }