Back to index

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

List of all members.

Public Member Functions

def get_tokens_unprocessed

Static Public Attributes

string name = 'NumPy'
list aliases = ['numpy']
list mimetypes = []
list filenames = []
tuple EXTRA_KEYWORDS

Detailed Description

A Python lexer recognizing Numerical Python builtins.

*New in Pygments 0.10.*

Definition at line 253 of file math.py.


Member Function Documentation

Definition at line 334 of file math.py.

00334 
00335     def get_tokens_unprocessed(self, text):
00336         for index, token, value in \
00337                 PythonLexer.get_tokens_unprocessed(self, text):
00338             if token is Name and value in self.EXTRA_KEYWORDS:
00339                 yield index, Keyword.Pseudo, value
00340             else:
00341                 yield index, token, value
00342 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 261 of file math.py.

Definition at line 267 of file math.py.

Definition at line 265 of file math.py.

Definition at line 264 of file math.py.

Definition at line 260 of file math.py.


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