getAttributes()); } elseif ($node instanceof File) { return new StringNode('', $node->getAttributes()); } } }