@Override
	public boolean equals(Object obj) {
		if (this.getClass() != obj.getClass()) {
			return false;
		}
		AssemblyParseToken that = (AssemblyParseToken) obj;
		if (!this.term.equals(that.term)) {
			return false;
		}
		if (!this.str.equals(that.str)) {
			return false;
		}
		return true;
	}
Construct a new token having the given string value

@param grammar the grammar containing the terminal
@param term the terminal that matched this token
@param str the portion of the input comprising this token
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/tree/AssemblyParseToken.java