Create ATNType enumeration for ATN.grammarType field, use UUID instead of incrementing a version number for improved reliability across branches
Remove unnecessary field ATN.stateNumber
ATN fields grammarType and maxTokenType are now final
Updated ATN documentation
Move primary implementation of getExpectedTokens to ATN, fixes #191
Update CHANGES.txt
Track the number of syntax errors in Parser.notifyErrorListeners instead of in the error strategy
Update CHANGES.txt
Updated @NotNull and @Nullable annotations, linked documentation
Simplify the ANTLRErrorStrategy interface by reusing the token factory from the parser instead of having the error strategy maintain its own separately
ANTLRErrorStrategy.beginErrorCondition and endErrorCondition were implementation details. Replaced them with the API-relevant alternatives reset and reportMatch
ANTLRErrorStrategy.sync and recover can throw a RecognitionException, but not reportError
Improved encapsulation of DefaultErrorStrategy internal implementation details (protected methods instead of public)
Call inErrorRecoveryMode instead of accessing the errorRecoveryMode field directly
Updated ANTLRErrorStrategy and DefaultErrorStrategy documentation
Remove unnecessary null check
Update CHANGES.txt
Updated documentation in RecognitionException
Updated documentation of Parser.match and Parser.matchWildcard
Updated documentation of Parser fields