1PPIx::Regexp::StructureU:s:eSrwiCtocnht(r3i)buted Perl DPoPcIuxm:e:nRteagteixopn::Structure::Switch(3)
2
3
4
6 PPIx::Regexp::Structure::Switch - Represent a switch
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{(?(1)foo|bar)}smx' )
11 ->print();
12
14 "PPIx::Regexp::Structure::Switch" is a PPIx::Regexp::Structure.
15
16 "PPIx::Regexp::Structure::Switch" has no descendants.
17
19 This class represents a switch, or conditional expression. The
20 condition will be the first child.
21
23 This class provides no public methods beyond those provided by its
24 superclass.
25
27 Support is by the author. Please file bug reports at
28 <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
29 <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
30 mail to the author.
31
33 Thomas R. Wyant, III wyant at cpan dot org
34
36 Copyright (C) 2009-2021 by Thomas R. Wyant, III
37
38 This program is free software; you can redistribute it and/or modify it
39 under the same terms as Perl 5.10.0. For more details, see the full
40 text of the licenses in the directory LICENSES.
41
42 This program is distributed in the hope that it will be useful, but
43 without any warranty; without even the implied warranty of
44 merchantability or fitness for a particular purpose.
45
46
47
48perl v5.34.0 2021-10-25PPIx::Regexp::Structure::Switch(3)