NAME
Parrot::Headerizer - Parrot Header Generation functionality
SYNOPSIS
use Parrot::Headerizer;
my $headerizer = Parrot::Headerizer->new();
DESCRIPTION
Parrot::Headerizer
knows how to strip all kinds of information out of C-language files.
Class Methods
new()
-
TODO
Contructor of headerizer objects
Don't blame me too much, I've never done OO in Perl before.
extract_function_declarations($text)
-
Extracts the function declarations from the text argument, and returns an array of strings containing the function declarations.
function_components_from_declaration($file, $proto)
-
$file => the filename $proto => the function declaration
Returns an anonymous hash of function components:
file => $file, name => $name, args => \@args, macros => \@macros, is_static => $is_static, is_inline => $parrot_inline, is_api => $parrot_api, return_type => $return_type,
squawk($file, $func, $error)
-
Headerizer-specific ways of complaining if something went wrong.
$file => filename $func => function name $error => error message text
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 21:
=over without closing =back