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

LexAda.cxx File Reference


Detailed Description

Lexer for Ada 95

Definition in file LexAda.cxx.

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

Go to the source code of this file.

Functions

static void ColouriseCharacter (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseComment (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseContext (StyleContext &sc, char chEnd, int stateEOL)
static void ColouriseDelimiter (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseDocument (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void ColouriseLabel (StyleContext &sc, WordList &keywords, bool &apostropheStartsAttribute)
static void ColouriseNumber (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseString (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseWhiteSpace (StyleContext &sc, bool &apostropheStartsAttribute)
static void ColouriseWord (StyleContext &sc, WordList &keywords, bool &apostropheStartsAttribute)
static bool IsDelimiterCharacter (int ch)
static bool IsNumberCharacter (int ch)
static bool IsNumberStartCharacter (int ch)
static bool IsSeparatorOrDelimiterCharacter (int ch)
static bool IsValidIdentifier (const SString &identifier)
static bool IsValidNumber (const SString &number)
static bool IsWordCharacter (int ch)
static bool IsWordStartCharacter (int ch)

Variables

static const char *const adaWordListDesc []
LexerModule lmAda (SCLEX_ADA, ColouriseDocument,"ada", NULL, adaWordListDesc)


Generated by  Doxygen 1.6.0   Back to index