Logo Search packages:      
Sourcecode: karrigell version File versions  Download package

Cheetah::FileUtils::_GenSubberFunc Class Reference

List of all members.

Detailed Description

Converts a 'sub' string in the form that one feeds to re.sub (backrefs,
groups, etc.) into a function that can be used to do the substitutions in
the FindAndReplace class.

Definition at line 128 of file FileUtils.py.

Public Member Functions

def __init__
def addChunk
def advance
def atEnd
def code
def codeBody
 code wrapping methods
def eatBackref
def eatGroup
def eatStrConst
def getBackref
def getGroup
def matchBackref
 match and get methods
def matchGroup
def parse
 main parse loop and the eat methods
def pos
def readTo
def setPos
def src
def subberFunc

Static Public Attributes

tuple backrefRE = re.compile(r'\\([1-9][0-9]*)')
tuple groupRE = re.compile(r'\\g<([a-zA-Z_][a-zA-Z_]*)>')

Private Attributes


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

Generated by  Doxygen 1.6.0   Back to index