[antlr-interest] Creating Lexer from String
CARLOS MELGAREJO
carlos.melgarejo at rogers.com
Wed May 30 12:56:31 PDT 2007
I use the following code and works for me :)
String str = "text goes here";
CharStream input = ANTRLStringStream(str);
ExpertLexer lex = new ExpertLexer(input);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070530/bffbfbcb/attachment.html
More information about the antlr-interest
mailing list