Path to this page:
Subject: CVS commit: pkgsrc/textproc/p5-PPIx-QuoteLike
From: Wen Heping
Date: 2020-07-23 13:02:12
Message id: 20200723110212.4774CFB28@cvs.NetBSD.org
Log Message:
Update to 0.011
Upstream changes:
0.011 2020-03-31 T. R. Wyant
Normalize interpolation before feeding to PPI. This produces a
more-easily-analyzed PPI parse.
The ->variables() method is now discouraged. It was written to support
Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter, but turned
out to be inadequate for the job.
Deprecate new() argument postderef. At this stage it is only
documented as deprecated. In the first release after October 1 2020
it will warn on the first use. Eventually it will be retracted, and
postfix dereferences will always be recognized. This is the default
behavior now.
Correct bracket matchers to accept multiple lines. This was, in some
cases, causing interpolations to be misclassified as unknown tokens.
0.010 2020-03-09 T. R. Wyant
Remove redundant and poorly-performing code introduced in version
0.009.
0.009 2020-02-27 T. R. Wyant
Add new() argument index_locations which causes locations to be
indexed during the parse. This defaults based on whether a location
argument was provided, and whether the string being parsed is a
PPI::Element.
Add method statement(), which returns the PPI statement containing
the string element, or nothing if none.
Add PPI::Element location methods, to wit: location(),
column_number(), line_number(), logical_filename(),
logical_line_number(), and visual_column_number().
Add PPIx::QuoteLike::Utils::is_ppi_quotelike_element() which returns
true if the argument is a PPI::Element of interest to us.
All objects now have a variables() method inherited from
PPIx::QuoteLike::Token. This method returns nothing unless
overridden. It was added to eliminate $elem->can( 'variables' )
ad-hocery.
Eliminate redirections in POD URL links
0.008 2019-08-16 T. R. Wyant
Fix broken POD links, and add test to ensure they stay fixed.
Files: