Editra  0.7.08
Editra API Documentation
 All Classes Namespaces Functions Variables Properties
Public Member Functions | Static Public Attributes
XTextLexer Class Reference

Xtext lexer based on statefull RegexLexer from pygments library. More...

Inheritance diagram for XTextLexer:
Inheritance graph
[legend]
Collaboration diagram for XTextLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def AltWords
 Makes lexer rule for alternative words from the given words list.

Static Public Attributes

string name = 'Xtext'
list aliases = ['xtext']
list filenames = ['*.xtxt']
list mimetypes = ['text/x-xtext']
 flags = re.MULTILINE|re.DOTALL
dictionary tokens

Detailed Description

Xtext lexer based on statefull RegexLexer from pygments library.


Member Function Documentation

def AltWords (   words)

Makes lexer rule for alternative words from the given words list.

Parameters:
wordsstring consisting of space separated words
Returns:
string in the form \bword1\b|\bword2\b|\bword3...

Member Data Documentation

list aliases = ['xtext'] [static]
list filenames = ['*.xtxt'] [static]
flags = re.MULTILINE|re.DOTALL [static]
list mimetypes = ['text/x-xtext'] [static]
string name = 'Xtext' [static]
dictionary tokens [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Properties