The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mpp::ActionParser::Specific - Makepp scanner class for a specified command scanner

SYNOPSIS

        use Mpp::ActionParser::Specific;
        my $scanner=Mpp::ActionParser::Specific->new("Mpp::CommandParser::Vcs");

DESCRIPTION

Mpp::ActionParser::Specific is a class of type Mpp::Lexer that always chooses the specified command parser.

METHODS

new

        my $rp = Mpp::ActionParser::Specific->new($command_parser_class_name);

Returns a new Mpp::Lexer object that always uses a default-constructed object of class $command_parser_class_name as its command parser.

find_command_parser

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

Construct the predefined Mpp::CommandParser class object with $rule and $dir.