Changes for version 1.218

  • Summary:
  • Fixes for various parsing and documentation bugs
  • 1MB limit on input document size removed
  • Moved repository to GitHub: https://github.com/adamkennedy/PPI
  • Details:
  • Stop directing bugs to rt.cpan.org (GitHub #40) (MOREGAN)
  • Fix documentation reference to List::Util (RT #75308) (RWSTAUNER)
  • Improve scalability of parsing long lines, and remove the size limit on documents PPI will parse (GitHub #5) (MITHALDU)
  • Speed up adding an element to an unlabeled statement. Allow inlining of some methods. (WOLFSAGE)
  • Expanded test coverage (DOLMEN, MOREGAN)
  • Convert inline tests to standalone tests (GitHub #12) (MOREGAN)
  • Fix for '1=>x' being parsed as x operator (GitHub #46) (MOREGAN)
  • Recognize that '1 x3' is the x operator followed by a 3 (RT #37892, GitHub #27) (MOREGAN)
  • Support all augmented assignment operators (<<=, ||=, etc.) (RT #68176, 71705) (MOREGAN)
  • Stop upper-case "=CUT" from terminating POD (RT #75039) (JAE)
  • Support upper-case digits in hex and binary numbers, including in the leading '0X' and '0B'. (RT #36540) (KRYDE, MOREGAN)
  • Fix float argument to range operator misparsed as version string (RT #45014) (MOREGAN)
  • Fix POD markup in PPI::Find (RT #51693) (FWIE)
  • Fix spelling of "Tom Christiansen" (RT #67264) (TADMC)
  • Fix a large raft of spelling and grammar errors (RT #85049) (David Steinbrunner, DOLMEN, MOREGAN)
  • Fix errors in documentation of the PPI::Element class hierarchy (RT #30863, 69026) (SJQUINNEY)
  • Prevent PPI::XSAccessor packages from hiding corresponding PPI packages in CPAN (RT #90792) (MITHALDU)
  • Recognize the formfeed character as whitespace (RT #67517) (WYANT)
  • Recognize regex match following 'return' (RT #27475) (ADAMK)
  • Fix missing dereference, length called on reference (RT #40103) (ADAMK)

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
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
Describes all compound statements
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
Describes all compound statements
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