1PPI::Statement::UnknownU(s3e)r Contributed Perl DocumentaPtPiIo:n:Statement::Unknown(3)
2
3
4
6 PPI::Statement::Unknown - An unknown or transient statement
7
9 PPI::Statement::Unknown
10 isa PPI::Statement
11 isa PPI::Node
12 isa PPI::Element
13
15 The "PPI::Statement::Unknown" class is used primarily during the lexing
16 process to hold elements that are known to be statement, but for which
17 the exact "type" of statement is as yet unknown, and requires further
18 tokens in order to resolve the correct type.
19
20 They should not exist in a fully parse valid document, and if any
21 exists they indicate either a problem in Document, or possibly (by
22 allowing it to get through unresolved) a bug in PPI::Lexer.
23
25 "PPI::Statement::Unknown" has no additional methods beyond the default
26 ones provided by PPI::Statement, PPI::Node and PPI::Element.
27
29 See the support section in the main module.
30
32 Adam Kennedy <adamk@cpan.org>
33
35 Copyright 2001 - 2011 Adam Kennedy.
36
37 This program is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40 The full text of the license can be found in the LICENSE file included
41 with this module.
42
43
44
45perl v5.38.0 2023-09-22 PPI::Statement::Unknown(3)