Matt S Trout > Rakudo-Star-2012.08_001 > Parrot::Pmc2c::PCCMETHOD

Download:
Rakudo-Star-2012.08_001.tar.gz

Dependencies

Annotate this POD

Source  

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 :opt_flag :slurpy"
  {
    optional  =>1,
    opt_flag  =>1,
    slurpy    =>1,
  }

rewrite_RETURNs($method, $pmc)

Rewrites the method body performing the various macro substitutions for RETURNs.

rewrite_pccmethod()

    rewrite_pccmethod($method, $pmc);

rewrite_multi_sub($method, $pmc)

Purpose: Parse and Build PMC multiple dispatch subs.

Arguments:

syntax highlighting: