The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

$SIG{__WARN__} = sub { print longmess; };

NAME

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

SYNOPSIS

    use Parrot::Pmc2c::PCCMETHOD;

DESCRIPTION

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

FUNCTIONS

Publicly Available Methods

rewrite_pccmethod($self, $method, $body)

Purpose: Parse and Build PMC PCCMETHODS.

Arguments:

  • self

  • method

    Current Method Object

  • body

    Current Method Body

rewrite_pccinvoke($self, $method, $body)

Purpose: Parse and Build a PCCINVOKE Call.

Arguments:

  • self

  • method

    Current Method Object

  • body

    Current Method Body

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, $body)

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

rewrite_pccmethod()

    rewrite_pccmethod($method_hash);