Back to index

moin  1.9.0~rc2
Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Static Public Attributes

string name = 'Genshi Text'
list aliases = ['genshitext']
list mimetypes = ['application/x-genshi-text', 'text/x-genshi']
dictionary tokens

Detailed Description

A lexer that highlights `genshi <>`_ text

Definition at line 640 of file

Member Data Documentation

Definition at line 647 of file

list = ['application/x-genshi-text', 'text/x-genshi'] [static]

Definition at line 648 of file

Definition at line 646 of file

Initial value:
        'root': [
            (r'[^#\$\s]+', Other),
            (r'^(\s*)(##.*)$', bygroups(Text, Comment)),
            (r'^(\s*)(#)', bygroups(Text, Comment.Preproc), 'directive'),
            (r'[#\$\s]', Other),
        'directive': [
            (r'\n', Text, '#pop'),
            (r'(?:def|for|if)\s+.*', using(PythonLexer), '#pop'),
             bygroups(Keyword, Text, using(PythonLexer)), '#pop'),
            (r'(choose|otherwise)\b', Keyword, '#pop'),
            (r'(end\w*)([^\S\n]*)(.*)', bygroups(Keyword, Text, Comment), '#pop'),
        'variable': [
             bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc)),

Definition at line 650 of file

The documentation for this class was generated from the following file: