Search results for "module:PPI::Statement"
PPI::Statement - The base class for Perl statements
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....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::End - Content after the __END__ of a module
"PPI::Statement::End" is a utility class designed to serve as a contained for all of the content after the __END__ tag in a file. It doesn't cover the ENTIRE of the __END__ section, and can be interspersed with PPI::Token::Pod tokens....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Sub - Subroutine declaration
Except for the special BEGIN, CHECK, UNITCHECK, INIT, and END subroutines (which are part of PPI::Statement::Scheduled) all subroutine declarations are lexed as a PPI::Statement::Sub object. Primarily, this means all of the various "sub foo {}" state...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::When - A when statement
"PPI::Statement::When" objects are used to describe when and default statements, as described in perlsyn....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Data - The __DATA__ section of a file
"PPI::Statement::Data" is a utility class designed to hold content in the __DATA__ section of a file. It provides a single statement to hold all of the data....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Null - A useless null statement
"PPI::Statement::Null" is a utility class designed to handle situations where PPI encounters a naked statement separator. Although strictly speaking, the semicolon is a statement separator and not a statement terminator, PPI considers a semicolon to ...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Break - Statements which break out of normal statement flow
"PPI::Statement::Break" is intended to represent statements that break out of the normal statement flow control. This covers the basic types 'redo', 'goto', 'next', 'last' and 'return'....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Given - A given-when statement
"PPI::Statement::Given" objects are used to describe switch statements, as described in perlsyn....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Include - Statements that include other code
Despite its name, the "PPI::Statement::Include" class covers a number of different types of statement that cover all statements starting with "use", "no" and "require". But basically, they cover three situations. Firstly, a dependency on a particular...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Package - A package statement
Most PPI::Statement subclasses are assigned based on the value of the first token or word found in the statement. When PPI encounters a statement starting with 'package', it converts it to a "PPI::Statement::Package" object. When working with package...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Unknown - An unknown or transient statement
The "PPI::Statement::Unknown" class is used primarily during the lexing process to hold elements that are known to be statement, but for which the exact "type" of statement is as yet unknown, and requires further tokens in order to resolve the correc...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Variable - Variable declaration statements
The main intent of the "PPI::Statement::Variable" class is to describe simple statements that explicitly declare new local or global variables. Note that this does not make it exclusively the only place where variables are defined, and later on you s...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Compound - Describes all compound statements
"PPI::Statement::Compound" objects are used to describe all current forms of compound statements, as described in perlsyn. This covers blocks using "if", "unless", "for", "foreach", "while", and "continue". Please note this does not cover "simple" st...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Scheduled - A scheduled code block
A scheduled code block is one that is intended to be run at a specific time during the loading process. There are five types of scheduled block: BEGIN { # Executes as soon as this block is fully defined ... } CHECK { # Executes after overall compile-...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Expression - A generic and non-specialised statement
A "PPI::Statement::Expression" is a normal statement that is evaluated, may or may not assign, may or may not have side effects, and has no special or redeeming features whatsoever. It provides a default for all statements that don't fit into any oth...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::UnmatchedBrace - Isolated unmatched brace
The "PPI::Statement::UnmatchedBrace" class is a miscellaneous utility class. Objects of this type should be rare, or not exist at all in normal valid PPI::Document objects. It can be either a round ')', square ']' or curly '}' brace, this class does ...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Statement::Include::Perl6 - Inline Perl 6 file section
A "PPI::Statement::Include::Perl6" is a special include statement that indicates the start of a section of Perl 6 code inlined into a regular Perl 5 code file. The primary purpose of the class is to allow PPI to provide at least basic support for "6 ...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPIx::XPath - an XPath implementation for the PDOM
This module augments PPI's classes with the methods required by Tree::XPathEngine, allowing you to perform complex XPath matches against any PDOM tree. See Tree::XPathEngine for details about its methods. Mapping the PDOM to the XPath data model * Ea...
DAKKAR/PPIx-XPath-2.02 - 29 Aug 2016 15:52:45 UTC
PPI - Parse, Analyze and Manipulate Perl (without perl)
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...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Node - Abstract PPI Node class, an Element that can contain other Elements
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...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC