Clean up the caching of ATN instances with bypass alternatives
Clean up the result caching for getTokenTypeMap and getRuleIndexMap
Remove unused method Lexer.nextTokenOrRuleToken
Remove unnecessary testing constructor
Remove unnecessary methods ParseTreeMatch.getText() and failed() (use getTree().getText() and !succeeded() instead)
Updated documentation for Token and TokenSource
Updated documentation and API encapsulation for tree patterns
Fix small warnings in XPath
Make utility methods in ATNDeserializer static
Use ATNDeserializer methods instead of deprecated ATNSimulator methods
Move ATNSerializer to runtime
Use ATNDeserializer methods instead of deprecated ATNSimulator methods
Merge pull request #377 from sharwell/atn-serializer

ATN serializer
Merge pull request #378 from sharwell/polish

Tree patterns polish