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.
Parrot::Pmc2c::PMC
is_dynpmc
Determines if a given PMC type is dynamically loaded or not.
implements_vtable($method)
True if pmc generates code for vtable method $method.
$method
vtable_method_does_write($method)
Returns true if the vtable 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:
Method name.
Return Values: Reference to hash holding the data structure being built up within dump_pmc().
dump_pmc()
Comments: Called within gen_super_meths().
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().
To install Parrot::Op, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parrot::Op
CPAN shell
perl -MCPAN -e shell install Parrot::Op
For more information on module installation, please visit the detailed CPAN module installation guide.