ddn.data.xml.dom.util

DOM utility functions (equality, hashing).

Functions 5

fnbool nodesEqual( const XmlNode a, const XmlNode b, bool includeLocations = false, bool includeBaseUri = false) @safeDeeply compares two nodes for structural equality.
private fnbool childrenEqual( const XmlParentNode a, const XmlParentNode b, bool includeLocations, bool includeBaseUri) @safe
fnsize_t nodeHash( const XmlNode node, bool includeLocations = false, bool includeBaseUri = false) @safeProduces a stable hash for a node and its descendants.
private fnsize_t hashChildren( size_t seed, const XmlParentNode node, bool includeLocations, bool includeBaseUri) @safe
private fnsize_t hashCombine(size_t seed, size_t val) @safe pure nothrow