@Override
	public boolean equals(Object that) {
		if (!(that instanceof AssemblyParseMachine)) {
			return false;
		}
		AssemblyParseMachine apm = (AssemblyParseMachine) that;
		if (this.pos != apm.pos) {
			return false;
		}
		if (!this.output.equals(apm.output)) {
			return false;
		}
		if (!this.stack.equals(apm.stack)) {
			return false;
		}
		if (this.accepted != apm.accepted) {
			return false;
		}
		if (this.error != apm.error) {
			return false;
		}
		return true;
	}
Construct a new parse state

@param parser the parser driving this machine
@param input the full input line
@param pos the position in the line identifying the next characters to parse
@param lastTok
@param symbols
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/parse/AssemblyParseMachine.java