| 19 skipped lines |
| 20 | U | 20 | U | LexerFunction fnLexer; |
|
| 21 | U | 21 | U | LexerFunction fnFolder; |
|
| 22 | U | 22 | U | const char * const * wordListDescriptions; |
|
| | | 23 | A | int styleBits; |
|
| 24 | U | 25 | U | static const LexerModule *base; |
|
| 25 | U | 26 | U | static int nextLanguage; |
|
|
|
| 28 | U | 29 | U | const char *languageName; |
|
| 29 | C | LexerModule(int language_, LexerFunction fnLexer_, | | 30 | C | LexerModule(int language_, |
| | | 31 | C | LexerFunction fnLexer_, |
| 30 | C | const char *languageName_=0, LexerFunction fnFolder_=0, | | 32 | C | const char *languageName_=0, |
| | | 33 | C | LexerFunction fnFolder_=0, |
| 31 | C | const char * const wordListDescriptions_[] = NULL); | | 34 | C | const char * const wordListDescriptions_[] = NULL, |
| | | 35 | C | int styleBits_=5); |
| | | 36 | C | virtual ~LexerModule() { |
| | | 37 | C | } |
| 32 | U | 38 | U | int GetLanguage() const { return language; } |
|
|
| 34 | U | 40 | U | // -1 is returned if no WordList information is available |
|
| 35 | U | 41 | U | int GetNumWordLists() const; |
|
| 36 | U | 42 | U | const char *GetWordListDescription(int index) const; |
|
|
| | | 44 | A | int GetStyleBitsNeeded() const; |
| | | 45 | A | |
| 38 | U | 46 | U | virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle, |
|
| 39 | U | 47 | U | WordList *keywordlists[], Accessor &styler) const; |
|
| 40 | U | 48 | U | virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle, |
|
| 35 skipped lines |