line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ExtUtils::XSpp::Node::Preprocessor; |
2
|
21
|
|
|
21
|
|
112
|
use strict; |
|
21
|
|
|
|
|
44
|
|
|
21
|
|
|
|
|
702
|
|
3
|
21
|
|
|
21
|
|
112
|
use warnings; |
|
21
|
|
|
|
|
42
|
|
|
21
|
|
|
|
|
561
|
|
4
|
21
|
|
|
21
|
|
105
|
use base 'ExtUtils::XSpp::Node::Raw'; |
|
21
|
|
|
|
|
42
|
|
|
21
|
|
|
|
|
7530
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub init { |
7
|
22
|
|
|
22
|
1
|
28
|
my $this = shift; |
8
|
22
|
|
|
|
|
70
|
my %args = @_; |
9
|
|
|
|
|
|
|
|
10
|
22
|
|
|
|
|
97
|
$this->SUPER::init( %args ); |
11
|
22
|
|
|
|
|
77
|
$this->{SYMBOL} = $args{symbol}; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub print { |
15
|
22
|
100
|
|
22
|
1
|
63
|
$_[0]->rows->[0] . "\n" . |
16
|
|
|
|
|
|
|
( $_[0]->symbol ? '#define ' . $_[0]->symbol . "\n\n" : "\n" ) |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
34
|
|
|
34
|
0
|
158
|
sub symbol { $_[0]->{SYMBOL} } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |