1PPI::Structure::UnknownU(s3e)r Contributed Perl DocumentaPtPiIo:n:Structure::Unknown(3)
2
3
4

NAME

6       PPI::Structure::Unknown - An unknown or unresolved brace structure
7

INHERITANCE

9         PPI::Structure::Unknown
10         isa PPI::Structure
11             isa PPI::Node
12                 isa PPI::Element
13

DESCRIPTION

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 it's final type. Any time you
27       encounter this class in a PDOM tree it should be considered a bug and
28       reported accordingly.
29

METHODS

31       "PPI::Structure::Unknown" has no methods beyond those provided by the
32       standard PPI::Structure, PPI::Node and PPI::Element methods.
33
34       Got any ideas for methods? Submit a report to rt.cpan.org!
35

SUPPORT

37       See the support section in the main module.
38

AUTHOR

40       Adam Kennedy <adamk@cpan.org>
41
43       Copyright 2001 - 2011 Adam Kennedy.
44
45       This program is free software; you can redistribute it and/or modify it
46       under the same terms as Perl itself.
47
48       The full text of the license can be found in the LICENSE file included
49       with this module.
50
51
52
53perl v5.12.3                      2011-02-26        PPI::Structure::Unknown(3)
Impressum