gensrc.rules.rule.Wrap Class Reference
Inheritance diagram for gensrc.rules.rule.Wrap:
Collaboration diagram for gensrc.rules.rule.Wrap:
Public Member Functions | |
def | text (self) |
public interface | |
def | serialize (self, serializer) |
serializer interface More... | |
def | postSerialize (self) |
Public Attributes | |
text_ | |
Static Public Attributes | |
string | name_ = 'Wrap' |
class variables | |
Detailed Description
A class to process the 'wrap' text for a rule. If this class is specified in the XML, then ParameterList will invoke it after the Rule is processed e.g. T = W % R where R is the text derived from Rule, W is the value of Wrap, and T is the final text to be returned to the Addin. This can be used e.g. when the autogenerated code needs to be prefixed and/or suffixed with comments.
Member Function Documentation
◆ serialize()
def gensrc.rules.rule.Wrap.serialize | ( | self, | |
serializer | |||
) |
serializer interface
Load/unload class state to/from serializer object.
The documentation for this class was generated from the following file:
- rule.py