Class MethodPtr


			
class MethodPtr : public ObjectPtr
Programmer: Matt Splett

Description:

To facilitate accessing specific slots of a SmallTalk Compiled Method Objects and to aid in the creation of them.

Public Methods:

static ObjectPtr create ( ByteStore & bs, SInteger primitive = 0, SInteger argCnt = 0, SInteger tempCnt = 0, ObjectPtr lits = gNil, ObjectPtr desc = gNil);


static MethodPtr convert (ObjectPtr);


MethodPtr ( const ObjectPtr &);
Conversion constructor from base class

IntegerPtr & primitive ();
slot 0 : integer

IntegerPtr & argumentCount ();
slot 1 : integer

IntegerPtr & tempCount ();
slot 2 : integer

ArrayPtr & literals ();
slot 3 : collection

DescPtr & description ();
slot 4 : undefined currently - must have slot for selector.

Byte * opCodes ();
pointer to bytes. TESTING

Protected Methods:

static ClassPtr & klassPtr ();


Protected Members: