1PPI::Statement::UnmatchUesdeBrraCcoen(t3r)ibuted Perl DoPcPuIm:e:nSttaattieomnent::UnmatchedBrace(3)
2
3
4

NAME

6       PPI::Statement::UnmatchedBrace - Isolated unmatched brace
7

SYNOPSIS

9         sub foo {
10             1;
11         }
12
13         } # <--- This is an unmatched brace
14

INHERITANCE

16         PPI::Statement::UnmatchedBrace
17         isa PPI::Statement
18             isa PPI::Node
19                 isa PPI::Element
20

DESCRIPTION

22       The "PPI::Statement::UnmatchedBrace" class is a miscellaneous utility
23       class. Objects of this type should be rare, or not exist at all in
24       normal valid PPI::Document objects.
25
26       It can be either a round ')', square ']' or curly '}' brace, this class
27       does not distinguish. Objects of this type are only allocated at a
28       structural level, not a lexical level (as they are lexically invalid
29       anyway).
30
31       The presence of a "PPI::Statement::UnmatchedBrace" indicated a broken
32       or invalid document. Or maybe a bug in PPI, but far more likely a
33       broken Document. :)
34

METHODS

36       "PPI::Statement::UnmatchedBrace" has no additional methods beyond the
37       default ones provided by PPI::Statement, PPI::Node and PPI::Element.
38

SUPPORT

40       See the support section in the main module.
41

AUTHOR

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