Home | Trees | Indices | Help |
|
---|
|
object --+ | MacroPackage
is a function dispatcher for MacroExpander.
Basically, you inherit from this class and define macro_xxx functions. MacroExpander can then call \xxx, possibly with arguments.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
returns a SQL expression returning a DaCHS standard pubDID generated from the accref (or something overridden) column. This is convenient in obscore or ssa views when the underlying table just has accrefs. If your code actually uses the pubDID to search in the table (and it probably shouldn't), better use an actual column and index it. |
returns the string with the python RE pattern replaced with replacement. This is directly handed through to python re.sub, so you can (but probably shouldn't) play all the RE tricks you can in python (e.g., back references). If you find yourself having to use reSub, you should regard that as an alarm sign that you're probably doing it wrong. Oh: closing curly braces can be included in the argument by backslash-escaping them. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |