Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



New Page 1

Token Stream Viewer

Author: Santhosh Kumar T
Email :  santhosh@in.fiorano.com,
              mr_gotu@yahoo.com

The Frame LexerFrame can be used to view the token Streams;

sample code showing how to use it:

LexerFrame lexerFrame = new LexerFrame(SQLLexer.class, SQLTokenTypes.class);
lexerFrame.show();

 

right click on input script and select the input file:

now select any token in Token Steam Pane corresponding matching text is highlight in Input Script Pane.
the Tokens in first line or input script are shown in first line of token steam and so on..

ENJOY!!!