line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PPI::Structure::Unknown; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=pod |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
PPI::Structure::Unknown - An unknown or unresolved brace structure |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 INHERITANCE |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
PPI::Structure::Unknown |
12
|
|
|
|
|
|
|
isa PPI::Structure |
13
|
|
|
|
|
|
|
isa PPI::Node |
14
|
|
|
|
|
|
|
isa PPI::Element |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
C is class for braces whose type is unknown, or |
19
|
|
|
|
|
|
|
temporarily unknown. |
20
|
|
|
|
|
|
|
|
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 |
24
|
|
|
|
|
|
|
braces are closed. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
A structure is typed as unknown during this period it is indeterminate. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
A C object should not B make it out of the |
29
|
|
|
|
|
|
|
lexer without being converted to its final type. Any time you encounter |
30
|
|
|
|
|
|
|
this class in a PDOM tree it should be considered a bug and reported |
31
|
|
|
|
|
|
|
accordingly. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 METHODS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
C has no methods beyond those provided by the |
36
|
|
|
|
|
|
|
standard L, L and L methods. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
63
|
|
|
63
|
|
373
|
use strict; |
|
63
|
|
|
|
|
109
|
|
|
63
|
|
|
|
|
2077
|
|
41
|
63
|
|
|
63
|
|
282
|
use PPI::Structure (); |
|
63
|
|
|
|
|
92
|
|
|
63
|
|
|
|
|
2846
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our $VERSION = '1.275'; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
our @ISA = "PPI::Structure"; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=pod |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 SUPPORT |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
See the L in the main module. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 AUTHOR |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Adam Kennedy Eadamk@cpan.orgE |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 COPYRIGHT |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Copyright 2001 - 2011 Adam Kennedy. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This program is free software; you can redistribute |
64
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The full text of the license can be found in the |
67
|
|
|
|
|
|
|
LICENSE file included with this module. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |