Skip to main content

Module normalize

Module normalize 

Source
Expand description

Tree-aware canonical fingerprint algorithm.

Implements normalize_and_hash — the depth-first canonical walk that extends the leaf-only fingerprint_node_kind to trees of arbitrary depth.

Structs§

NormalizeNode
A node in a pattern AST subtree used by normalize_and_hash.

Functions§

normalize_and_hash
Computes a canonical blake3 fingerprint for a pattern AST subtree.