@Override
	public boolean equals(Object obj) {
		if (this.getClass() != obj.getClass()) {
			return false;
		}
		AssemblyParseBranch that = (AssemblyParseBranch) obj;
		if (!this.substs.equals(that.substs)) {
			return false;
		}
		return true;
	}
Construct a branch from the given grammar and production

@param grammar the grammar containing the production
@param prod the production applied to create this branch
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/tree/AssemblyParseBranch.java