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 = 'MOOCode'
list filenames = ['*.moo']
list aliases = ['moocode']
list mimetypes = ['text/x-moocode']
dictionary tokens

Detailed Description

For `MOOCode <>`_ (the MOO scripting

*New in Pygments 0.9.*

Definition at line 542 of file

Member Data Documentation

Definition at line 551 of file

Definition at line 550 of file

Definition at line 552 of file

Definition at line 549 of file

Initial value:
        'root' : [
            # Numbers
            (r'(0|[1-9][0-9_]*)', Number.Integer),
            # Strings
            (r'"(\\\\|\\"|[^"])*"', String),
            # exceptions
            (r'(E_PERM|E_DIV)', Name.Exception),
            # db-refs
            (r'((#[-0-9]+)|(\$[a-z_A-Z0-9]+))', Name.Entity),
            # Keywords
             r'|except|endtry|finally|in)\b', Keyword),
            # builtins
            (r'(random|length)', Name.Builtin),
            # special variables
            (r'(player|caller|this|args)', Name.Variable.Instance),
            # skip whitespace
            (r'\s+', Text),
            (r'\n', Text),
            # other operators
            (r'([!;=,{}&\|:\.\[\]@\(\)<>\?]+)', Operator),
            # function call
            (r'([a-z_A-Z0-9]+)(\()', bygroups(Name.Function, Operator)),
            # variables
            (r'([a-zA-Z_0-9]+)', Text),

Definition at line 554 of file

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