1PPI::Structure::UnknownU(s3e)r Contributed Perl DocumentaPtPiIo:n:Structure::Unknown(3)
2
3
4
6 PPI::Structure::Unknown - An unknown or unresolved brace structure
7
9 PPI::Structure::Unknown
10 isa PPI::Structure
11 isa PPI::Node
12 isa PPI::Element
13
15 "PPI::Structure::Unknown" is class for braces whose type is unknown, or
16 temporarily unknown.
17
18 It primarily exists temporarily inside the lexer. Although some types
19 of braces can be determined immediately at opening, there are a number
20 of different brace types that can only be correctly identified after
21 the braces are closed.
22
23 A structure is typed as unknown during this period it is indeterminate.
24
25 A "PPI::Structure::Unknown" object should not ever make it out of the
26 lexer without being converted to its final type. Any time you encounter
27 this class in a PDOM tree it should be considered a bug and reported
28 accordingly.
29
31 "PPI::Structure::Unknown" has no methods beyond those provided by the
32 standard PPI::Structure, PPI::Node and PPI::Element methods.
33
35 See the support section in the main module.
36
38 Adam Kennedy <adamk@cpan.org>
39
41 Copyright 2001 - 2011 Adam Kennedy.
42
43 This program is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46 The full text of the license can be found in the LICENSE file included
47 with this module.
48
49
50
51perl v5.34.0 2021-07-22 PPI::Structure::Unknown(3)