} if (!self::
$verbose) { $o->
removeRepresentation('methods'
);
$o->
removeRepresentation('properties'
);
} // Attributes and comments and text nodes don't
// need children or attributes of their own
if (\
in_array($o->classname,
['DOMAttr', 'DOMText', 'DOMComment'
], true
)) { $o = self::
textualNodeToString($o);
return;
} // Set the attributes
if ($attributes) { $a =
new Representation('Attributes'
);
foreach ($attributes->contents
as $attribute) { $a->contents
[] =
$attribute;
} $o->
addRepresentation($a, 0
);
}