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

LexPerl.cxx File Reference

Detailed Description

Lexer for subset of Perl.

Definition in file LexPerl.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 "KeyWords.h"
#include "Scintilla.h"
#include "SciLexer.h"

Go to the source code of this file.


static int classifyWordPerl (unsigned int start, unsigned int end, WordList &keywords, Accessor &styler)
static void ColourisePerlDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void FoldPerlDoc (unsigned int startPos, int length, int, WordList *[], Accessor &styler)
static bool isEndVar (char ch)
static bool isEOLChar (char ch)
static bool isMatch (Accessor &styler, int lengthDoc, int pos, const char *val)
static bool isPerlOperator (char ch)
static bool isSingleCharOp (char ch)
static char opposite (char ch)


LexerModule lmPerl (SCLEX_PERL, ColourisePerlDoc,"perl", FoldPerlDoc, perlWordListDesc)
static const char *const perlWordListDesc []

Generated by  Doxygen 1.6.0   Back to index