toDocumentWithMetadata

Returns a pretty representation of this Node where each descendant is decorated using metadata.