File Coverage

blib/lib/PPIx/Regexp/Node/Unknown.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 23 23 100.0


line stmt bran cond sub pod time code
1             package PPIx::Regexp::Node::Unknown;
2              
3 9     9   138 use 5.006;
  9         27  
4              
5 9     9   31 use strict;
  9         11  
  9         156  
6 9     9   24 use warnings;
  9         13  
  9         336  
7              
8 9     9   48 use base qw{ PPIx::Regexp::Node };
  9         10  
  9         649  
9              
10 9     9   35 use PPIx::Regexp::Constant qw{ @CARP_NOT };
  9         11  
  9         619  
11 9     9   38 use PPIx::Regexp::Util;
  9         11  
  9         608  
12              
13             our $VERSION = '0.091';
14              
15             *__PPIX_ELEM__post_reblessing = \&PPIx::Regexp::Util::__post_rebless_error;
16              
17             1;
18              
19             __END__
20              
21             =head1 NAME
22              
23             PPIx::Regexp::Node::Unknown - Represent an unknown node.
24              
25             =head1 SYNOPSIS
26              
27             None. Sorry. This class was added to support the C<strict> option, which
28             was itself an attempt to capture the functionality of
29             C<use re 'strict'>. It is not known to have any other use, and it cannot
30             be instantiated in any straightforward manner.
31              
32             =head1 INHERITANCE
33              
34             C<PPIx::Regexp::Node::Unknown> is a
35             L<PPIx::Regexp::Node|PPIx::Regexp::Node>.
36              
37             C<PPIx::Regexp::Node::Unknown> has no descendants.
38              
39             =head1 DESCRIPTION
40              
41             This class is used for a node which the lexer recognizes as being
42             improperly constructed.
43              
44             =head1 METHODS
45              
46             This class provides no public methods beyond those provided by its
47             superclass.
48              
49             =head1 SUPPORT
50              
51             Support is by the author. Please file bug reports at
52             L<https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
53             L<https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in
54             electronic mail to the author.
55              
56             =head1 AUTHOR
57              
58             Thomas R. Wyant, III F<wyant at cpan dot org>
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             Copyright (C) 2016-2023, 2025 by Thomas R. Wyant, III
63              
64             This program is free software; you can redistribute it and/or modify it
65             under the same terms as Perl 5.10.0. For more details, see the full text
66             of the licenses in the directory LICENSES.
67              
68             This program is distributed in the hope that it will be useful, but
69             without any warranty; without even the implied warranty of
70             merchantability or fitness for a particular purpose.
71              
72             =cut
73              
74             # ex: set textwidth=72 :