line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package SQL::Admin::Driver::DB2::Parser; |
3
|
2
|
|
|
2
|
|
1431
|
use base qw( SQL::Admin::Driver::Base::Parser ); |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
809
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
19
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
79
|
|
6
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
123
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = v0.5.0; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
###################################################################### |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
2
|
|
774
|
use SQL::Admin::Utils qw( refhash refarray ); |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
429
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
###################################################################### |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
my $grammar = require SQL::Admin::Driver::DB2::Grammar; |
17
|
|
|
|
|
|
|
my $cached; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
###################################################################### |
20
|
|
|
|
|
|
|
###################################################################### |
21
|
|
|
|
|
|
|
sub new { # ; |
22
|
1
|
|
|
1
|
0
|
1100
|
my $class = shift; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
33
|
|
|
157
|
$cached ||= $class->SUPER::new (@_); |
25
|
1
|
|
33
|
|
|
2248706
|
bless { @_, parser => $cached->{parser} }, ref $class || $class; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
###################################################################### |
30
|
|
|
|
|
|
|
###################################################################### |
31
|
|
|
|
|
|
|
sub grammar { # ; |
32
|
1
|
|
|
1
|
0
|
9
|
$grammar; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
###################################################################### |
37
|
|
|
|
|
|
|
###################################################################### |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
package SQL::Admin::Driver::DB2::Parser; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |