Skip to main content

semantically_equal

Function semantically_equal 

Source
pub fn semantically_equal(a: &Parse, b: &Parse) -> bool
Expand description

Compares two parse trees ignoring whitespace and comments.

Returns true if both parse trees have the same semantic content.