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


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 |
Xtext lexer based on statefull RegexLexer from pygments library.
| def AltWords | ( | words | ) |
Makes lexer rule for alternative words from the given words list.
| words | string consisting of space separated words |
list aliases = ['xtext'] [static] |
list filenames = ['*.xtxt'] [static] |
flags = re.MULTILINE|re.DOTALL [static] |
string name = 'Xtext' [static] |
dictionary tokens [static] |
1.7.6.1