1PPIx::Regexp::Token::UnUksneorwnC(o3n)tributed Perl DocuPmPeInxt:a:tRieognexp::Token::Unknown(3)
2
3
4

NAME

6       PPIx::Regexp::Token::Unknown - Represent an unknown token
7

SYNOPSIS

9        use PPIx::Regexp::Dumper;
10        PPIx::Regexp::Dumper->new( 'xyzzy' )
11            ->print();
12

INHERITANCE

14       "PPIx::Regexp::Token::Unknown" is a PPIx::Regexp::Token.
15
16       "PPIx::Regexp::Token::Unknown" has no descendants.
17

DESCRIPTION

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

METHODS

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

SUPPORT

40       Support is by the author. Please file bug reports at
41       <https://rt.cpan.org>, or in electronic mail to the author.
42

AUTHOR

44       Thomas R. Wyant, III wyant at cpan dot org
45
47       Copyright (C) 2009-2020 by Thomas R. Wyant, III
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl 5.10.0. For more details, see the full
51       text of the licenses in the directory LICENSES.
52
53       This program is distributed in the hope that it will be useful, but
54       without any warranty; without even the implied warranty of
55       merchantability or fitness for a particular purpose.
56
57
58
59perl v5.32.0                      2020-07-29   PPIx::Regexp::Token::Unknown(3)
Impressum