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

 flags = re.MULTILINE|re.DOTALL
string name = 'MXML'
list aliases = ['mxml']
list filenames = ['*.mxml']
list mimetimes = ['text/xml', 'application/xml']
dictionary tokens

Detailed Description

For MXML markup.
Nested AS3 in <script> tags is highlighted by the appropriate lexer.

Definition at line 684 of file

Member Data Documentation

Definition at line 691 of file

Definition at line 692 of file = re.MULTILINE|re.DOTALL [static]

Definition at line 689 of file

list = ['text/xml', 'application/xml'] [static]

Definition at line 693 of file

Definition at line 690 of file

Initial value:
            'root': [
                ('[^<&]+', Text),
                (r'&\S*?;', Name.Entity),
                 bygroups(String, using(ActionScript3Lexer), String)),
                ('<!--', Comment, 'comment'),
                (r'<\?.*?\?>', Comment.Preproc),
                ('<![^>]*>', Comment.Preproc),
                (r'<\s*[a-zA-Z0-9:._-]+', Name.Tag, 'tag'),
                (r'<\s*/\s*[a-zA-Z0-9:._-]+\s*>', Name.Tag),
            'comment': [
                ('[^-]+', Comment),
                ('-->', Comment, '#pop'),
                ('-', Comment),
            'tag': [
                (r'\s+', Text),
                (r'[a-zA-Z0-9_.:-]+\s*=', Name.Attribute, 'attr'),
                (r'/?\s*>', Name.Tag, '#pop'),
            'attr': [
                ('\s+', Text),
                ('".*?"', String, '#pop'),
                ("'.*?'", String, '#pop'),
                (r'[^\s>]+', String, '#pop'),

Definition at line 695 of file

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