Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes


Detailed Description

A helper object that holds lexer position data.

Definition at line 521 of file

Constructor & Destructor Documentation

def (   self,
  stack = None,
  end = None 

Definition at line 526 of file

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

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

Member Data Documentation

Definition at line 529 of file

Definition at line 528 of file

Definition at line 530 of file

Definition at line 527 of file

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