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
|
104
|
|
|
104
|
|
1793
|
use 5.010001; |
|
104
|
|
|
|
|
307
|
|
18
|
104
|
|
|
104
|
|
515
|
use strict; |
|
104
|
|
|
|
|
165
|
|
|
104
|
|
|
|
|
1979
|
|
19
|
104
|
|
|
104
|
|
458
|
use warnings; |
|
104
|
|
|
|
|
257
|
|
|
104
|
|
|
|
|
3065
|
|
20
|
104
|
|
|
104
|
|
515
|
use Carp; |
|
104
|
|
|
|
|
192
|
|
|
104
|
|
|
|
|
6781
|
|
21
|
|
|
|
|
|
|
|
22
|
104
|
|
|
104
|
|
3695
|
use vars qw($VERSION $STRING_VERSION); |
|
104
|
|
|
|
|
328
|
|
|
104
|
|
|
|
|
9790
|
|
23
|
|
|
|
|
|
|
$VERSION = '4.001_054'; |
24
|
|
|
|
|
|
|
$STRING_VERSION = $VERSION; |
25
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
package Marpa::R3::Internal::Glade; |
29
|
104
|
|
|
104
|
|
627
|
use constant ID => 0; |
|
104
|
|
|
|
|
210
|
|
|
104
|
|
|
|
|
7034
|
|
30
|
104
|
|
|
104
|
|
555
|
use constant SYMCHES => 1; |
|
104
|
|
|
|
|
202
|
|
|
104
|
|
|
|
|
4873
|
|
31
|
104
|
|
|
104
|
|
544
|
use constant VISITED => 2; |
|
104
|
|
|
|
|
184
|
|
|
104
|
|
|
|
|
4479
|
|
32
|
104
|
|
|
104
|
|
530
|
use constant REGISTERED => 3; |
|
104
|
|
|
|
|
184
|
|
|
104
|
|
|
|
|
6505
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
package Marpa::R3::Internal::Choicepoint; |
35
|
104
|
|
|
104
|
|
658
|
use constant ASF => 0; |
|
104
|
|
|
|
|
352
|
|
|
104
|
|
|
|
|
4626
|
|
36
|
104
|
|
|
104
|
|
584
|
use constant FACTORING_STACK => 1; |
|
104
|
|
|
|
|
240
|
|
|
104
|
|
|
|
|
4317
|
|
37
|
104
|
|
|
104
|
|
505
|
use constant OR_NODE_IN_USE => 2; |
|
104
|
|
|
|
|
162
|
|
|
104
|
|
|
|
|
5055
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nook; |
40
|
104
|
|
|
104
|
|
591
|
use constant PARENT => 0; |
|
104
|
|
|
|
|
204
|
|
|
104
|
|
|
|
|
4689
|
|
41
|
104
|
|
|
104
|
|
575
|
use constant OR_NODE => 1; |
|
104
|
|
|
|
|
225
|
|
|
104
|
|
|
|
|
4795
|
|
42
|
104
|
|
|
104
|
|
546
|
use constant FIRST_CHOICE => 2; |
|
104
|
|
|
|
|
246
|
|
|
104
|
|
|
|
|
5294
|
|
43
|
104
|
|
|
104
|
|
557
|
use constant LAST_CHOICE => 3; |
|
104
|
|
|
|
|
164
|
|
|
104
|
|
|
|
|
5019
|
|
44
|
104
|
|
|
104
|
|
556
|
use constant IS_CAUSE => 4; |
|
104
|
|
|
|
|
216
|
|
|
104
|
|
|
|
|
4353
|
|
45
|
104
|
|
|
104
|
|
550
|
use constant IS_PREDECESSOR => 5; |
|
104
|
|
|
|
|
209
|
|
|
104
|
|
|
|
|
4267
|
|
46
|
104
|
|
|
104
|
|
527
|
use constant CAUSE_IS_EXPANDED => 6; |
|
104
|
|
|
|
|
206
|
|
|
104
|
|
|
|
|
4548
|
|
47
|
104
|
|
|
104
|
|
538
|
use constant PREDECESSOR_IS_EXPANDED => 7; |
|
104
|
|
|
|
|
182
|
|
|
104
|
|
|
|
|
6086
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
package Marpa::R3::Internal_Glade; |
50
|
104
|
|
|
104
|
|
580
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
164
|
|
|
104
|
|
|
|
|
4773
|
|
51
|
104
|
|
|
104
|
|
616
|
use constant L => 1; |
|
104
|
|
|
|
|
157
|
|
|
104
|
|
|
|
|
4516
|
|
52
|
104
|
|
|
104
|
|
565
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
173
|
|
|
104
|
|
|
|
|
5210
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF; |
55
|
104
|
|
|
104
|
|
571
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
162
|
|
|
104
|
|
|
|
|
4717
|
|
56
|
104
|
|
|
104
|
|
528
|
use constant L => 1; |
|
104
|
|
|
|
|
176
|
|
|
104
|
|
|
|
|
4681
|
|
57
|
104
|
|
|
104
|
|
520
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
172
|
|
|
104
|
|
|
|
|
4214
|
|
58
|
104
|
|
|
104
|
|
490
|
use constant SLR => 3; |
|
104
|
|
|
|
|
147
|
|
|
104
|
|
|
|
|
4070
|
|
59
|
104
|
|
|
104
|
|
543
|
use constant END_OF_PARSE => 4; |
|
104
|
|
|
|
|
175
|
|
|
104
|
|
|
|
|
4179
|
|
60
|
104
|
|
|
104
|
|
515
|
use constant FACTORING_MAX => 5; |
|
104
|
|
|
|
|
199
|
|
|
104
|
|
|
|
|
5356
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2; |
63
|
104
|
|
|
104
|
|
538
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
248
|
|
|
104
|
|
|
|
|
4990
|
|
64
|
104
|
|
|
104
|
|
553
|
use constant L => 1; |
|
104
|
|
|
|
|
199
|
|
|
104
|
|
|
|
|
5070
|
|
65
|
104
|
|
|
104
|
|
615
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
184
|
|
|
104
|
|
|
|
|
4211
|
|
66
|
104
|
|
|
104
|
|
507
|
use constant SLR => 3; |
|
104
|
|
|
|
|
195
|
|
|
104
|
|
|
|
|
4448
|
|
67
|
104
|
|
|
104
|
|
508
|
use constant END_OF_PARSE => 4; |
|
104
|
|
|
|
|
175
|
|
|
104
|
|
|
|
|
5094
|
|
68
|
104
|
|
|
104
|
|
532
|
use constant FACTORING_MAX => 5; |
|
104
|
|
|
|
|
214
|
|
|
104
|
|
|
|
|
4520
|
|
69
|
104
|
|
|
104
|
|
498
|
use constant OR_NODES => 6; |
|
104
|
|
|
|
|
173
|
|
|
104
|
|
|
|
|
4294
|
|
70
|
104
|
|
|
104
|
|
542
|
use constant GLADES => 7; |
|
104
|
|
|
|
|
250
|
|
|
104
|
|
|
|
|
4159
|
|
71
|
104
|
|
|
104
|
|
525
|
use constant INTSET_BY_KEY => 8; |
|
104
|
|
|
|
|
192
|
|
|
104
|
|
|
|
|
4429
|
|
72
|
104
|
|
|
104
|
|
547
|
use constant NEXT_INTSET_ID => 9; |
|
104
|
|
|
|
|
211
|
|
|
104
|
|
|
|
|
4084
|
|
73
|
104
|
|
|
104
|
|
613
|
use constant NIDSET_BY_ID => 10; |
|
104
|
|
|
|
|
212
|
|
|
104
|
|
|
|
|
4203
|
|
74
|
104
|
|
|
104
|
|
534
|
use constant POWERSET_BY_ID => 11; |
|
104
|
|
|
|
|
196
|
|
|
104
|
|
|
|
|
5199
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2::Traverse; |
77
|
104
|
|
|
104
|
|
571
|
use constant ASF => 0; |
|
104
|
|
|
|
|
164
|
|
|
104
|
|
|
|
|
4609
|
|
78
|
104
|
|
|
104
|
|
544
|
use constant VALUES => 1; |
|
104
|
|
|
|
|
160
|
|
|
104
|
|
|
|
|
4281
|
|
79
|
104
|
|
|
104
|
|
523
|
use constant CODE => 2; |
|
104
|
|
|
|
|
200
|
|
|
104
|
|
|
|
|
4232
|
|
80
|
104
|
|
|
104
|
|
553
|
use constant PER_TRAVERSE_OBJECT => 3; |
|
104
|
|
|
|
|
173
|
|
|
104
|
|
|
|
|
6980
|
|
81
|
104
|
|
|
104
|
|
552
|
use constant GLADE => 4; |
|
104
|
|
|
|
|
188
|
|
|
104
|
|
|
|
|
4866
|
|
82
|
104
|
|
|
104
|
|
516
|
use constant SYMCH_IX => 5; |
|
104
|
|
|
|
|
853
|
|
|
104
|
|
|
|
|
4167
|
|
83
|
104
|
|
|
104
|
|
613
|
use constant FACTORING_IX => 6; |
|
104
|
|
|
|
|
212
|
|
|
104
|
|
|
|
|
5462
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nidset; |
86
|
104
|
|
|
104
|
|
706
|
use constant ID => 0; |
|
104
|
|
|
|
|
209
|
|
|
104
|
|
|
|
|
4252
|
|
87
|
104
|
|
|
104
|
|
525
|
use constant NIDS => 1; |
|
104
|
|
|
|
|
203
|
|
|
104
|
|
|
|
|
5051
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
package Marpa::R3::Internal::Powerset; |
90
|
104
|
|
|
104
|
|
545
|
use constant ID => 0; |
|
104
|
|
|
|
|
189
|
|
|
104
|
|
|
|
|
4109
|
|
91
|
104
|
|
|
104
|
|
518
|
use constant NIDSET_IDS => 1; |
|
104
|
|
|
|
|
240
|
|
|
104
|
|
|
|
|
5207
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
package Marpa::R3::Internal_G; |
94
|
104
|
|
|
104
|
|
585
|
use constant L => 0; |
|
104
|
|
|
|
|
177
|
|
|
104
|
|
|
|
|
4181
|
|
95
|
104
|
|
|
104
|
|
518
|
use constant REGIX => 1; |
|
104
|
|
|
|
|
241
|
|
|
104
|
|
|
|
|
4476
|
|
96
|
104
|
|
|
104
|
|
533
|
use constant TRACE_FILE_HANDLE => 2; |
|
104
|
|
|
|
|
200
|
|
|
104
|
|
|
|
|
4063
|
|
97
|
104
|
|
|
104
|
|
516
|
use constant CONSTANTS => 3; |
|
104
|
|
|
|
|
170
|
|
|
104
|
|
|
|
|
4111
|
|
98
|
104
|
|
|
104
|
|
512
|
use constant CHARACTER_CLASS_TABLE => 4; |
|
104
|
|
|
|
|
158
|
|
|
104
|
|
|
|
|
4253
|
|
99
|
104
|
|
|
104
|
|
503
|
use constant BLESS_PACKAGE => 5; |
|
104
|
|
|
|
|
181
|
|
|
104
|
|
|
|
|
4296
|
|
100
|
104
|
|
|
104
|
|
540
|
use constant SEMANTICS_PACKAGE => 6; |
|
104
|
|
|
|
|
189
|
|
|
104
|
|
|
|
|
4387
|
|
101
|
104
|
|
|
104
|
|
698
|
use constant TRACE_ACTIONS => 7; |
|
104
|
|
|
|
|
207
|
|
|
104
|
|
|
|
|
4209
|
|
102
|
104
|
|
|
104
|
|
624
|
use constant NULL_VALUES => 8; |
|
104
|
|
|
|
|
174
|
|
|
104
|
|
|
|
|
4212
|
|
103
|
104
|
|
|
104
|
|
584
|
use constant CLOSURE_BY_SYMBOL_ID => 9; |
|
104
|
|
|
|
|
187
|
|
|
104
|
|
|
|
|
4399
|
|
104
|
104
|
|
|
104
|
|
524
|
use constant CLOSURE_BY_RULE_ID => 10; |
|
104
|
|
|
|
|
186
|
|
|
104
|
|
|
|
|
5227
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
package Marpa::R3::Internal_R; |
107
|
104
|
|
|
104
|
|
875
|
use constant SLG => 0; |
|
104
|
|
|
|
|
266
|
|
|
104
|
|
|
|
|
4230
|
|
108
|
104
|
|
|
104
|
|
522
|
use constant L => 1; |
|
104
|
|
|
|
|
182
|
|
|
104
|
|
|
|
|
4036
|
|
109
|
104
|
|
|
104
|
|
504
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
164
|
|
|
104
|
|
|
|
|
4042
|
|
110
|
104
|
|
|
104
|
|
515
|
use constant TRACE_FILE_HANDLE => 3; |
|
104
|
|
|
|
|
178
|
|
|
104
|
|
|
|
|
4310
|
|
111
|
104
|
|
|
104
|
|
634
|
use constant EVENT_HANDLERS => 4; |
|
104
|
|
|
|
|
225
|
|
|
104
|
|
|
|
|
4345
|
|
112
|
104
|
|
|
104
|
|
531
|
use constant CURRENT_EVENT => 5; |
|
104
|
|
|
|
|
198
|
|
|
104
|
|
|
|
|
5422
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
package Marpa::R3::Internal_V; |
115
|
104
|
|
|
104
|
|
574
|
use constant SLR => 0; |
|
104
|
|
|
|
|
194
|
|
|
104
|
|
|
|
|
4274
|
|
116
|
104
|
|
|
104
|
|
504
|
use constant L => 1; |
|
104
|
|
|
|
|
231
|
|
|
104
|
|
|
|
|
4017
|
|
117
|
104
|
|
|
104
|
|
546
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
182
|
|
|
104
|
|
|
|
|
3833
|
|
118
|
104
|
|
|
104
|
|
505
|
use constant TRACE_FILE_HANDLE => 3; |
|
104
|
|
|
|
|
172
|
|
|
104
|
|
|
|
|
5449
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
1; |