gensrc.rules.rule.RuleGroup Class Reference
Inheritance diagram for gensrc.rules.rule.RuleGroup:
Collaboration diagram for gensrc.rules.rule.RuleGroup:
Public Member Functions | |
def | apply (self, param) |
public interface More... | |
def | applyRule (self) |
def | invokeRule (self) |
def | checkSkipFirst (self) |
def | delimiter (self) |
def | wrapText (self) |
def | printDebug (self) |
def | serialize (self, serializer) |
serializer interface More... | |
def | postSerialize (self) |
Public Attributes | |
paramDesc_ | |
param_ | |
ruleResult_ | |
wrapText_ | |
Static Public Attributes | |
string | groupName_ = 'RuleGroups' |
class variables | |
Detailed Description
This class encapsulates an algorithm required to generate the source code for a given function parameter in a given context.
Member Function Documentation
◆ apply()
def gensrc.rules.rule.RuleGroup.apply | ( | self, | |
param | |||
) |
public interface
Apply all available Rules to given parameter.
◆ applyRule()
def gensrc.rules.rule.RuleGroup.applyRule | ( | self | ) |
Apply the Rule, if any, which matches the given parameter
◆ postSerialize()
def gensrc.rules.rule.RuleGroup.postSerialize | ( | self | ) |
Perform post serialization initialization.
◆ printDebug()
def gensrc.rules.rule.RuleGroup.printDebug | ( | self | ) |
Write debug information to stdout.
◆ serialize()
def gensrc.rules.rule.RuleGroup.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