Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Properties | Static Private Attributes
MoinMoin.support.werkzeug.debug.tbtools.Line Class Reference

List of all members.

Public Member Functions

def __init__
def classes

Public Attributes

 lineno
 code
 in_frame
 current

Properties

 classes = property(classes)

Static Private Attributes

tuple __slots__ = ('lineno', 'code', 'in_frame', 'current')

Detailed Description

Helper for the source renderer.

Definition at line 54 of file tbtools.py.


Constructor & Destructor Documentation

def MoinMoin.support.werkzeug.debug.tbtools.Line.__init__ (   self,
  lineno,
  code 
)

Definition at line 58 of file tbtools.py.

00058 
00059     def __init__(self, lineno, code):
00060         self.lineno = lineno
00061         self.code = code
00062         self.in_frame = False
00063         self.current = False


Member Function Documentation

Definition at line 64 of file tbtools.py.

00064 
00065     def classes(self):
00066         rv = ['line']
00067         if self.in_frame:
00068             rv.append('in-frame')
00069         if self.current:
00070             rv.append('current')
        return rv

Member Data Documentation

Definition at line 56 of file tbtools.py.

Definition at line 60 of file tbtools.py.

Definition at line 62 of file tbtools.py.

Definition at line 61 of file tbtools.py.

Definition at line 59 of file tbtools.py.


Property Documentation

Definition at line 71 of file tbtools.py.


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