|
Perl 6
SMOP p6opaque Implementation: Revision 19
The p6opaque Responder Interface is the default responder for all Perl 6 objects, according to the [SMOP OO API].
^ p6opaque Structure * instanceof * WHENCE * metadata ** how # the object that handles meta calls. ** package ** isa *** count *** array ** does *** count *** array ** class storage *** optimal_count # attributes that have a constant identifier as name *** optimal_array **** constant identifier **** value *** count *** array **** name **** value ** attributes *** optimal_count # attributes that have a constant identifier as name *** optimal_array **** constant identifier **** attribute *** count *** array **** name **** attribute ** methods *** optimal_count # methods that have a constant identifier as name *** optimal_array **** constant identifier **** count **** array *** count *** array **** name **** count **** array * instance storage ** count ** array of packages *** optimal_count # constant identifier names *** optimal_array **** constant identifier **** value *** count *** array **** name **** value ^ Implementation Several low-level implementations will be needed in order to deploy p6opaque features, all this implementations will represent a "community" of responder interfaces that know the p6opaque structure. The additional responder interfaces are not public, and can only be accessed from the p6opaque implementation. Below follows the list of low-level responder interfaces in the p6opaque "community". * SMOP__p6opaque__RI * SMOP__p6opaque__Scalar__whence * SMOP__p6opaque__Array__isa * SMOP__p6opaque__Array__does * SMOP__p6opaque__Hash__private_storage * SMOP__p6opaque__Hash__class_storage * SMOP__p6opaque__Array__methods * SMOP__p6opaque__Array__attributes * SMOP__p6opaque__Scalar__package * SMOP__p6opaque__Hash__properties * SMOP__p6opaque__List__can |