public ErrorNode createErrorNode(ParserRuleContext parent, Token t) {
		return new ErrorNodeImpl(t);
	}
How to create an error node, given a token, associated with a parent.
 Typically, the error node to create is not a function of the parent.

@since 4.7
runtime/Java/src/org/antlr/v4/runtime/Parser.java