class editorTokenizer

Tokenizer class which gets tokens from an editor. More...

Full nametoSQLParse::editorTokenizer
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 an editor.

 editorTokenizer (toMarkedText *editor,int offset=0,int line=0)

editorTokenizer

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.