src/pmc/stmref.pmc - STM-capable Reference to a PMC


The vtable functions for the STMRef base class.

All methods not present below get a default body autogenerated inside Parrot::Pmc2c.

Methods ^

void init()

Sets the referenced PMC to PMCNULL.

void init_pmc(PMC *initializer)

Sets the referenced PMC to initializer.

void mark()

Marks the referenced PMC as live.

PMC *clone()

Return ourself.

This method must be implemented because they are not delegated.

STRING *name()

Returns the name of the PMC, not the name of the referenced PMC.