|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwt.util.Preprocessor
A VERY crude, inefficient Java preprocessor //#define FOO bar baz -- replace all instances of token FOO with "bar baz" //#replace foo/bar baz/bop -- DUPLICATE everything between here and //#end, replacing foo with bar and baz with bop in the *second* copy Replacements are done on a token basis. Tokens are defined as a sequence of characters which all belong to a single class. The two character classes are: - [a-zA-Z0-9_] - all other non-whitespace characters
Constructor Summary | |
Preprocessor()
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Preprocessor()
Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |