--- parser3/src/include/Attic/pa_value.h 2001/02/12 11:44:41 1.3 +++ parser3/src/include/Attic/pa_value.h 2001/02/13 15:10:45 1.5 @@ -1,5 +1,5 @@ /* - $Id: pa_value.h,v 1.3 2001/02/12 11:44:41 paf Exp $ + $Id: pa_value.h,v 1.5 2001/02/13 15:10:45 paf Exp $ */ /* @@ -14,6 +14,7 @@ class Method { public: Array param_names; + Array local_names; String code; }; @@ -40,6 +41,9 @@ public: // object_instance, object_class: method virtual Method *get_method(const String& name) const =0; + + // object_class, object_instance: object_class + virtual Class *get_class() const =0; }; /* @@ -50,7 +54,7 @@ descendants: object_class:+ STATIC:Hash, methods:Hash object_instance:+ object_class, fields:Hash method_ref:+ self:Value/object_class, method:String - method_self_n_params:+ self:Value/object_class[1st try], params&values:Hash[2nd try] + method_self_n_params_n_locals:+ self:Value/object_class[1st try], params_locals&values:Hash[2nd try] */