parrt/antlr4 — pull request #65 by sharwell (2012-04-04 15:18:37+00:00)
Title: TokenStreamRewriter tweaks

* Only need `TokenStream`. The implementation should provide access to tokens like `BufferedTokenStream` does, but such an implementation is not actually required to be derived from `BufferedTokenStream`.
* Add `TokenStreamRewriter.getSource()`.
* Remove `TokenStreamRewriter.getOriginalText()` since `rewriter.getSource().getText()` already provides the same feature in a clearer way.