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

NAME

Parrot::Pmc2c::Utils::PMETHODs - Parses and preps PMC PMETHODS called from Parrot:Pmc2c::Utils

SYNOPSIS

use Parrot::Pmc2c::PMETHODs;

DESCRIPTION

Parrot::Pmc2c::PMETHODs - Parses and preps PMC PMETHODS called from Parrot:Pmc2c::Utils

FUNCTIONS

Publicly Available Methods

rewrite_pmethod($self, $method, $body)

Purpose: Parse and Build PMC PMETHODS.

Arguments: Reference to a hash holding 3 required keys:

  • self

  • method

    Current Method Object

  • body

    Current Method Body

rewrite_pmethod($class, $method, $body)

Rewrites the method body performing the various macro substitutions for pmethod bodies (see tools/build/pmc2c.pl).

rewrite_pmethod()

rewrite_pmethod($method_hash);