@Override
	public SleighParserContext getParserContext(MemBuffer buf,
			ProcessorContextView processorContext) throws MemoryAccessException {
		SleighParserContext newContext = new SleighParserContext(buf, this, processorContext);
		reconstructContext(newContext, null);
		resolveHandles(newContext);

		return newContext;
	}
Reconstruct the ParserContext's internal packed context array and its list of global 
ContextSet directives by walking a previously resolved ConstructState tree

@param protoContext is the SleighParserContext containing the tree and holding the context
  results
@param debug (optional) logger for collecting information about the recovered context
@throws MemoryAccessException if memory errors occur trying to recover context
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/SleighInstructionPrototype.java