History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ANTLR-76
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Terence Parr
Reporter: Terence Parr
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ANTLR v3

make TokenRewriteStream work with Object not String text replacement

Created: 27/Dec/06 02:18 PM   Updated: 27/Dec/06 03:32 PM
Component/s: Java target
Affects Version/s: 3.0b5
Fix Version/s: 3.0b6


 Description  « Hide
I want to be able to do replacement on the rewrite stream with StringTemplates etc... might as well use Object then do toString right before printing out.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 27/Dec/06 03:31 PM
Enhanced TokenRewriteStream so it accepts any object; converts
  to string at last second. Allows you to rewrite with StringTemplate
  templates now :)