Added equality methods to parse tree constructors (with @jurgenvinju)