Daniel Pfeiffer > makepp-1.50.081214 > ActionParser::Legacy

Download:
makepp-1.50.081214.tgz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

ActionParser::Legacy - Makepp scanner class for legacy interface

SYNOPSIS ^

        use ActionParser::Legacy;
        my $scanner=ActionParser::Legacy->new(\&scanner_c_compilation);

DESCRIPTION ^

ActionParser::Legacy is an adapter class of type ActionParser that can talk to the legacy scanner interface. Its use is deprecated.

METHODS ^

new

        my $rp = ActionParser::Legacy->new($coderef);

Returns a new ActionParser object that always uses $coderef as its command parser.

find_command_parser

        my $cp = $rp->find_command_parser($command, $rule, $dir, \$found);

Call the predefined coderef with $command, $rule and $dir, and return 0.