#include <rtreesinglecontextrule.h>
Inheritance diagram for SingleContextRule:

Public Member Functions | |
| SingleContextRule (List *iphpInPattern, List *itplOutPattern, List *iphpOutPattern) | |
| Constructor. | |
| virtual Rule * | copy () |
| Copies the rule. | |
| virtual RuleContext * | generateSubcontext (RuleContext *context, const Node::Assignment &assign) const |
| Generates a new subcontext. | |
| virtual ostream & | print (ostream &os) const |
| Writes the rule to the stream. | |
Definition at line 7 of file rtreesinglecontextrule.h.
|
||||||||||||||||
|
Constructor.
Definition at line 4 of file rtreesinglecontextrule.cpp. Referenced by copy(). |
|
|
Copies the rule.
Implements Rule. Definition at line 7 of file rtreesinglecontextrule.cpp. References List::copyList(), ContextRule::phpInPattern, ContextRule::phpOutPattern, SingleContextRule(), and ContextRule::tplOutPattern. |
|
||||||||||||
|
Generates a new subcontext.
Implements ContextRule. Definition at line 14 of file rtreesinglecontextrule.cpp. |
|
|
Writes the rule to the stream.
Implements Rule. Definition at line 18 of file rtreesinglecontextrule.cpp. References ContextRule::phpInPattern, and List::print(). |
1.3.3