1PPIx::Regexp::Constant(U3s)er Contributed Perl DocumentatPiPoInx::Regexp::Constant(3)
2
3
4
6 PPIx::Regexp::Constant - Constants for the PPIx::Regexp system
7
9 use PPIx::Regexp::Constant qw{ TOKEN_UNKNOWN }
10 print "An unknown token's class is TOKEN_UNKNOWN\n";
11
13 "PPIx::Regexp::Constant" is an Exporter.
14
15 "PPIx::Regexp::Constant" has no descendants.
16
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 COOKIE_REGEX_SET
52 The name of the cookie used to control regular expression sets.
53
54 MINIMUM_PERL
55 The minimum version of Perl understood by this parser, as a float. It
56 is currently set to 5.000, since that is the minimum version of Perl
57 accessible to the author.
58
59 MODIFIER_GROUP_MATCH_SEMANTICS
60 The name of the PPIx::Regexp::Token::Modifier group used to control
61 match semantics.
62
63 RE_CAPTURE_NAME
64 A string representation of a regular expression that matches the name
65 of a named capture buffer.
66
67 STRUCTURE_UNKNOWN
68 The name of the class that represents the unknown structure. That is,
69 PPIx::Regexp::Structure::Unknown.
70
71 TOKEN_LITERAL
72 The name of the class that represents a literal token. That is,
73 PPIx::Regexp::Token::Literal.
74
75 TOKEN_UNKNOWN
76 The name of the class that represents the unknown token. That is,
77 PPIx::Regexp::Token::Unknown.
78
80 Support is by the author. Please file bug reports at
81 <http://rt.cpan.org>, or in electronic mail to the author.
82
84 Thomas R. Wyant, III wyant at cpan dot org
85
87 Copyright (C) 2009-2013 by Thomas R. Wyant, III
88
89 This program is free software; you can redistribute it and/or modify it
90 under the same terms as Perl 5.10.0. For more details, see the full
91 text of the licenses in the directory LICENSES.
92
93 This program is distributed in the hope that it will be useful, but
94 without any warranty; without even the implied warranty of
95 merchantability or fitness for a particular purpose.
96
97
98
99perl v5.16.3 2014-06-10 PPIx::Regexp::Constant(3)