1PPIx::Regexp::Constant(U3s)er Contributed Perl DocumentatPiPoInx::Regexp::Constant(3)
2
3
4

NAME

6       PPIx::Regexp::Constant - Constants for the PPIx::Regexp system
7

SYNOPSIS

9        use PPIx::Regexp::Constant qw{ $TOKEN_UNKNOWN }
10        print "An unknown token's class is $TOKEN_UNKNOWN\n";
11

INHERITANCE

13       "PPIx::Regexp::Constant" is an Exporter.
14
15       "PPIx::Regexp::Constant" has no descendants.
16

DETAILS

18       This module defines manifest constants for use by the various
19       "PPIx::Regexp" modules. These constants are to be considered private to
20       the "PPIx::Regexp" system, and the author reserves the right to change
21       them without notice.
22
23       This module exports the following manifest constants:
24
25   $COOKIE_CLASS
26       The name of the cookie used to control the construction of character
27       classes.
28
29       This cookie is set in PPIx::Regexp::Token::Structure when the left
30       square bracket is encountered, and cleared in the same module when a
31       right square bracket is encountered.
32
33   $COOKIE_QUANT
34       The name of the cookie used to control the construction of curly
35       bracketed quantifiers.
36
37       This cookie is set in PPIx::Regexp::Token::Structure when a left curly
38       bracket is encountered. It requests itself to be cleared on
39       encountering anything other than a literal comma, a literal digit, or
40       an interpolation, or if more than one comma is encountered. If it
41       survives until PPIx::Regexp::Token::Structure processes the right curly
42       bracket, it is cleared there.
43
44   $COOKIE_QUOTE
45       The name of the cookie used to control the parsing of "\Q ... \E"
46       quoted literals.
47
48       This cookie is set in PPIx::Regexp::Token::Control when a "\Q" is
49       encountered, and it persists until the next "\E".
50
51   $MINIMUM_PERL
52       The minimum version of Perl understood by this parser, as a float. It
53       is currently set to 5.006, since that is the minimum version of Perl
54       accessible to the author.
55
56   $RE_CAPTURE_NAME
57       A regular expression that matches the name of a named capture buffer.
58
59   $STRUCTURE_UNKNOWN
60       The name of the class that represents the unknown structure. That is,
61       PPIx::Regexp::Structure::Unknown.
62
63   $TOKEN_LITERAL
64       The name of the class that represents a literal token. That is,
65       PPIx::Regexp::Token::Literal.
66
67   $TOKEN_UNKNOWN
68       The name of the class that represents the unknown token. That is,
69       PPIx::Regexp::Token::Unknown.
70

SUPPORT

72       Support is by the author. Please file bug reports at
73       <http://rt.cpan.org>, or in electronic mail to the author.
74

AUTHOR

76       Thomas R. Wyant, III wyant at cpan dot org
77
79       Copyright (C) 2009-2010, Thomas R. Wyant, III
80
81       This program is free software; you can redistribute it and/or modify it
82       under the same terms as Perl 5.10.0. For more details, see the full
83       text of the licenses in the directory LICENSES.
84
85       This program is distributed in the hope that it will be useful, but
86       without any warranty; without even the implied warranty of
87       merchantability or fitness for a particular purpose.
88
89
90
91perl v5.12.0                      2010-06-08         PPIx::Regexp::Constant(3)
Impressum