@Deprecated
	public ErrorNode addErrorNode(Token badToken) {
		ErrorNodeImpl t = new ErrorNodeImpl(badToken);
		addAnyChild(t);
		t.setParent(this);
		return t;
	}
Add a child to this node based upon badToken.  It
 creates a ErrorNodeImpl rather than using
 {@link Parser#createErrorNode(ParserRuleContext, Token)}. I'm leaving this
 in for compatibility but the parser doesn't use this anymore.
runtime/Java/src/org/antlr/v4/runtime/ParserRuleContext.java