line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Treex::PML::Schema::Constants; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
99
|
use 5.008; |
|
6
|
|
|
|
|
17
|
|
4
|
6
|
|
|
6
|
|
29
|
use strict; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
104
|
|
5
|
6
|
|
|
6
|
|
24
|
use warnings; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
204
|
|
6
|
|
|
|
|
|
|
|
7
|
6
|
|
|
6
|
|
30
|
use vars qw($VERSION); |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
262
|
|
8
|
|
|
|
|
|
|
BEGIN { |
9
|
6
|
|
|
6
|
|
91
|
$VERSION='2.24'; # version template |
10
|
|
|
|
|
|
|
} |
11
|
6
|
|
|
6
|
|
30
|
use Carp; |
|
6
|
|
|
|
|
31
|
|
|
6
|
|
|
|
|
360
|
|
12
|
|
|
|
|
|
|
|
13
|
6
|
|
|
6
|
|
51
|
use constant PML_SCHEMA_NS => "http://ufal.mff.cuni.cz/pdt/pml/schema/"; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
386
|
|
14
|
|
|
|
|
|
|
|
15
|
6
|
|
|
6
|
|
35
|
use constant PML_TYPE_DECL => 1; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
331
|
|
16
|
6
|
|
|
6
|
|
35
|
use constant PML_ROOT_DECL => 2; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
293
|
|
17
|
6
|
|
|
6
|
|
33
|
use constant PML_STRUCTURE_DECL => 3; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
321
|
|
18
|
6
|
|
|
6
|
|
33
|
use constant PML_CONTAINER_DECL => 4; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
281
|
|
19
|
6
|
|
|
6
|
|
32
|
use constant PML_SEQUENCE_DECL => 5; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
343
|
|
20
|
6
|
|
|
6
|
|
64
|
use constant PML_LIST_DECL => 6; |
|
6
|
|
|
|
|
22
|
|
|
6
|
|
|
|
|
275
|
|
21
|
6
|
|
|
6
|
|
32
|
use constant PML_ALT_DECL => 7; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
252
|
|
22
|
6
|
|
|
6
|
|
32
|
use constant PML_CDATA_DECL => 8; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
236
|
|
23
|
6
|
|
|
6
|
|
29
|
use constant PML_CHOICE_DECL => 9; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
256
|
|
24
|
6
|
|
|
6
|
|
35
|
use constant PML_CONSTANT_DECL => 10; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
233
|
|
25
|
6
|
|
|
6
|
|
26
|
use constant PML_ATTRIBUTE_DECL => 11; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
213
|
|
26
|
6
|
|
|
6
|
|
28
|
use constant PML_MEMBER_DECL => 12; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
251
|
|
27
|
6
|
|
|
6
|
|
33
|
use constant PML_ELEMENT_DECL => 13; |
|
6
|
|
|
|
|
8
|
|
|
6
|
|
|
|
|
290
|
|
28
|
6
|
|
|
6
|
|
29
|
use constant PML_SCHEMA_DECL => 14; |
|
6
|
|
|
|
|
34
|
|
|
6
|
|
|
|
|
249
|
|
29
|
|
|
|
|
|
|
|
30
|
6
|
|
|
6
|
|
32
|
use constant PML_IMPORT_DECL => 20; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
238
|
|
31
|
6
|
|
|
6
|
|
29
|
use constant PML_DERIVE_DECL => 21; |
|
6
|
|
|
|
|
26
|
|
|
6
|
|
|
|
|
291
|
|
32
|
6
|
|
|
6
|
|
35
|
use constant PML_TEMPLATE_DECL => 22; |
|
6
|
|
|
|
|
15
|
|
|
6
|
|
|
|
|
269
|
|
33
|
6
|
|
|
6
|
|
30
|
use constant PML_COPY_DECL => 23; |
|
6
|
|
|
|
|
19
|
|
|
6
|
|
|
|
|
246
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
# validation flags |
36
|
6
|
|
|
6
|
|
31
|
use constant PML_VALIDATE_NO_TREES => 1; |
|
6
|
|
|
|
|
9
|
|
|
6
|
|
|
|
|
243
|
|
37
|
6
|
|
|
6
|
|
29
|
use constant PML_VALIDATE_NO_CHILDNODES => 2; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
691
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
BEGIN { |
40
|
6
|
|
|
6
|
|
42
|
require Exporter; |
41
|
6
|
|
|
|
|
69
|
import Exporter qw( import ); |
42
|
6
|
|
|
|
|
25
|
our @EXPORT = qw( |
43
|
|
|
|
|
|
|
PML_TYPE_DECL |
44
|
|
|
|
|
|
|
PML_ROOT_DECL |
45
|
|
|
|
|
|
|
PML_STRUCTURE_DECL |
46
|
|
|
|
|
|
|
PML_CONTAINER_DECL |
47
|
|
|
|
|
|
|
PML_SEQUENCE_DECL |
48
|
|
|
|
|
|
|
PML_LIST_DECL |
49
|
|
|
|
|
|
|
PML_ALT_DECL |
50
|
|
|
|
|
|
|
PML_CDATA_DECL |
51
|
|
|
|
|
|
|
PML_CHOICE_DECL |
52
|
|
|
|
|
|
|
PML_CONSTANT_DECL |
53
|
|
|
|
|
|
|
PML_ATTRIBUTE_DECL |
54
|
|
|
|
|
|
|
PML_MEMBER_DECL |
55
|
|
|
|
|
|
|
PML_ELEMENT_DECL |
56
|
|
|
|
|
|
|
PML_SCHEMA_DECL |
57
|
|
|
|
|
|
|
PML_IMPORT_DECL |
58
|
|
|
|
|
|
|
PML_DERIVE_DECL |
59
|
|
|
|
|
|
|
PML_TEMPLATE_DECL |
60
|
|
|
|
|
|
|
PML_COPY_DECL |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
PML_VALIDATE_NO_TREES |
63
|
|
|
|
|
|
|
PML_VALIDATE_NO_CHILDNODES |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
PML_SCHEMA_NS |
66
|
|
|
|
|
|
|
); |
67
|
6
|
|
|
|
|
156
|
our %EXPORT_TAGS = ( |
68
|
|
|
|
|
|
|
'constants' => [ @EXPORT ], |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
1; |
72
|
|
|
|
|
|
|
__END__ |