--- parser3/src/include/Attic/pa_context.h 2001/02/12 11:34:11 1.2 +++ parser3/src/include/Attic/pa_context.h 2001/02/13 15:10:45 1.4 @@ -1,5 +1,5 @@ /* - $Id: pa_context.h,v 1.2 2001/02/12 11:34:11 paf Exp $ + $Id: pa_context.h,v 1.4 2001/02/13 15:10:45 paf Exp $ */ /* @@ -34,11 +34,14 @@ public: //implement by replicating to va virtual String *get_string() const { return &string }; virtual void put_string(const String *astring) { check(value)->put_string(astring); }; + virtual Method_ref *get_method_ref() const { return check(value)->get_method_ref(); } + virtual Value *get_element(const String& name) const { return check(value)->get_element(name); } virtual void put_element(const String& name, const Value *avalue){ check(value)->put_element(name, avalue); } virtual Method *get_method(const String& name) const { return check(value)->get_method(name); } - virtual Method_ref *get_method_ref() const { return check(value)->get_method_ref(); } + + virtual Class *get_class() const { return check(value)->get_class(); } private: String& string;