Functions used in transformation of PMCs to C code.
signature() to normalize argument types.
Returns the method signature for the methods $parameters
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 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.
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).
lib/Parrot/Pmc2c/PMC/RO.pm lib/Parrot/Pmc2c/VTable.pm lib/Parrot/Pmc2c/PMC.pm lib/Parrot/Pmc2c/Parser.pm