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

LexCPP.cxx File Reference


Detailed Description

Lexer for C++, C, Java, and Javascript.

Definition in file LexCPP.cxx.

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "Platform.h"
#include "PropSet.h"
#include "Accessor.h"
#include "StyleContext.h"
#include "KeyWords.h"
#include "Scintilla.h"
#include "SciLexer.h"

Go to the source code of this file.

Defines

#define KEYWORD_BOXHEADER   1
#define KEYWORD_FOLDCONTRACTED   2

Functions

static void ColouriseCppDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler, bool caseSensitive)
static void ColouriseCppDocInsensitive (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void ColouriseCppDocSensitive (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void FoldCppDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler)
static void FoldNoBoxCppDoc (unsigned int startPos, int length, int initStyle, Accessor &styler)
static bool IsADoxygenChar (const int ch)
static bool IsAWordChar (const int ch)
static bool IsAWordStart (const int ch)
static bool IsOKBeforeRE (const int ch)
static bool IsStateComment (const int state)
static bool IsStateString (const int state)
static bool IsStreamCommentStyle (int style)

Variables

static const char *const cppWordLists []
LexerModule lmCPP (SCLEX_CPP, ColouriseCppDocSensitive,"cpp", FoldCppDoc, cppWordLists)
LexerModule lmCPPNoCase (SCLEX_CPPNOCASE, ColouriseCppDocInsensitive,"cppnocase", FoldCppDoc, cppWordLists)
LexerModule lmTCL (SCLEX_TCL, ColouriseCppDocSensitive,"tcl", FoldCppDoc, cppWordLists)


Generated by  Doxygen 1.6.0   Back to index