hasEqualProperties method
Compares the properties of this parser with other.
Overridden in subclasses that add new state.
Implementation
@override
bool hasEqualProperties(covariant StringParser other) =>
super.hasEqualProperties(other) &&
literal == other.literal &&
message == other.message;