public AssemblyParseBranch getTree() {
		if (!accepted) {
			throw new AssertionError("INTERNAL: Machine has not accepted its buffer");
		}
		if (pos != buffer.length()) {
			throw new AssertionError("INTERNAL: Machine has not emptied its buffer");
		}
		if (!treeStack.pop().getSym().equals(AssemblyEOI.EOI)) {
			throw new AssertionError("INTERNAL: Machine has not encountered end of input marker");
		}
		if (treeStack.size() != 1) {
			throw new AssertionError("INTERNAL: More than root branch remains on machine stack");
		}
		return (AssemblyParseBranch) treeStack.pop();
	}
If in the accepted state, get the resulting parse tree for this machine

@return the parse tree
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/parse/AssemblyParseMachine.java