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
Merge pull request #378 from sharwell/polish

Tree patterns polish