public int getNumberOfSyntaxErrors() {
		return _syntaxErrors;
	}
Gets the number of syntax errors reported during parsing. This value is
incremented each time {@link #notifyErrorListeners} is called.

@see #notifyErrorListeners
runtime/Java/src/org/antlr/v4/runtime/Parser.java