Commit graph

9 commits

Author SHA1 Message Date
wiz
3d727632be p5-PPIx-QuoteLike: update to 0.012.
0.012		2020-07-28	T. R. Wyant
    Remove prototypes from testing subroutines defined in t/*.t.
2020-09-07 14:46:00 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
wen
91a9eb0857 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.
2020-07-23 11:02:12 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
wen
66036d5a89 Update to 0.007
Upstream changes:
0.007           2019-05-31      T. R. Wyant
    Prohibit interpolation inside \N{...}.

    Fix error message in eg/pqldump

    Allow PPIx::QuoteLike::Utils::__variables() to take a PPI::Element
    (rather than PPI::Node), PPIx::Regexp::Element, PPIx::QuoteLike, or
    PPIx::QuoteLike::Token.

    Add eg/variables
2019-07-02 07:32:18 +00:00
nia
d5c846b3af Update packages using a search.cpan.org HOMEPAGE to metacpan.org.
The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2019-06-30 20:14:13 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
wen
05f83fcfa9 Update to 0.006
Upstream changes:
0.006           2018-07-09      T. R. Wyant
    Only standalone graphemes and non-characters allowed as delimiters
    starting with Perl 5.29.0.

    Non-ASCII delimiters started working in 5.8.3, so that is what
    perl_version_introduced() returns for them.

    Collateral with all this, accept word characters as delimiters, but
    only with at least one space between the operator and the expression
    -- that is, 'qq xyx' is OK, but 'qqxyx' is not.
2018-07-29 06:43:31 +00:00
wen
f672b8ad0b Import PPIx-QuoteLike-0.005 as p5-PPIx-QuoteLike.
PPIx::QuoteLike parses Perl string literals and things that are reasonably like
string literals. Its real reason for being is to find interpolated variables for
Perl::Critic policies and similar code.
2018-06-19 06:33:38 +00:00