|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fri.patterns.interpreter.parsergenerator.lexer.examples.CStyleCommentStrip
Sample for a Lexer built from blocks of StandardLexerRules. Removes comments from Java/C source.
Constructor Summary | |
CStyleCommentStrip(java.io.Reader in,
java.io.Writer out)
Stripping C-style comments from an input reader and writing to output writer. |
Method Summary | |
static void |
main(java.lang.String[] args)
Example implementation: Stripping C-style comments from Java files, passed as arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CStyleCommentStrip(java.io.Reader in, java.io.Writer out) throws LexerException, java.io.IOException
Method Detail |
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |