#include <rtree.h>
Inheritance diagram for Rule:
Public Member Functions | |
virtual bool | execute (RuleContext *context, List *phpIn, List *phpOut, List *tplOut, Node::Assignment &assign) const=0 |
Executer the rule on php. | |
virtual Rule * | copy ()=0 |
Copies the rule. | |
virtual Rule * | substitute (const Node::Assignment &assign)=0 |
Substitutes variables used in the rule. | |
virtual ostream & | print (ostream &os) const=0 |
Writes the rule to the stream. | |
Friends | |
ostream & | operator<< (ostream &os, const Rule *rule) |
Writes the rule to the stream. |
Definition at line 11 of file rtree.h.
|
Copies the rule.
Implemented in ActionRule, RuleWithActionRule, IncludeRule, MultiContextRule, NamedContextRule, SingleContextRule, SubstitutionRule, and TriggeredRule. Referenced by RuleWithActionRule::copy(). |
|
Executer the rule on php.
Implemented in ActionRule, RuleWithActionRule, ContextRule, IncludeRule, NamedContextRule, SubstitutionRule, and TriggeredRule. Referenced by RuleWithActionRule::execute(). |
|
Writes the rule to the stream.
Implemented in ActionRule, RuleWithActionRule, IncludeRule, MultiContextRule, NamedContextRule, SingleContextRule, SubstitutionRule, and TriggeredRule. |
|
Substitutes variables used in the rule.
Implemented in ActionRule, RuleWithActionRule, ContextRule, IncludeRule, NamedContextRule, SubstitutionRule, and TriggeredRule. Referenced by RuleWithActionRule::substitute(). |
|
Writes the rule to the stream.
|