Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.support.pygments.lexer.LexerContext Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 text
 pos
 end
 stack

Detailed Description

A helper object that holds lexer position data.

Definition at line 521 of file lexer.py.


Constructor & Destructor Documentation

def MoinMoin.support.pygments.lexer.LexerContext.__init__ (   self,
  text,
  pos,
  stack = None,
  end = None 
)

Definition at line 526 of file lexer.py.

00526 
00527     def __init__(self, text, pos, stack=None, end=None):
00528         self.text = text
00529         self.pos = pos
00530         self.end = end or len(text) # end=0 not supported ;-)
00531         self.stack = stack or ['root']


Member Function Documentation

Definition at line 532 of file lexer.py.

00532 
00533     def __repr__(self):
00534         return 'LexerContext(%r, %r, %r)' % (
00535             self.text, self.pos, self.stack)
00536 


Member Data Documentation

Definition at line 529 of file lexer.py.

Definition at line 528 of file lexer.py.

Definition at line 530 of file lexer.py.

Definition at line 527 of file lexer.py.


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