line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
###################################################################################################
|
2
|
|
|
|
|
|
|
# Copyright 2013/2014 by Marcel Greter
|
3
|
|
|
|
|
|
|
# This file is part of OCBNET-CSS3 (GPL3)
|
4
|
|
|
|
|
|
|
####################################################################################################
|
5
|
|
|
|
|
|
|
package OCBNET::CSS3::DOM::Extended::Import;
|
6
|
|
|
|
|
|
|
####################################################################################################
|
7
|
|
|
|
|
|
|
our $VERSION = '0.2.5';
|
8
|
|
|
|
|
|
|
####################################################################################################
|
9
|
|
|
|
|
|
|
|
10
|
11
|
|
|
11
|
|
56
|
use strict;
|
|
11
|
|
|
|
|
20
|
|
|
11
|
|
|
|
|
348
|
|
11
|
11
|
|
|
11
|
|
55
|
use warnings;
|
|
11
|
|
|
|
|
18
|
|
|
11
|
|
|
|
|
289
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
####################################################################################################
|
14
|
11
|
|
|
11
|
|
54
|
use base 'OCBNET::CSS3::DOM::Extended';
|
|
11
|
|
|
|
|
19
|
|
|
11
|
|
|
|
|
1015
|
|
15
|
|
|
|
|
|
|
####################################################################################################
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# static getter
|
18
|
|
|
|
|
|
|
#**************************************************************************************************
|
19
|
1
|
|
|
1
|
0
|
7
|
sub type { return 'import' }
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
####################################################################################################
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# load regex for vendor prefixes
|
24
|
|
|
|
|
|
|
#**************************************************************************************************
|
25
|
11
|
|
|
11
|
|
56
|
use OCBNET::CSS3::Regex::Base qw($re_vendors);
|
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
1359
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# add basic extended type with highest priority
|
28
|
|
|
|
|
|
|
#**************************************************************************************************
|
29
|
|
|
|
|
|
|
unshift @OCBNET::CSS3::types, [
|
30
|
|
|
|
|
|
|
qr/\A\s*\@(?:-$re_vendors-)?import/is,
|
31
|
|
|
|
|
|
|
'OCBNET::CSS3::DOM::Extended::Import'
|
32
|
|
|
|
|
|
|
];
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
####################################################################################################
|
35
|
|
|
|
|
|
|
####################################################################################################
|
36
|
|
|
|
|
|
|
1;
|