Mpp::ActionParser::Legacy - Makepp scanner class for legacy interface
use Mpp::ActionParser::Legacy; my $scanner=Mpp::ActionParser::Legacy->new(\&scanner_c_compilation);
Mpp::ActionParser::Legacy is an adapter class of type Mpp::Lexer that can talk to the legacy scanner interface. Its use is deprecated.
Mpp::ActionParser::Legacy
Mpp::Lexer
my $rp = Mpp::ActionParser::Legacy->new($coderef);
Returns a new Mpp::Lexer object that always uses $coderef as its command parser.
my $cp = $rp->find_command_parser($command, $rule, $dir, \$found);
Call the predefined coderef with $command, $rule and $dir, and return 0.
To install Mpp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mpp
CPAN shell
perl -MCPAN -e shell install Mpp
For more information on module installation, please visit the detailed CPAN module installation guide.