Parrot::Pmc2c - PMC to C Code Generation
use Parrot::Pmc2c;
Parrot::Pmc2c is used by tools/build/pmc2c.pl to generate C code from PMC files.
Parrot::Pmc2c
body($method, $line, $out_name)
Returns the C code for the method body. $line is used to accumulate the number of lines, $out_name is the name of the output file we are generating.
$line
$out_name
decl($classname, $method, $for_header)
Returns the C code for the PMC method declaration. $for_header indicates whether the code is for a header or implementation file.
$for_header
proto($type,$parameters)
Determines the prototype (argument signature) for a method body (see src/call_list).
rewrite_nci_method($self, $pmc )
Rewrites the method body performing the various macro substitutions for nci method bodies (see tools/build/pmc2c.pl).
rewrite_vtable_method($self, $pmc, $super, $super_table)
Rewrites the method body performing the various macro substitutions for vtable method bodies (see tools/build/pmc2c.pl).
full_arguments($args)
Prepends INTERP, SELF to $args.
INTERP, SELF
$args
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
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.