|
|
Tokenizer class which gets tokens from a string.
stringTokenizer (const QString &str,int offset=0,int line=0)
| stringTokenizer |
QString getToken (bool forward=true,bool comment=false)
| getToken |
[virtual]
Get a token from the string.
Parameters:
forward | Go forward or backwards to get next token. |
comment | Include comments as tokens. |
Reimplemented from tokenizer.
QString remaining (bool eol)
| remaining |
[virtual]
Get the data remaining after the current position.
Parameters:
eol | If true end of line, otherwise end of tokenizer. |
Reimplemented from tokenizer.