#include <tosqlparse.h>


Public Member Functions | |
| stringTokenizer (const QString &str, int offset=0, int line=0) | |
| virtual QString | getToken (bool forward=true, bool comment=false) |
| virtual QString | remaining (bool eol) |
| toSQLParse::stringTokenizer::stringTokenizer | ( | const QString & | str, | |
| int | offset = 0, |
|||
| int | line = 0 | |||
| ) | [inline] |
| QString toSQLParse::stringTokenizer::getToken | ( | bool | forward = true, |
|
| bool | comment = false | |||
| ) | [virtual] |
Get a token from the string.
| forward | Go forward or backwards to get next token. | |
| comment | Include comments as tokens. |
Implements toSQLParse::tokenizer.
References toSQLParse::tokenizer::Line, toSQLParse::tokenizer::Offset, QUOTE_CHARACTER, and toIsIdent().
Referenced by toSQLParse::editorTokenizer::getToken().
| QString toSQLParse::stringTokenizer::remaining | ( | bool | eol | ) | [virtual] |
Get the data remaining after the current position.
| eol | If true end of line, otherwise end of tokenizer. |
Implements toSQLParse::tokenizer.
References toSQLParse::tokenizer::Offset.
1.5.5