|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.StreamTokenizer edu.northwestern.at.wordhoard.swing.calculator.cql.CQLQueryTokenizer
public class CQLQueryTokenizer
A tokenizer for parsing a WordHoard Corpus Query Language query.
Field Summary | |
---|---|
protected boolean |
debug
True to write debugging information to System.out, false otherwise. |
Fields inherited from class java.io.StreamTokenizer |
---|
nval, sval, TT_EOF, TT_EOL, TT_NUMBER, TT_WORD, ttype |
Constructor Summary | |
---|---|
CQLQueryTokenizer(java.lang.String queryString)
Create a CQL query tokenizer. |
Method Summary | |
---|---|
int |
nextToken()
Get next token. |
void |
setDebug(boolean debug)
Set debug flag. |
Methods inherited from class java.io.StreamTokenizer |
---|
commentChar, eolIsSignificant, lineno, lowerCaseMode, ordinaryChar, ordinaryChars, parseNumbers, pushBack, quoteChar, resetSyntax, slashSlashComments, slashStarComments, toString, whitespaceChars, wordChars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean debug
Constructor Detail |
---|
public CQLQueryTokenizer(java.lang.String queryString)
queryString
- The query string. Method Detail |
---|
public int nextToken()
nextToken
in class java.io.StreamTokenizer
public void setDebug(boolean debug)
debug
- True to write debugging information, false otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |