[antlr-interest] Passing OutputStream to Lexer
Spenser Kao
spenserkao at optushome.com.au
Fri Jun 7 08:40:51 PDT 2002
Question on Java version antlr 2.7.1:
Is there any to pass OutputStream to Lexer constructor?
I can pass an InputStream instance to the Lexer constructor; can I do
the same with OutputStream?
So far I can only redirect the o/p message to a file on the command
line, but passing an OutputStream onto Lexer on the fly will be more
flexible and it seems none of current Lexer constructors allows me to do
that.
Any clue will be much appreciated!
Regards,
Spenser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20020608/793de0c9/attachment.html
More information about the antlr-interest
mailing list