Skip to main content

Module expr_diff

Module expr_diff 

Source
Expand description

Structural diff between two TLExpr trees.

Identifies additions, removals, and modifications at each node in the expression tree. Useful for debugging incremental compilation and tracking rule evolution.

Structs§

DiffEntry
A single diff entry at a specific path in the expression tree.
ExprDiff
Complete diff result between two expressions.

Enums§

DiffKind
Kind of change between two expression nodes.

Functions§

expr_diff
Compute the structural diff between two expressions.
expr_type_tag
Get a short type tag for an expression variant.