--- parser3/src/include/Attic/pa_context.h 2001/02/12 11:44:41 1.3 +++ parser3/src/include/Attic/pa_context.h 2001/02/14 12:20:47 1.5 @@ -1,5 +1,5 @@ /* - $Id: pa_context.h,v 1.3 2001/02/12 11:44:41 paf Exp $ + $Id: pa_context.h,v 1.5 2001/02/14 12:20:47 paf Exp $ */ /* @@ -41,6 +41,9 @@ public: //implement by replicating to va virtual Method *get_method(const String& name) const { return check(value)->get_method(name); } + virtual Class *get_class() const { return value?value->get_class():0; } + virtual bool has_parent(Class *aparent) { return value?value->has_parent(aparent):false; } + private: String& string; Value *value;