@Override
					public void emitErrorMessage(String msg) {
						throw new AssertionError();
					}
Parse a non-terminal symbol from the Sleigh semantic grammar

<p>
Because the ANTLR parsing function for the non-terminal symbol depends on the "follows" set
to determine when it has finished, we can't just invoke the function in isolation without
some hacking. If EOF is not in the non-terminal's follows set, then it won't recognize EOF as
completing the non-terminal. Instead, we have to present some token that it will recognize.
Furthermore, regardless of the follow token, we have to check that all of the given input was
consumed by the parser.

@param <T> the type of result from parsing
@param nt the function from the parser implementing the non-terminal symbol
@param text the text to parse
@param follow a token that would ordinarily follow the non-terminal symbol, or empty for EOF
@return the parsed result
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/SleighUtils.java