class stringTokenizer

Tokenizer class which gets tokens from a string. More...

Full nametoSQLParse::stringTokenizer
Definition#include <tosqlparse.h>
InheritstoSQLParse::tokenizer [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

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:
forwardGo forward or backwards to get next token.
commentInclude comments as tokens.

Reimplemented from tokenizer.

QString  remaining (bool eol)

remaining

[virtual]

Get the data remaining after the current position.

Parameters:
eolIf true end of line, otherwise end of tokenizer.

Reimplemented from tokenizer.