|
|
Tokenizer class which gets tokens from an editor.
| editorTokenizer (toMarkedText *editor,int offset=0,int line=0)
| editorTokenizer |
Create a tokenizer which takes its input from an editor.
Parameters:
| editor | The editor to read from. Observe that if this is a syntax highlighted editor the syntax analyzer is used that is used for the editor. |
| 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.
| Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54. |