Changes for version 1.280 - 2024-11-25 (TRIAL RELEASE)

  • Summary:
  • Implement support for signatures and other parsing features
  • Details:
  • Framework for recognition of parsing feature activation via:
    • `use $PERL_VERSION` in code
    • `use feature` in code
    • `use $Common::CPAN::Module` in code
    • PPI::Document->new( feature_mods => ... )
    • PPI::Document->new( custom_feature_includes => ... )
    • PPI::Document->new( custom_feature_include_cb => ... )
    • $ENV{PPI_CUSTOM_FEATURE_INCLUDES}
  • Added ability to parse features:
    • signatures, as PPI::Structure::Signature
    • try catch, as PPI::Statement::Compound

Modules

PPI
Parse, Analyze and Manipulate Perl (without perl)
The PPI Document Caching Layer
Object representation of a Perl document
A Perl Document located in a specific file
A fragment of a Perl Document
A normalized Perl Document
Dumping of PDOM trees
The abstract Element class, a base for all source objects
The PPI exception base class
Object version of the Element->find method
The PPI Lexer
Abstract PPI Node class, an Element that can contain other Elements
Normalize Perl Documents
Provides standard document normalization functions
The base class for Perl statements
Statements which break out of normal statement flow
Describes all compound statements
The __DATA__ section of a file
Content after the __END__ of a module
A generic and non-specialised statement
A given-when statement
Statements that include other code
Inline Perl 6 file section
A useless null statement
A package statement
A scheduled code block
Subroutine declaration
An unknown or transient statement
Isolated unmatched brace
Variable declaration statements
A when statement
The base class for Perl braced structures
Curly braces representing a code block
Round braces for boolean context conditions
Anonymous hash or array constructor
Circular braces for a for expression
Circular braces for a switch statement
Explicit list or precedence ordering braces
List of subroutine signature elements
Braces that represent an array or hash subscript
An unknown or unresolved brace structure
Circular braces for a when statement
A single token of Perl source code
Token getting the last index for an array
A token for a subroutine attribute
Tokens representing Unicode byte order marks
A prefix which forces a value into a different context
A comment in Perl source code
A dashed bareword token
The actual data in the __DATA__ section of a file
Completely useless content after the __END__ tag
Token class for the here-doc
Token class for a statement label
Tokens representing magic variables
Token class for a number
Token class for a binary number
Token class for an exponential notation number
Token class for a floating-point number
Token class for a binary number
Token class for a binary number
Token class for a byte-packed number
Token class for operators
Sections of POD in Perl documents
A subroutine prototype descriptor
String quote abstract base class
A standard "double quote" token
The interpolation quote-like operator
The literal quote-like operator
A 'single quote' token
Quote-like operator abstract base class
A `backticks` command token
The command quote-like operator
The readline quote-like operator
Regexp constructor quote-like operator
Word list constructor quote-like operator
Regular expression abstract base class
A standard pattern match regex
A match and replace regular expression token
A transliteration regular expression token
The __DATA__ and __END__ tags
Token class for characters that define code structure
A token class for variables and other symbols
Token of unknown or as-yet undetermined type
Tokens representing ordinary white space
The generic "word" Token
The PPI Quote Engine
The Perl Document Tokenizer
Abstract base class for document transformation classes
Demonstration PPI::Transform class

Provides

in lib/PPI/Exception/ParserRejection.pm
in lib/PPI/Singletons.pm
in lib/PPI/Util.pm
in lib/PPI/XSAccessor.pm