--- parser3/src/include/Attic/pa_value.h 2001/02/25 13:23:01 1.31 +++ parser3/src/include/Attic/pa_value.h 2001/02/25 17:58:28 1.35 @@ -1,5 +1,5 @@ /* - $Id: pa_value.h,v 1.31 2001/02/25 13:23:01 paf Exp $ + $Id: pa_value.h,v 1.35 2001/02/25 17:58:28 paf Exp $ */ /* @@ -21,6 +21,7 @@ class VClass; //class VOperator; class Junction; class WContext; +class VAliased; class Method : public Pooled { public: @@ -56,14 +57,14 @@ public: Junction(Pool& apool, Value& aself, - Method *amethod, + VClass *avclass, Method *amethod, Value *aroot, Value *arcontext, WContext *awcontext, const Array *acode) : Pooled(apool), self(aself), - method(amethod), + vclass(avclass), method(amethod), root(aroot), rcontext(arcontext), wcontext(awcontext), @@ -71,7 +72,7 @@ public: } Value& self; - Method *method; + VClass *vclass; Method *method; Value *root; Value *rcontext; WContext *wcontext; @@ -112,10 +113,14 @@ public: // Value virtual void put_element(const String& name, Value *value) { failed("type is '%s', can not put element to it"); } // object_class, object_instance: object_class - // codeframe: wcontext_transparent - // methodframe: transparent + // wcontext: none yet | transparent virtual VClass *get_class() { return 0; } + // valiased: this + // wcontext: transparent + // methodframe: self_transparent + virtual Value *get_aliased() { return 0; } + public: // usage Value(Pool& apool) : Pooled(apool), fname(new(apool) String(apool)) {