protected function formatAttributes(array $attributes, $lineno, $name)
    {
        try {
            $processor = new Processor();

            return $processor->process($this->getAttributeNodeConfig(), [$attributes]);
        } catch (\Exception $e) {
            throw new SyntaxError($this->getFormattedMessageException($e), $lineno, new Source('', $name));
        }
    }