PPI - Parse, Analyze and Manipulate Perl (without perl) River stage four • 180 direct dependents • 1656 total dependents

About this Document This is the PPI manual. It describes its reason for existing, its general structure, its use, an overview of the API, and provides a few implementation samples. Background The ability to read, and manipulate Perl (the language) pr...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token - A single token of Perl source code River stage four • 180 direct dependents • 1656 total dependents

"PPI::Token" is the abstract base class for all Tokens. In PPI terms, a "Token" is a PPI::Element that directly represents bytes of source code....

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Cache - The PPI Document Caching Layer River stage four • 180 direct dependents • 1656 total dependents

"PPI::Cache" provides the default caching functionality for PPI. It integrates automatically with PPI itself. Once enabled, any attempt to load a document from the filesystem will be cached via cache. Please note that creating a PPI::Document from ra...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Find - Object version of the Element->find method River stage four • 180 direct dependents • 1656 total dependents

PPI::Find is the primary PDOM searching class in the core PPI package. History It became quite obvious during the development of PPI that many of the modules that would be built on top of it were going to need large numbers of saved, storable or easi...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Lexer - The PPI Lexer River stage four • 180 direct dependents • 1656 total dependents

The is the PPI Lexer. In the larger scheme of things, its job is to take token streams, in a variety of forms, and "lex" them into nested structures. Pretty much everything in this module happens behind the scenes at this point. In fact, at the momen...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Node - Abstract PPI Node class, an Element that can contain other Elements River stage four • 180 direct dependents • 1656 total dependents

The "PPI::Node" class provides an abstract base class for the Element classes that are able to contain other elements PPI::Document, PPI::Statement, and PPI::Structure. As well as those listed below, all of the methods that apply to PPI::Element obje...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Normal - Normalize Perl Documents River stage four • 180 direct dependents • 1656 total dependents

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Dumper - Dumping of PDOM trees River stage four • 180 direct dependents • 1656 total dependents

The PDOM trees in PPI are quite complex, and getting a dump of their structure for development and debugging purposes is important. This module provides that functionality. The process is relatively simple. Create a dumper object with a particular se...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Element - The abstract Element class, a base for all source objects River stage four • 180 direct dependents • 1656 total dependents

The abstract "PPI::Element" serves as a base class for all source-related objects, from a single whitespace token to an entire document. It provides a basic set of methods to provide a common interface and basic implementations....

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Document - Object representation of a Perl document River stage four • 180 direct dependents • 1656 total dependents

The "PPI::Document" class represents a single Perl "document". A "PPI::Document" object acts as a root PPI::Node, with some additional methods for loading and saving, and working with the line/column locations of Elements within a file. The exemption...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::Pod - Sections of POD in Perl documents River stage four • 180 direct dependents • 1656 total dependents

A single "PPI::Token::Pod" object represents a complete section of POD documentation within a Perl document....

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::End - Completely useless content after the __END__ tag River stage four • 180 direct dependents • 1656 total dependents

If you've read PPI::Token::Whitespace, you should understand by now the concept of documents "floating in a sea of PPI::Token::Whitespace". Well it doesn't after the __END__ tag. Once you __END__, it's all over. Anything after that tag isn't even fit...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::BOM - Tokens representing Unicode byte order marks River stage four • 180 direct dependents • 1656 total dependents

This is a special token in that it can only occur at the beginning of documents. If a BOM byte mark occurs elsewhere in a file, it should be treated as PPI::Token::Whitespace. We recognize the byte order marks identified at this URL: <http://www.unic...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::Cast - A prefix which forces a value into a different context River stage four • 180 direct dependents • 1656 total dependents

A "cast" in PPI terms is one of more characters used as a prefix which force a value into a different class or context. This includes referencing, dereferencing, and a few other minor cases. For expressions such as @$foo or "@{ $foo{bar} }" the "@" i...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Transform - Abstract base class for document transformation classes River stage four • 180 direct dependents • 1656 total dependents

"PPI::Transform" provides an API for the creation of classes and objects that modify or transform PPI documents....

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Structure - The base class for Perl braced structures River stage four • 180 direct dependents • 1656 total dependents

PPI::Structure is the root class for all Perl bracing structures. This covers all forms of " [ ... ] ", " { ... } ", and " ( ... ) " brace types, and includes cases where only one half of the pair exist. The class PPI::Structure itself is full abstra...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Statement - The base class for Perl statements River stage four • 180 direct dependents • 1656 total dependents

PPI::Statement is the root class for all Perl statements. This includes (from perlsyn) "Declarations", "Simple Statements" and "Compound Statements". The class PPI::Statement itself represents a "Simple Statement" as defined in the perlsyn manpage....

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::Data - The actual data in the __DATA__ section of a file River stage four • 180 direct dependents • 1656 total dependents

The "PPI::Token::Data" class is used to represent the actual data inside a file's "__DATA__" section. One "PPI::Token::Data" object is used to represent the entire of the data, primarily so that it can provide a convenient handle directly to the data...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Token::Label - Token class for a statement label River stage four • 180 direct dependents • 1656 total dependents

A label is an identifier attached to a line or statements, to allow for various types of flow control. For example, a loop might have a label attached so that a "last" or "next" flow control statement can be used from multiple levels below to referen...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

PPI::Tokenizer - The Perl Document Tokenizer River stage four • 180 direct dependents • 1656 total dependents

PPI::Tokenizer is the class that provides Tokenizer objects for use in breaking strings of Perl source code into Tokens. By the time you are reading this, you probably need to know a little about the difference between how perl parses Perl "code" and...

MITHALDU/PPI-1.270 - 09 Jul 2019 15:17:17 GMT

87 results (0.07 seconds)