File Coverage

lib/Config/Proxy/Node/Statement.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod 1 1 100.0
total 7 7 100.0


line stmt bran cond sub pod time code
1             package Config::Proxy::Node::Statement;
2 7     7   54 use parent 'Config::Proxy::Node';
  7         41  
  7         46  
3              
4             =head1 NAME
5              
6             Config::Proxy::Node::Statement - simple statement node in proxy tree
7              
8             =head1 DESCRIPTION
9              
10             Objects of this class represent simple statements in proxy configuration
11             file.
12              
13             =head1 METHODS
14              
15             =head2 is_statement
16              
17             Returns true.
18              
19             =head2 kw
20              
21             Returns the configuration keyword.
22              
23             =head2 argv
24              
25             Returns the list of arguments to the configuration keyword.
26              
27             =head2 arg
28              
29             $s = $node->arg($n)
30              
31             Returns the B<$n>th argument.
32              
33             =head2 orig
34              
35             Returns original line as it appeared in the configuration file.
36              
37             =head2 locus
38              
39             Returns the location of this statement in the configuration file (the
40             B object).
41              
42             =head1 SEE ALSO
43              
44             L, L, L,
45             L.
46              
47             =cut
48              
49 68     68 1 276 sub is_statement { 1 }
50              
51             1;