Parrot::Pmc2c::Method
Functions used in transformation of PMCs to C code.
new()
Parrot::Pmc2c::Method constructor.
trans($type)
Used in signature() to normalize argument types.
signature()
Returns the method signature for the methods $parameters
pcc_signature()
Returns a PCC-style method signature for the method's parameters, as well as some additional information useful in building a call to that method.
generate_body($pmc)
Generate and emit the C code for the method body.
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
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 function bodies (see tools/build/pmc2c.pl).
full_arguments($args)
Prepends INTERP, SELF to $args.
INTERP, SELF
$args
lib/Parrot/Pmc2c/PMC/RO.pm lib/Parrot/Pmc2c/VTable.pm lib/Parrot/Pmc2c/PMC.pm lib/Parrot/Pmc2c/Parser.pm
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.