1 package PPI::Structure::Unknown;
7 PPI::Structure::Unknown - An unknown or unresolved brace structure
11 PPI::Structure::Unknown
18 C<PPI::Structure::Unknown> is class for braces whose type is unknown, or
21 It primarily exists temporarily inside the lexer. Although some types of
22 braces can be determined immediately at opening, there are a number of
23 different brace types that can only be correctly identified after the
26 A structure is typed as unknown during this period it is indeterminate.
28 A C<PPI::Structure::Unknown> object should not B<ever> make it out of the
29 lexer without being converted to it's final type. Any time you encounter
30 this class in a PDOM tree it should be considered a bug and reported
35 C<PPI::Structure::Unknown> has no methods beyond those provided by the
36 standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
38 Got any ideas for methods? Submit a report to rt.cpan.org!
43 use PPI::Structure ();
45 use vars qw{$VERSION @ISA};
48 @ISA = 'PPI::Structure';
57 See the L<support section|PPI/SUPPORT> in the main module.
61 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
65 Copyright 2001 - 2009 Adam Kennedy.
67 This program is free software; you can redistribute
68 it and/or modify it under the same terms as Perl itself.
70 The full text of the license can be found in the
71 LICENSE file included with this module.