Skip to main content

same_chart

Function same_chart 

Source
pub fn same_chart(a: &Chart, b: &Chart) -> bool
Expand description

Structural chart equality: every node, attribute, expression text, extension node and document order is compared, source locations are not (a crate::ir::Span equals every other span). Two charts are equal exactly when every surface serializes them identically.