Back to index

moin  1.9.0~rc2
Static Public Attributes | Private Member Functions
MoinMoin.support.pygments.lexers.agile.TclLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.agile.TclLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.agile.TclLexer:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple keyword_cmds_re
tuple builtin_cmds_re
string name = 'Tcl'
list aliases = ['tcl']
list filenames = ['*.tcl']
list mimetypes = ['text/x-tcl', 'text/x-script.tcl', 'application/x-tcl']

Private Member Functions

def _gen_command_rules

Detailed Description

For Tcl source code.

*New in Pygments 0.10.*

Definition at line 1220 of file agile.py.


Member Function Documentation

def MoinMoin.support.pygments.lexers.agile.TclLexer._gen_command_rules (   keyword_cmds_re,
  builtin_cmds_re,
  context = "" 
) [private]

Definition at line 1251 of file agile.py.

01251 
01252     def _gen_command_rules(keyword_cmds_re, builtin_cmds_re, context=""):
01253         return [
01254             (keyword_cmds_re, Keyword, 'params' + context),
01255             (builtin_cmds_re, Name.Builtin, 'params' + context),
01256             (r'([\w\.\-]+)', Name.Variable, 'params' + context),
01257             (r'#', Comment, 'comment'),
01258         ]


Member Data Documentation

Definition at line 1247 of file agile.py.

Initial value:
(
        r'\b(append|bgerror|binary|cd|chan|clock|close|concat|dde|dict|'
        r'encoding|eof|exec|exit|fblocked|fconfigure|fcopy|file|'
        r'fileevent|flush|format|gets|glob|history|http|incr|info|interp|'
        r'join|lappend|lassign|lindex|linsert|list|llength|load|loadTk|'
        r'lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|mathfunc|'
        r'mathop|memory|msgcat|open|package|pid|pkg::create|pkg_mkIndex|'
        r'platform|platform::shell|puts|pwd|re_syntax|read|refchan|'
        r'regexp|registry|regsub|scan|seek|socket|source|split|string|'
        r'subst|tell|time|tm|unknown|unload)\b'
        )

Definition at line 1234 of file agile.py.

Definition at line 1248 of file agile.py.

Initial value:
(
        r'\b(after|apply|array|break|catch|continue|elseif|else|error|'
        r'eval|expr|for|foreach|global|if|namespace|proc|rename|return|'
        r'set|switch|then|trace|unset|update|uplevel|upvar|variable|'
        r'vwait|while)\b'
        )

Definition at line 1227 of file agile.py.

list MoinMoin.support.pygments.lexers.agile.TclLexer.mimetypes = ['text/x-tcl', 'text/x-script.tcl', 'application/x-tcl'] [static]

Definition at line 1249 of file agile.py.

Definition at line 1246 of file agile.py.


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