Home | Trees | Index | Help |
|
---|
Package yagdoc :: Module sectionizer :: Class Rule |
|
object
--+
|
Rule
Method Summary | |
---|---|
Create a new sectionizing Rule. | |
__str__(self)
| |
str
|
Expand references in section name. |
bool
|
Attempt symbol and file name match. |
_expand_one(self,
m)
| |
_rectify_pattern(klass,
pattern)
(Class method) | |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|
Instance Variable Summary | |
---|---|
re match object | file_match : The result of last file name matching, None if it did not
match |
compiled re object | filename : Regular expression matching file names. |
str |
section : Target section name (possibly with references to filename and symbol ). |
compiled re object | symbol : Regular expression matching symbol names. |
re match object | symbol_match : The result of last symbol name matching, None if it did
not match |
Class Variable Summary | |
---|---|
list |
__slots__ = ['filename', 'symbol', 'section', 'file_matc...
|
SRE_Pattern |
_expansion = <(file|symbol)(:\w*|)>
|
frozenset |
_metachars = frozenset(['$', ')', '(', '+', '*', ']', '....
|
Instance Method Details |
---|
__init__(self,
filename='',
symbol='',
section_template='')
|
expand(self)Expand references in section name. Can be called only after a successful match.
|
match(self, filename, symbol)Attempt symbol and file name match.
|
Instance Variable Details |
---|
file_matchThe result of last file name matching,None if it did not
match
|
filenameRegular expression matching file names.
|
sectionTarget section name (possibly with references tofilename and symbol ).
|
symbolRegular expression matching symbol names.
|
symbol_matchThe result of last symbol name matching,None if it did
not match
|
Class Variable Details |
---|
__slots__
|
_expansion
|
_metachars
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Oct 5 00:36:53 2007 | http://epydoc.sf.net |