parrotcode: PMC model object | |
Contents | Perl Modules |
Parrot::Pmc2c::PMC - PMC model object
use Parrot::Pmc2c::PMC;
Parrot::Pmc2c::PMC
is used by tools/build/pmc2c.pl to generate C code from PMC files.
is_dynpmc
implements_vtable($method)
$method
.vtable_method_does_write($method)
$method
writes our value.inherit_attrs()
$class = inherit_attrs($class, $meth);
Purpose: Modify $attrs to inherit attrs from $super_attrs as appropriate.
Arguments: List of two arguments:
Return Values: Reference to hash holding the data structure being built up within dump_pmc()
.
Comments: Called within gen_super_meths()
.
dump_is_current()
dump_is_current($existing);
Purpose: Determines whether the dump of a file is newer than the PMC file. (If it's not, then the PMC file has changed and the dump has not been updated.)
Arguments: String holding filename.
Return Values: Returns true if timestamp of existing is more recent than that of PMC.
Comments: Called within dump_pmc()
.
|