parrotcode: An instance of a class | |
Contents | PMCs |
src/pmc/object.pmc - An instance of a class
Implements an instance of a class.
void init()
void init_pmc(PMC *class)
void destroy()
STRING *name()
void mark()
PMC *get_attr_str(STRING *name)
PMC *get_attr_keyed(PMC *key, STRING *name)
void set_attr_str(STRING *name, PMC *value)
void set_attr_keyed(PMC *key, STRING *name, PMC *value)
PMC *find_method(STRING *name)
PMC *get_class()
INTVAL can(STRING *method_name)
INTVAL isa_pmc(PMC *classname)
*classname
.INTVAL isa(STRING *classname)
*classname
.INTVAL does(STRING *role_name)
*role_name
.INTVAL does_pmc(PMC *role)
*role
.opcode_t *invoke(void *next)
INTVAL type()
PMC *clone()
void visit(visit_info *info)
*info
is the visit info,
(see include/parrot/pmc_freeze.h).void thaw(visit_info *info)
void thawfinish(visit_info *info)
PMC *share_ro()
void morph(INTVAL type)
|