C::Scan 0.74 review
DownloadC::Scan is a Perl module that can scan C language files for easily recognized constructs. SYNOPSIS $c = new C::Scan 'filename
|
|
C::Scan is a Perl module that can scan C language files for easily recognized constructs.
SYNOPSIS
$c = new C::Scan 'filename' => $filename, 'filename_filter' => $filter,
'add_cppflags' => $addflags;
$c->set('includeDirs' => [$Config::Config{shrpdir}]);
my $fdec = $c->get('parsed_fdecls');
This description is VERY incomplete.
This module uses Data::Flow interface, thus one uses it in the following fashion:
$c = new C::Scan(attr1 => $value1, attr2 => $value2);
$c->set( attr3 => $value3 );
$value4 = $c->get('attr4');
Attributes are depending on some other attributes. The only required attribute, i.e., the attribute which should be set, is filename, which denotes which file to parse.
All other attributes are either optional, or would be calculated basing on values of required and optional attributes.
Requirements:
Perl
C::Scan 0.74 search tags