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
.opcode_t *invoke(void *next)
INTVAL type()
void visit(visit_info *info)
*info
is the visit info,
(see include/parrot/pmc_freeze.h).void freeze(visit_info *info)
void thaw(visit_info *info)
void thawfinish(visit_info *info)
PMC *share_ro()
|