00001 #ifndef _RTREESINGLECONTEXTRULE_H_ 00002 #define _RTREESINGLECONTEXTRULE_H_ 00003 00004 #include "rtreecontextrule.h" 00005 00007 class SingleContextRule : public ContextRule{ 00008 00009 public: 00011 SingleContextRule(List* iphpInPattern, List* itplOutPattern, List* iphpOutPattern) ; 00012 00013 virtual Rule* copy(); 00014 00015 virtual RuleContext* generateSubcontext(RuleContext *context, const Node::Assignment &assign) const; 00016 00017 virtual ostream& print (ostream& os) const; 00018 }; 00019 00020 00021 #endif