PPI::Token::_QuoteEngine - The PPI Quote Engine
The PPI::Token::_QuoteEngine package is designed hold functionality for processing quotes and quote like operators, including regexes. These have special requirements in parsing.
PPI::Token::_QuoteEngine
The PPI::Token::_QuoteEngine package itself provides various parsing methods, which the PPI::Token::Quote, PPI::Token::QuoteLike and PPI::Token::Regexp can inherit from. In this sense, it serves as a base class.
(Refers only to internal uses. This class does not provide a public interface)
To use these, you should initialize them as normal '$Class->new', and then call the 'fill' method, which will cause the specialised parser to scan forwards and parse the quote to its end point.
'$Class->new'
If ->fill returns true, finalise the token.
See the support section in the main module.
Adam Kennedy <adamk@cpan.org>
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install PPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PPI
CPAN shell
perl -MCPAN -e shell install PPI
For more information on module installation, please visit the detailed CPAN module installation guide.