cvsuser     04/02/16 11:33:23

  Modified:    docs/pdds pdd15_objects.pod
  Log:
  Bit more done
  
  Revision  Changes    Path
  1.17      +29 -7     parrot/docs/pdds/pdd15_objects.pod
  
  Index: pdd15_objects.pod
  ===================================================================
  RCS file: /cvs/public/parrot/docs/pdds/pdd15_objects.pod,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -w -r1.16 -r1.17
  --- pdd15_objects.pod 16 Feb 2004 18:44:36 -0000      1.16
  +++ pdd15_objects.pod 16 Feb 2004 19:33:23 -0000      1.17
  @@ -73,7 +73,7 @@
   
   =item *
   
  -An array of attributes
  +An array of attributes. Note that attribute values are I<always> PMCs.
   
   =item *
   
  @@ -403,19 +403,41 @@
   
   =over 4
   
  -=item find_method
  +=item find_method(string *)
   
  -=item isa
  +Returns the PMC for the named method. If no method of this name
  +exists, nor can be constructed, returns a Null PMC.
   
  -=item can
  +Note that for languages which support default fallback methods, such
  +as Perl 5's AUTOLOAD, this would be the place to return it if a normal
  +lookup fails.
   
  -=item does
  +=item isa(class *)
   
  -=item getattr
  +Returns true or false if the class passed in as a parameter is in the
  +inheritance hierarchy of the object.
   
  -=item setattr
  +=item can(string *)
  +
  +Returns true or false if the object can perform the requested
  +method. (Including with an AUTOLOAD)
  +
  +=item does(class *)
  +
  +Returns true or false to note whether the object in question
  +implements the interface passed in.
  +
  +=item getattr(int)
  +
  +Returns the attribute at the passed-in offset for the object.
  +
  +=item setattr(int, PMC *)
  +
  +Sets the attribute for the passed-in offset to the passed-in PMC value
   
   =item getclass
  +
  +Returns the class PMC for the object.
   
   =back
   
  
  
  

Reply via email to