Adam Kennedy > PPI > PPI::Token::_QuoteEngine

Download:
PPI-1.215.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  32
Open  31
View/Report Bugs
Module Version: 1.215   Source   Latest Release: PPI-1.218

NAME ^

PPI::Token::_QuoteEngine - The PPI Quote Engine

DESCRIPTION ^

The PPI::Token::_QuoteEngine package is designed hold functionality for processing quotes and quote like operators, including regexes. These have special requirements in parsing.

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.

Using this 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.

If ->fill returns true, finalise the token.

SUPPORT ^

See the support section in the main module.

AUTHOR ^

Adam Kennedy <adamk@cpan.org>

COPYRIGHT ^

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.

syntax highlighting: