line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Marpa::R3 is Copyright (C) 2018, Jeffrey Kegler. |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# This module is free software; you can redistribute it and/or modify it |
4
|
|
|
|
|
|
|
# under the same terms as Perl 5.10.1. For more details, see the full text |
5
|
|
|
|
|
|
|
# of the licenses in the directory LICENSES. |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be |
8
|
|
|
|
|
|
|
# useful, but it is provided "as is" and without any express |
9
|
|
|
|
|
|
|
# or implied warranties. For details, see the full text of |
10
|
|
|
|
|
|
|
# of the licenses in the directory LICENSES. |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# DO NOT EDIT THIS FILE DIRECTLY |
13
|
|
|
|
|
|
|
# It was generated by make_internal_pm.pl |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
package Marpa::R3::Internal; |
16
|
|
|
|
|
|
|
|
17
|
101
|
|
|
101
|
|
2197
|
use 5.010001; |
|
101
|
|
|
|
|
412
|
|
18
|
101
|
|
|
101
|
|
624
|
use strict; |
|
101
|
|
|
|
|
236
|
|
|
101
|
|
|
|
|
2687
|
|
19
|
101
|
|
|
101
|
|
572
|
use warnings; |
|
101
|
|
|
|
|
266
|
|
|
101
|
|
|
|
|
3916
|
|
20
|
101
|
|
|
101
|
|
696
|
use Carp; |
|
101
|
|
|
|
|
329
|
|
|
101
|
|
|
|
|
8246
|
|
21
|
|
|
|
|
|
|
|
22
|
101
|
|
|
101
|
|
743
|
use vars qw($VERSION $STRING_VERSION); |
|
101
|
|
|
|
|
3527
|
|
|
101
|
|
|
|
|
10075
|
|
23
|
|
|
|
|
|
|
$VERSION = '4.001_052'; |
24
|
|
|
|
|
|
|
$STRING_VERSION = $VERSION; |
25
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
package Marpa::R3::Internal::Glade; |
29
|
101
|
|
|
101
|
|
783
|
use constant ID => 0; |
|
101
|
|
|
|
|
221
|
|
|
101
|
|
|
|
|
8017
|
|
30
|
101
|
|
|
101
|
|
769
|
use constant SYMCHES => 1; |
|
101
|
|
|
|
|
267
|
|
|
101
|
|
|
|
|
5671
|
|
31
|
101
|
|
|
101
|
|
689
|
use constant VISITED => 2; |
|
101
|
|
|
|
|
268
|
|
|
101
|
|
|
|
|
5499
|
|
32
|
101
|
|
|
101
|
|
655
|
use constant REGISTERED => 3; |
|
101
|
|
|
|
|
250
|
|
|
101
|
|
|
|
|
6600
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
package Marpa::R3::Internal::Choicepoint; |
35
|
101
|
|
|
101
|
|
791
|
use constant ASF => 0; |
|
101
|
|
|
|
|
230
|
|
|
101
|
|
|
|
|
5588
|
|
36
|
101
|
|
|
101
|
|
678
|
use constant FACTORING_STACK => 1; |
|
101
|
|
|
|
|
238
|
|
|
101
|
|
|
|
|
5301
|
|
37
|
101
|
|
|
101
|
|
659
|
use constant OR_NODE_IN_USE => 2; |
|
101
|
|
|
|
|
207
|
|
|
101
|
|
|
|
|
6593
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nook; |
40
|
101
|
|
|
101
|
|
720
|
use constant PARENT => 0; |
|
101
|
|
|
|
|
279
|
|
|
101
|
|
|
|
|
5468
|
|
41
|
101
|
|
|
101
|
|
660
|
use constant OR_NODE => 1; |
|
101
|
|
|
|
|
267
|
|
|
101
|
|
|
|
|
5420
|
|
42
|
101
|
|
|
101
|
|
685
|
use constant FIRST_CHOICE => 2; |
|
101
|
|
|
|
|
233
|
|
|
101
|
|
|
|
|
6405
|
|
43
|
101
|
|
|
101
|
|
681
|
use constant LAST_CHOICE => 3; |
|
101
|
|
|
|
|
231
|
|
|
101
|
|
|
|
|
5286
|
|
44
|
101
|
|
|
101
|
|
682
|
use constant IS_CAUSE => 4; |
|
101
|
|
|
|
|
245
|
|
|
101
|
|
|
|
|
5369
|
|
45
|
101
|
|
|
101
|
|
694
|
use constant IS_PREDECESSOR => 5; |
|
101
|
|
|
|
|
231
|
|
|
101
|
|
|
|
|
5568
|
|
46
|
101
|
|
|
101
|
|
701
|
use constant CAUSE_IS_EXPANDED => 6; |
|
101
|
|
|
|
|
259
|
|
|
101
|
|
|
|
|
5531
|
|
47
|
101
|
|
|
101
|
|
670
|
use constant PREDECESSOR_IS_EXPANDED => 7; |
|
101
|
|
|
|
|
238
|
|
|
101
|
|
|
|
|
6401
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
package Marpa::R3::Internal_Glade; |
50
|
101
|
|
|
101
|
|
782
|
use constant TRACE_FILE_HANDLE => 0; |
|
101
|
|
|
|
|
244
|
|
|
101
|
|
|
|
|
5490
|
|
51
|
101
|
|
|
101
|
|
769
|
use constant L => 1; |
|
101
|
|
|
|
|
273
|
|
|
101
|
|
|
|
|
5380
|
|
52
|
101
|
|
|
101
|
|
689
|
use constant REGIX => 2; |
|
101
|
|
|
|
|
239
|
|
|
101
|
|
|
|
|
6299
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF; |
55
|
101
|
|
|
101
|
|
691
|
use constant TRACE_FILE_HANDLE => 0; |
|
101
|
|
|
|
|
241
|
|
|
101
|
|
|
|
|
5769
|
|
56
|
101
|
|
|
101
|
|
700
|
use constant L => 1; |
|
101
|
|
|
|
|
234
|
|
|
101
|
|
|
|
|
7351
|
|
57
|
101
|
|
|
101
|
|
663
|
use constant REGIX => 2; |
|
101
|
|
|
|
|
228
|
|
|
101
|
|
|
|
|
4835
|
|
58
|
101
|
|
|
101
|
|
656
|
use constant SLR => 3; |
|
101
|
|
|
|
|
212
|
|
|
101
|
|
|
|
|
4885
|
|
59
|
101
|
|
|
101
|
|
661
|
use constant END_OF_PARSE => 4; |
|
101
|
|
|
|
|
221
|
|
|
101
|
|
|
|
|
5031
|
|
60
|
101
|
|
|
101
|
|
694
|
use constant FACTORING_MAX => 5; |
|
101
|
|
|
|
|
256
|
|
|
101
|
|
|
|
|
6431
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2; |
63
|
101
|
|
|
101
|
|
774
|
use constant TRACE_FILE_HANDLE => 0; |
|
101
|
|
|
|
|
257
|
|
|
101
|
|
|
|
|
5935
|
|
64
|
101
|
|
|
101
|
|
668
|
use constant L => 1; |
|
101
|
|
|
|
|
234
|
|
|
101
|
|
|
|
|
6003
|
|
65
|
101
|
|
|
101
|
|
742
|
use constant REGIX => 2; |
|
101
|
|
|
|
|
276
|
|
|
101
|
|
|
|
|
5204
|
|
66
|
101
|
|
|
101
|
|
654
|
use constant SLR => 3; |
|
101
|
|
|
|
|
214
|
|
|
101
|
|
|
|
|
5092
|
|
67
|
101
|
|
|
101
|
|
655
|
use constant END_OF_PARSE => 4; |
|
101
|
|
|
|
|
239
|
|
|
101
|
|
|
|
|
5075
|
|
68
|
101
|
|
|
101
|
|
665
|
use constant FACTORING_MAX => 5; |
|
101
|
|
|
|
|
294
|
|
|
101
|
|
|
|
|
5397
|
|
69
|
101
|
|
|
101
|
|
670
|
use constant OR_NODES => 6; |
|
101
|
|
|
|
|
222
|
|
|
101
|
|
|
|
|
5283
|
|
70
|
101
|
|
|
101
|
|
649
|
use constant GLADES => 7; |
|
101
|
|
|
|
|
241
|
|
|
101
|
|
|
|
|
5460
|
|
71
|
101
|
|
|
101
|
|
699
|
use constant INTSET_BY_KEY => 8; |
|
101
|
|
|
|
|
322
|
|
|
101
|
|
|
|
|
5213
|
|
72
|
101
|
|
|
101
|
|
663
|
use constant NEXT_INTSET_ID => 9; |
|
101
|
|
|
|
|
269
|
|
|
101
|
|
|
|
|
5178
|
|
73
|
101
|
|
|
101
|
|
681
|
use constant NIDSET_BY_ID => 10; |
|
101
|
|
|
|
|
252
|
|
|
101
|
|
|
|
|
5195
|
|
74
|
101
|
|
|
101
|
|
653
|
use constant POWERSET_BY_ID => 11; |
|
101
|
|
|
|
|
211
|
|
|
101
|
|
|
|
|
6615
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2::Traverse; |
77
|
101
|
|
|
101
|
|
710
|
use constant ASF => 0; |
|
101
|
|
|
|
|
240
|
|
|
101
|
|
|
|
|
5574
|
|
78
|
101
|
|
|
101
|
|
721
|
use constant VALUES => 1; |
|
101
|
|
|
|
|
256
|
|
|
101
|
|
|
|
|
5296
|
|
79
|
101
|
|
|
101
|
|
669
|
use constant CODE => 2; |
|
101
|
|
|
|
|
234
|
|
|
101
|
|
|
|
|
5227
|
|
80
|
101
|
|
|
101
|
|
697
|
use constant PER_TRAVERSE_OBJECT => 3; |
|
101
|
|
|
|
|
268
|
|
|
101
|
|
|
|
|
5315
|
|
81
|
101
|
|
|
101
|
|
731
|
use constant GLADE => 4; |
|
101
|
|
|
|
|
270
|
|
|
101
|
|
|
|
|
5272
|
|
82
|
101
|
|
|
101
|
|
719
|
use constant SYMCH_IX => 5; |
|
101
|
|
|
|
|
325
|
|
|
101
|
|
|
|
|
5237
|
|
83
|
101
|
|
|
101
|
|
663
|
use constant FACTORING_IX => 6; |
|
101
|
|
|
|
|
232
|
|
|
101
|
|
|
|
|
6286
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nidset; |
86
|
101
|
|
|
101
|
|
699
|
use constant ID => 0; |
|
101
|
|
|
|
|
215
|
|
|
101
|
|
|
|
|
5317
|
|
87
|
101
|
|
|
101
|
|
667
|
use constant NIDS => 1; |
|
101
|
|
|
|
|
259
|
|
|
101
|
|
|
|
|
6091
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
package Marpa::R3::Internal::Powerset; |
90
|
101
|
|
|
101
|
|
725
|
use constant ID => 0; |
|
101
|
|
|
|
|
251
|
|
|
101
|
|
|
|
|
5175
|
|
91
|
101
|
|
|
101
|
|
698
|
use constant NIDSET_IDS => 1; |
|
101
|
|
|
|
|
258
|
|
|
101
|
|
|
|
|
6283
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
package Marpa::R3::Internal_G; |
94
|
101
|
|
|
101
|
|
742
|
use constant L => 0; |
|
101
|
|
|
|
|
300
|
|
|
101
|
|
|
|
|
5301
|
|
95
|
101
|
|
|
101
|
|
729
|
use constant REGIX => 1; |
|
101
|
|
|
|
|
257
|
|
|
101
|
|
|
|
|
5119
|
|
96
|
101
|
|
|
101
|
|
679
|
use constant TRACE_FILE_HANDLE => 2; |
|
101
|
|
|
|
|
280
|
|
|
101
|
|
|
|
|
5054
|
|
97
|
101
|
|
|
101
|
|
649
|
use constant CONSTANTS => 3; |
|
101
|
|
|
|
|
239
|
|
|
101
|
|
|
|
|
5096
|
|
98
|
101
|
|
|
101
|
|
647
|
use constant CHARACTER_CLASS_TABLE => 4; |
|
101
|
|
|
|
|
220
|
|
|
101
|
|
|
|
|
5695
|
|
99
|
101
|
|
|
101
|
|
670
|
use constant BLESS_PACKAGE => 5; |
|
101
|
|
|
|
|
240
|
|
|
101
|
|
|
|
|
4900
|
|
100
|
101
|
|
|
101
|
|
673
|
use constant SEMANTICS_PACKAGE => 6; |
|
101
|
|
|
|
|
254
|
|
|
101
|
|
|
|
|
5260
|
|
101
|
101
|
|
|
101
|
|
655
|
use constant TRACE_ACTIONS => 7; |
|
101
|
|
|
|
|
268
|
|
|
101
|
|
|
|
|
5297
|
|
102
|
101
|
|
|
101
|
|
674
|
use constant NULL_VALUES => 8; |
|
101
|
|
|
|
|
263
|
|
|
101
|
|
|
|
|
5050
|
|
103
|
101
|
|
|
101
|
|
664
|
use constant CLOSURE_BY_SYMBOL_ID => 9; |
|
101
|
|
|
|
|
241
|
|
|
101
|
|
|
|
|
5227
|
|
104
|
101
|
|
|
101
|
|
740
|
use constant CLOSURE_BY_RULE_ID => 10; |
|
101
|
|
|
|
|
243
|
|
|
101
|
|
|
|
|
6296
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
package Marpa::R3::Internal_R; |
107
|
101
|
|
|
101
|
|
698
|
use constant SLG => 0; |
|
101
|
|
|
|
|
230
|
|
|
101
|
|
|
|
|
5250
|
|
108
|
101
|
|
|
101
|
|
697
|
use constant L => 1; |
|
101
|
|
|
|
|
216
|
|
|
101
|
|
|
|
|
4854
|
|
109
|
101
|
|
|
101
|
|
674
|
use constant REGIX => 2; |
|
101
|
|
|
|
|
214
|
|
|
101
|
|
|
|
|
5023
|
|
110
|
101
|
|
|
101
|
|
676
|
use constant TRACE_FILE_HANDLE => 3; |
|
101
|
|
|
|
|
227
|
|
|
101
|
|
|
|
|
5219
|
|
111
|
101
|
|
|
101
|
|
726
|
use constant EVENT_HANDLERS => 4; |
|
101
|
|
|
|
|
270
|
|
|
101
|
|
|
|
|
5457
|
|
112
|
101
|
|
|
101
|
|
711
|
use constant CURRENT_EVENT => 5; |
|
101
|
|
|
|
|
250
|
|
|
101
|
|
|
|
|
6742
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
package Marpa::R3::Internal_V; |
115
|
101
|
|
|
101
|
|
759
|
use constant SLR => 0; |
|
101
|
|
|
|
|
251
|
|
|
101
|
|
|
|
|
5311
|
|
116
|
101
|
|
|
101
|
|
694
|
use constant L => 1; |
|
101
|
|
|
|
|
257
|
|
|
101
|
|
|
|
|
5094
|
|
117
|
101
|
|
|
101
|
|
669
|
use constant REGIX => 2; |
|
101
|
|
|
|
|
271
|
|
|
101
|
|
|
|
|
5120
|
|
118
|
101
|
|
|
101
|
|
686
|
use constant TRACE_FILE_HANDLE => 3; |
|
101
|
|
|
|
|
236
|
|
|
101
|
|
|
|
|
5816
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
1; |