@Override
		public boolean equals(Object other) {
			if (!(other instanceof Result)) {
				return false;
			}
			Result that = (Result) other;
			if (this == that) {
				return true;
			}
			return Objects.equals(this.type, that.type) &&
				Objects.equals(this.codePoint, that.codePoint) &&
				Objects.equals(this.propertyIntervalSet, that.propertyIntervalSet) &&
				Objects.equals(this.parseLength, that.parseLength);
		}
Utility class to parse escapes like:
  \\n
  \\uABCD
  \\u{10ABCD}
  \\p{Foo}
  \\P{Bar}
  \\p{Baz=Blech}
  \\P{Baz=Blech}
tool/src/org/antlr/v4/misc/EscapeSequenceParsing.java