Add TokenStreamRewriter.getSource()

This commit is contained in:
Sam Harwell 2012-04-04 10:14:09 -05:00
parent e4612935f2
commit a85f1c17a1
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ public class TokenStreamRewriter {
lastRewriteTokenIndexes = new HashMap<String, Integer>();
}
public final TokenStream getSource() {
return tokens;
}
public void rollback(int instructionIndex) {
rollback(DEFAULT_PROGRAM_NAME, instructionIndex);
}