|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cpptools.preprocessor.AbstractTokenFilter cpptools.preprocessor.Define
public final class Define
Manages define pre-proprecessing.
Constructor Summary | |
---|---|
Define(java.util.Stack<Token> buffer,
java.lang.String name,
java.lang.String value)
Create a define definition. |
Method Summary | |
---|---|
boolean |
process(Token token)
Trigger filtering based on a given token. |
Methods inherited from class cpptools.preprocessor.AbstractTokenFilter |
---|
insert, matches, undo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Define(java.util.Stack<Token> buffer, java.lang.String name, java.lang.String value)
buffer
- the token stack where to output filtered tokensname
- the define symbolvalue
- the define valueMethod Detail |
---|
public boolean process(Token token)
token
- the head of the token flow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |