Definition at line 516 of file GaudiTest.py.
def GaudiTest.RegexpReplacer.__init__ |
( |
|
self, |
|
|
|
orig, |
|
|
|
repl = "" , |
|
|
|
when = None |
|
) |
| |
Definition at line 517 of file GaudiTest.py.
519 when = re.compile(when)
def __init__(self, orig, repl="", when=None)
def GaudiTest.RegexpReplacer.__add__ |
( |
|
self, |
|
|
|
rhs |
|
) |
| |
Definition at line 522 of file GaudiTest.py.
523 if isinstance(rhs, RegexpReplacer):
525 res._operations = self.
_operations + rhs._operations
527 res = FilePreprocessor.__add__(self, rhs)
def GaudiTest.RegexpReplacer.__processLine__ |
( |
|
self, |
|
|
|
line |
|
) |
| |
Definition at line 530 of file GaudiTest.py.
532 if w
is None or w.search(line):
533 line = o.sub(r, line)
def __processLine__(self, line)
GaudiTest.RegexpReplacer._operations |
|
private |
The documentation for this class was generated from the following file: