--- parser3/src/include/Attic/pa_value.h 2001/02/25 17:58:28 1.35 +++ parser3/src/include/Attic/pa_value.h 2001/03/06 15:30:48 1.39 @@ -1,5 +1,5 @@ /* - $Id: pa_value.h,v 1.35 2001/02/25 17:58:28 paf Exp $ + $Id: pa_value.h,v 1.39 2001/03/06 15:30:48 paf Exp $ */ /* @@ -88,11 +88,21 @@ public: // Value // string: value // unknown: "" + // double: value // others: 0 virtual String *get_string() { return 0; } // string: value - virtual void put_string(String *astring) { failed("storing string to '%s'"); } + // double: value + // bool: value + virtual double get_double() { failed("getting numerical value of '%s'"); return 0; } + + // unknown: false + // bool: value + // double: 0 or !0 + // string: empty or not + // others: true // junction true == method defined. others + virtual bool get_bool() { return true; } // junction: auto_calc,root,self,rcontext,wcontext, code virtual Junction *get_junction() { return 0; } @@ -119,7 +129,7 @@ public: // Value // valiased: this // wcontext: transparent // methodframe: self_transparent - virtual Value *get_aliased() { return 0; } + virtual VAliased *get_aliased() { return 0; } public: // usage