@Override
	public int hashCode() {
		int result = term.hashCode();
		result *= 31;
		result += str.hashCode();
		return result;
	}
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