1PPIx::Regexp::Token::UnUksneorwnC(o3n)tributed Perl DocuPmPeInxt:a:tRieognexp::Token::Unknown(3)
2
3
4
6 PPIx::Regexp::Token::Unknown - Represent an unknown token
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'xyzzy' )
11 ->print();
12
14 "PPIx::Regexp::Token::Unknown" is a PPIx::Regexp::Token.
15
16 "PPIx::Regexp::Token::Unknown" has no descendants.
17
19 This token represents something that could not be identified by the
20 tokenizer. Sometimes the lexer can fix these up, but the presence of
21 one of these in a finished parse represents something in the regular
22 expression that was not understood.
23
25 This class provides the following public methods. Methods not
26 documented here are private, and unsupported in the sense that the
27 author reserves the right to change or remove them without notice.
28
29 is_matcher
30 This method returns "undef" because, since we could not identify the
31 token, we have no idea whether it matches anything.
32
33 ordinal
34 This method returns the results of the ord built-in on the content
35 (meaning, of course, the first character of the content). No attempt is
36 made to interpret the content, since after all this is the unknown
37 token.
38
40 Support is by the author. Please file bug reports at
41 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
42 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
43 mail to the author.
44
46 Thomas R. Wyant, III wyant at cpan dot org
47
49 Copyright (C) 2009-2023 by Thomas R. Wyant, III
50
51 This program is free software; you can redistribute it and/or modify it
52 under the same terms as Perl 5.10.0. For more details, see the full
53 text of the licenses in the directory LICENSES.
54
55 This program is distributed in the hope that it will be useful, but
56 without any warranty; without even the implied warranty of
57 merchantability or fitness for a particular purpose.
58
59
60
61perl v5.36.0 2023-01-30 PPIx::Regexp::Token::Unknown(3)