parrotcode: Parses and preps PMC PCCMETHOD called from F<Parrot:Pmc2c::Pmc2cMain> | |
Contents | Perl Modules |
Parrot::Pmc2c::PCCMETHOD - Parses and preps PMC PCCMETHOD called from Parrot:Pmc2c::Pmc2cMain
use Parrot::Pmc2c::PCCMETHOD;
Parrot::Pmc2c::PCCMETHOD - Parses and preps PMC PCCMETHOD called from Parrot:Pmc2c::Pmc2cMain
rewrite_pccmethod($method, $pmc)
Purpose: Parse and Build PMC PCCMETHODS.
Arguments:
self
method
Current Method Object
body
Current Method Body
rewrite_pccinvoke($method, $pmc)
Purpose: Parse and Build a PCCINVOKE Call.
Arguments:
self
method
Current Method Object
body
Current Method Body
parse_adverb_attributes
builds and returs an adverb hash from an adverb string such as
":optional :optflag :slurpy"
{
optional =>1,
optflag =>1,
slurpy =>1,
}
rewrite_PCCRETURNs($method, $pmc)
Rewrites the method body performing the various macro substitutions for PCCRETURNs.
rewrite_pccmethod()
rewrite_pccmethod($method, $pmc);
|