Compare the properties of two parsers.
Override this method in all subclasses that add new state.
@protected @mustCallSuper bool hasEqualProperties(covariant Parser other) => true;