NAME ^

Parrot::Pmc2c::PCCMETHOD - Parses and preps PMC PCCMETHOD called from Parrot:Pmc2c::Pmc2cMain

SYNOPSIS ^

    use Parrot::Pmc2c::PCCMETHOD;

DESCRIPTION ^

Parrot::Pmc2c::PCCMETHOD - Parses and preps PMC PCCMETHOD called from Parrot:Pmc2c::Pmc2cMain

FUNCTIONS ^

Publicly Available Methods ^

rewrite_pccmethod($method, $pmc)

Purpose: Parse and Build PMC PCCMETHODS.

Arguments:

rewrite_pccinvoke($method, $pmc)

Purpose: Parse and Build a PCCINVOKE Call.

Arguments:

regtype to argtype conversion hash

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);


parrot