Changes for version 1.220
- Summary:
- incompatible behavior fixes on PPI::Statement::Sub->prototype
- improved parsing of various syntax elements
- code quality improvements
- various small documentation fixes
- Details:
- {} is now recognized as anonymous hash constructor instead of a code block after these operators: &&= //= || && // ? : (GitHub #36) (MOREGAN)
- regex capture variables greater than $9 are now parsed completely, instead of being parsed as single digit captures with numbers after them (GitHub #38) (MOREGAN)
- DESTROY and AUTOLOAD subs are now parsed even without the sub keyword (GitHub #39) (MOREGAN)
- PPI::Statement::Sub->prototype behavior now matches its documentation, instead of returning the prototype string unchanged and still including the parens (GitHub #56) (MOREGAN)
- PPI::Statement::Sub->prototype now returns undef on subs without a prototype, instead of returning an empty string (GitHub #56) (MOREGAN)
- list of keywords which are not parsed as packages when followed by the Perl4 package separator ' has been increased (GitHub #77) (MOREGAN)
- application of a number of Perl::Critic policies and documentation fixes (GitHub #53) (MOREGAN, MITHALDU)
- automation of README.md generation for git (GitHub #86) (COWENS)
- various small documentation fixes (Github #96) (MOREGAN)
Modules
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
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
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.pm
in lib/PPI/Exception/ParserRejection.pm
in lib/PPI/Exception/ParserTimeout.pm
in lib/PPI/Token/_QuoteEngine/Full.pm
in lib/PPI/Token/_QuoteEngine/Simple.pm
in lib/PPI/Util.pm
in lib/PPI/XSAccessor.pm