line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Minify::XS; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Remove indentation and trailing whitespace from multi-line text |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
3160
|
use v5.14; |
|
4
|
|
|
|
|
15
|
|
6
|
4
|
|
|
4
|
|
25
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
163
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
27
|
use Exporter 5.57 qw( import ); |
|
4
|
|
|
|
|
60
|
|
|
4
|
|
|
|
|
121
|
|
9
|
4
|
|
|
4
|
|
20
|
use XSLoader; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
310
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @EXPORT_OK = qw(minify minify_utf8 minify_ascii); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = 'v0.7.0'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
XSLoader::load( __PACKAGE__, $VERSION ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
{ |
18
|
4
|
|
|
4
|
|
33
|
no strict 'refs'; |
|
4
|
|
|
|
|
29
|
|
|
4
|
|
|
|
|
289
|
|
19
|
|
|
|
|
|
|
*minify_utf8 = \&minify; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
__END__ |