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

LexRuby.cxx File Reference


Detailed Description

Lexer for Ruby.

Definition in file LexRuby.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.

Functions

static void ClassifyWordRb (unsigned int start, unsigned int end, WordList &keywords, Accessor &styler, char *prevWord)
static void ColouriseRbDoc (unsigned int startPos, int length, int initStyle, WordList *keywordlists[], Accessor &styler)
static void FoldRbDoc (unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler)
static int GetRbStringState (Accessor &styler, int i, int *nextIndex)
static bool IsRbComment (Accessor &styler, int pos, int len)
static bool IsRbStringStart (char ch, char chNext, char chNext2)
static bool IsRbWordStart (char ch, char chNext, char chNext2)

Variables

LexerModule lmRuby (SCLEX_RUBY, ColouriseRbDoc,"ruby", FoldRbDoc, rubyWordListDesc)
static const char *const rubyWordListDesc []


Generated by  Doxygen 1.6.0   Back to index