Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions  Download package

ExternalLexerModule Class Reference

#include <ExternalLexer.h>

Inheritance diagram for ExternalLexerModule:

LexerModule

List of all members.


Detailed Description

Sub-class of LexerModule to use an external lexer.

Definition at line 29 of file ExternalLexer.h.


Public Member Functions

 ExternalLexerModule (int language_, LexerFunction fnLexer_, const char *languageName_=0, LexerFunction fnFolder_=0)
virtual void Fold (unsigned int startPos, int lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) const
virtual void Lex (unsigned int startPos, int lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) const
virtual void SetExternal (ExtLexerFunction fLexer, ExtFoldFunction fFolder, int index)

Protected Member Functions

int GetLanguage () const
int GetNumWordLists () const
const char * GetWordListDescription (int index) const

Static Protected Member Functions

static const LexerModuleFind (const char *languageName)
static const LexerModuleFind (int language)

Protected Attributes

int externalLanguage
ExtFoldFunction fneFolder
ExtLexerFunction fneLexer
LexerFunction fnFolder
LexerFunction fnLexer
int language
const char * languageName
char name [100]
const LexerModulenext
const char *const * wordListDescriptions

Static Protected Attributes

static const LexerModulebase = 0
static int nextLanguage = SCLEX_AUTOMATIC+1

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index