#include <rtreeactionrule.h>
Inheritance diagram for RuleWithActionRule:
Public Member Functions | |
RuleWithActionRule (Rule *irule, ActionList *iactions) | |
Constructor. | |
virtual | ~RuleWithActionRule () |
virtual bool | execute (RuleContext *context, List *phpIn, List *phpOut, List *tplOut, Node::Assignment &assign) const |
Executer the rule on php. | |
virtual Rule * | copy () |
Copies the rule. | |
virtual Rule * | substitute (const Node::Assignment &assign) |
Substitutes variables used in the rule. | |
virtual ostream & | print (ostream &os) const |
Writes the rule to the stream. | |
Private Attributes | |
Rule * | rule |
php in pattern | |
ActionList * | actions |
action list |
Definition at line 85 of file rtreeactionrule.h.
|
Constructor.
Definition at line 134 of file rtreeactionrule.cpp. Referenced by copy(). |
|
Definition at line 137 of file rtreeactionrule.cpp. |
|
Copies the rule.
Implements Rule. Definition at line 152 of file rtreeactionrule.cpp. References actions, ActionList::copy(), Rule::copy(), rule, and RuleWithActionRule(). |
|
Executer the rule on php.
Implements Rule. Definition at line 142 of file rtreeactionrule.cpp. References actions, ActionList::copy(), ActionList::execute(), Rule::execute(), RuleContext::getNameSpace(), rule, and ActionList::substitute(). |
|
Writes the rule to the stream.
Implements Rule. Definition at line 162 of file rtreeactionrule.cpp. References rule. |
|
Substitutes variables used in the rule.
Implements Rule. Definition at line 156 of file rtreeactionrule.cpp. References actions, rule, ActionList::substitute(), and Rule::substitute(). |
|
action list
Definition at line 89 of file rtreeactionrule.h. Referenced by copy(), execute(), substitute(), and ~RuleWithActionRule(). |
|
php in pattern
Definition at line 87 of file rtreeactionrule.h. Referenced by copy(), execute(), print(), substitute(), and ~RuleWithActionRule(). |