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
|
|
1907
|
use 5.010001; |
|
104
|
|
|
|
|
385
|
|
18
|
104
|
|
|
104
|
|
572
|
use strict; |
|
104
|
|
|
|
|
196
|
|
|
104
|
|
|
|
|
2240
|
|
19
|
104
|
|
|
104
|
|
562
|
use warnings; |
|
104
|
|
|
|
|
231
|
|
|
104
|
|
|
|
|
2998
|
|
20
|
104
|
|
|
104
|
|
578
|
use Carp; |
|
104
|
|
|
|
|
215
|
|
|
104
|
|
|
|
|
6965
|
|
21
|
|
|
|
|
|
|
|
22
|
104
|
|
|
104
|
|
3763
|
use vars qw($VERSION $STRING_VERSION); |
|
104
|
|
|
|
|
364
|
|
|
104
|
|
|
|
|
8817
|
|
23
|
|
|
|
|
|
|
$VERSION = '4.001_053'; |
24
|
|
|
|
|
|
|
$STRING_VERSION = $VERSION; |
25
|
|
|
|
|
|
|
$VERSION = eval $VERSION; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
package Marpa::R3::Internal::Glade; |
29
|
104
|
|
|
104
|
|
758
|
use constant ID => 0; |
|
104
|
|
|
|
|
247
|
|
|
104
|
|
|
|
|
6853
|
|
30
|
104
|
|
|
104
|
|
677
|
use constant SYMCHES => 1; |
|
104
|
|
|
|
|
270
|
|
|
104
|
|
|
|
|
5547
|
|
31
|
104
|
|
|
104
|
|
673
|
use constant VISITED => 2; |
|
104
|
|
|
|
|
278
|
|
|
104
|
|
|
|
|
5465
|
|
32
|
104
|
|
|
104
|
|
632
|
use constant REGISTERED => 3; |
|
104
|
|
|
|
|
223
|
|
|
104
|
|
|
|
|
6303
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
package Marpa::R3::Internal::Choicepoint; |
35
|
104
|
|
|
104
|
|
716
|
use constant ASF => 0; |
|
104
|
|
|
|
|
378
|
|
|
104
|
|
|
|
|
5260
|
|
36
|
104
|
|
|
104
|
|
646
|
use constant FACTORING_STACK => 1; |
|
104
|
|
|
|
|
224
|
|
|
104
|
|
|
|
|
5087
|
|
37
|
104
|
|
|
104
|
|
599
|
use constant OR_NODE_IN_USE => 2; |
|
104
|
|
|
|
|
188
|
|
|
104
|
|
|
|
|
6039
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nook; |
40
|
104
|
|
|
104
|
|
712
|
use constant PARENT => 0; |
|
104
|
|
|
|
|
231
|
|
|
104
|
|
|
|
|
5336
|
|
41
|
104
|
|
|
104
|
|
714
|
use constant OR_NODE => 1; |
|
104
|
|
|
|
|
269
|
|
|
104
|
|
|
|
|
5116
|
|
42
|
104
|
|
|
104
|
|
621
|
use constant FIRST_CHOICE => 2; |
|
104
|
|
|
|
|
270
|
|
|
104
|
|
|
|
|
6036
|
|
43
|
104
|
|
|
104
|
|
692
|
use constant LAST_CHOICE => 3; |
|
104
|
|
|
|
|
197
|
|
|
104
|
|
|
|
|
5400
|
|
44
|
104
|
|
|
104
|
|
670
|
use constant IS_CAUSE => 4; |
|
104
|
|
|
|
|
234
|
|
|
104
|
|
|
|
|
4892
|
|
45
|
104
|
|
|
104
|
|
641
|
use constant IS_PREDECESSOR => 5; |
|
104
|
|
|
|
|
236
|
|
|
104
|
|
|
|
|
5203
|
|
46
|
104
|
|
|
104
|
|
605
|
use constant CAUSE_IS_EXPANDED => 6; |
|
104
|
|
|
|
|
223
|
|
|
104
|
|
|
|
|
4994
|
|
47
|
104
|
|
|
104
|
|
632
|
use constant PREDECESSOR_IS_EXPANDED => 7; |
|
104
|
|
|
|
|
216
|
|
|
104
|
|
|
|
|
5922
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
package Marpa::R3::Internal_Glade; |
50
|
104
|
|
|
104
|
|
678
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
230
|
|
|
104
|
|
|
|
|
5364
|
|
51
|
104
|
|
|
104
|
|
614
|
use constant L => 1; |
|
104
|
|
|
|
|
216
|
|
|
104
|
|
|
|
|
5073
|
|
52
|
104
|
|
|
104
|
|
670
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
208
|
|
|
104
|
|
|
|
|
5890
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF; |
55
|
104
|
|
|
104
|
|
684
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
241
|
|
|
104
|
|
|
|
|
5602
|
|
56
|
104
|
|
|
104
|
|
656
|
use constant L => 1; |
|
104
|
|
|
|
|
215
|
|
|
104
|
|
|
|
|
4689
|
|
57
|
104
|
|
|
104
|
|
630
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
214
|
|
|
104
|
|
|
|
|
4747
|
|
58
|
104
|
|
|
104
|
|
612
|
use constant SLR => 3; |
|
104
|
|
|
|
|
180
|
|
|
104
|
|
|
|
|
4690
|
|
59
|
104
|
|
|
104
|
|
633
|
use constant END_OF_PARSE => 4; |
|
104
|
|
|
|
|
191
|
|
|
104
|
|
|
|
|
4963
|
|
60
|
104
|
|
|
104
|
|
629
|
use constant FACTORING_MAX => 5; |
|
104
|
|
|
|
|
221
|
|
|
104
|
|
|
|
|
6109
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2; |
63
|
104
|
|
|
104
|
|
698
|
use constant TRACE_FILE_HANDLE => 0; |
|
104
|
|
|
|
|
244
|
|
|
104
|
|
|
|
|
5605
|
|
64
|
104
|
|
|
104
|
|
667
|
use constant L => 1; |
|
104
|
|
|
|
|
221
|
|
|
104
|
|
|
|
|
5861
|
|
65
|
104
|
|
|
104
|
|
688
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
218
|
|
|
104
|
|
|
|
|
4882
|
|
66
|
104
|
|
|
104
|
|
628
|
use constant SLR => 3; |
|
104
|
|
|
|
|
223
|
|
|
104
|
|
|
|
|
4741
|
|
67
|
104
|
|
|
104
|
|
610
|
use constant END_OF_PARSE => 4; |
|
104
|
|
|
|
|
218
|
|
|
104
|
|
|
|
|
4866
|
|
68
|
104
|
|
|
104
|
|
643
|
use constant FACTORING_MAX => 5; |
|
104
|
|
|
|
|
257
|
|
|
104
|
|
|
|
|
4825
|
|
69
|
104
|
|
|
104
|
|
632
|
use constant OR_NODES => 6; |
|
104
|
|
|
|
|
263
|
|
|
104
|
|
|
|
|
4954
|
|
70
|
104
|
|
|
104
|
|
702
|
use constant GLADES => 7; |
|
104
|
|
|
|
|
265
|
|
|
104
|
|
|
|
|
4782
|
|
71
|
104
|
|
|
104
|
|
682
|
use constant INTSET_BY_KEY => 8; |
|
104
|
|
|
|
|
254
|
|
|
104
|
|
|
|
|
4967
|
|
72
|
104
|
|
|
104
|
|
682
|
use constant NEXT_INTSET_ID => 9; |
|
104
|
|
|
|
|
215
|
|
|
104
|
|
|
|
|
4808
|
|
73
|
104
|
|
|
104
|
|
658
|
use constant NIDSET_BY_ID => 10; |
|
104
|
|
|
|
|
608
|
|
|
104
|
|
|
|
|
4785
|
|
74
|
104
|
|
|
104
|
|
600
|
use constant POWERSET_BY_ID => 11; |
|
104
|
|
|
|
|
230
|
|
|
104
|
|
|
|
|
6103
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
package Marpa::R3::Internal_ASF2::Traverse; |
77
|
104
|
|
|
104
|
|
699
|
use constant ASF => 0; |
|
104
|
|
|
|
|
252
|
|
|
104
|
|
|
|
|
5332
|
|
78
|
104
|
|
|
104
|
|
1045
|
use constant VALUES => 1; |
|
104
|
|
|
|
|
205
|
|
|
104
|
|
|
|
|
5113
|
|
79
|
104
|
|
|
104
|
|
660
|
use constant CODE => 2; |
|
104
|
|
|
|
|
227
|
|
|
104
|
|
|
|
|
5077
|
|
80
|
104
|
|
|
104
|
|
709
|
use constant PER_TRAVERSE_OBJECT => 3; |
|
104
|
|
|
|
|
209
|
|
|
104
|
|
|
|
|
5029
|
|
81
|
104
|
|
|
104
|
|
665
|
use constant GLADE => 4; |
|
104
|
|
|
|
|
230
|
|
|
104
|
|
|
|
|
4886
|
|
82
|
104
|
|
|
104
|
|
663
|
use constant SYMCH_IX => 5; |
|
104
|
|
|
|
|
203
|
|
|
104
|
|
|
|
|
4981
|
|
83
|
104
|
|
|
104
|
|
610
|
use constant FACTORING_IX => 6; |
|
104
|
|
|
|
|
201
|
|
|
104
|
|
|
|
|
6419
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
package Marpa::R3::Internal::Nidset; |
86
|
104
|
|
|
104
|
|
720
|
use constant ID => 0; |
|
104
|
|
|
|
|
251
|
|
|
104
|
|
|
|
|
5049
|
|
87
|
104
|
|
|
104
|
|
632
|
use constant NIDS => 1; |
|
104
|
|
|
|
|
237
|
|
|
104
|
|
|
|
|
5817
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
package Marpa::R3::Internal::Powerset; |
90
|
104
|
|
|
104
|
|
679
|
use constant ID => 0; |
|
104
|
|
|
|
|
260
|
|
|
104
|
|
|
|
|
4984
|
|
91
|
104
|
|
|
104
|
|
661
|
use constant NIDSET_IDS => 1; |
|
104
|
|
|
|
|
258
|
|
|
104
|
|
|
|
|
6021
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
package Marpa::R3::Internal_G; |
94
|
104
|
|
|
104
|
|
679
|
use constant L => 0; |
|
104
|
|
|
|
|
231
|
|
|
104
|
|
|
|
|
5061
|
|
95
|
104
|
|
|
104
|
|
667
|
use constant REGIX => 1; |
|
104
|
|
|
|
|
218
|
|
|
104
|
|
|
|
|
4734
|
|
96
|
104
|
|
|
104
|
|
630
|
use constant TRACE_FILE_HANDLE => 2; |
|
104
|
|
|
|
|
196
|
|
|
104
|
|
|
|
|
4698
|
|
97
|
104
|
|
|
104
|
|
617
|
use constant CONSTANTS => 3; |
|
104
|
|
|
|
|
197
|
|
|
104
|
|
|
|
|
4881
|
|
98
|
104
|
|
|
104
|
|
615
|
use constant CHARACTER_CLASS_TABLE => 4; |
|
104
|
|
|
|
|
195
|
|
|
104
|
|
|
|
|
5097
|
|
99
|
104
|
|
|
104
|
|
685
|
use constant BLESS_PACKAGE => 5; |
|
104
|
|
|
|
|
213
|
|
|
104
|
|
|
|
|
4825
|
|
100
|
104
|
|
|
104
|
|
633
|
use constant SEMANTICS_PACKAGE => 6; |
|
104
|
|
|
|
|
226
|
|
|
104
|
|
|
|
|
4999
|
|
101
|
104
|
|
|
104
|
|
710
|
use constant TRACE_ACTIONS => 7; |
|
104
|
|
|
|
|
301
|
|
|
104
|
|
|
|
|
4894
|
|
102
|
104
|
|
|
104
|
|
666
|
use constant NULL_VALUES => 8; |
|
104
|
|
|
|
|
227
|
|
|
104
|
|
|
|
|
4731
|
|
103
|
104
|
|
|
104
|
|
675
|
use constant CLOSURE_BY_SYMBOL_ID => 9; |
|
104
|
|
|
|
|
253
|
|
|
104
|
|
|
|
|
5019
|
|
104
|
104
|
|
|
104
|
|
639
|
use constant CLOSURE_BY_RULE_ID => 10; |
|
104
|
|
|
|
|
207
|
|
|
104
|
|
|
|
|
5733
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
package Marpa::R3::Internal_R; |
107
|
104
|
|
|
104
|
|
745
|
use constant SLG => 0; |
|
104
|
|
|
|
|
218
|
|
|
104
|
|
|
|
|
5128
|
|
108
|
104
|
|
|
104
|
|
671
|
use constant L => 1; |
|
104
|
|
|
|
|
202
|
|
|
104
|
|
|
|
|
4641
|
|
109
|
104
|
|
|
104
|
|
631
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
208
|
|
|
104
|
|
|
|
|
4636
|
|
110
|
104
|
|
|
104
|
|
624
|
use constant TRACE_FILE_HANDLE => 3; |
|
104
|
|
|
|
|
220
|
|
|
104
|
|
|
|
|
4897
|
|
111
|
104
|
|
|
104
|
|
640
|
use constant EVENT_HANDLERS => 4; |
|
104
|
|
|
|
|
568
|
|
|
104
|
|
|
|
|
5094
|
|
112
|
104
|
|
|
104
|
|
653
|
use constant CURRENT_EVENT => 5; |
|
104
|
|
|
|
|
249
|
|
|
104
|
|
|
|
|
6337
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
package Marpa::R3::Internal_V; |
115
|
104
|
|
|
104
|
|
701
|
use constant SLR => 0; |
|
104
|
|
|
|
|
201
|
|
|
104
|
|
|
|
|
4895
|
|
116
|
104
|
|
|
104
|
|
599
|
use constant L => 1; |
|
104
|
|
|
|
|
225
|
|
|
104
|
|
|
|
|
4529
|
|
117
|
104
|
|
|
104
|
|
674
|
use constant REGIX => 2; |
|
104
|
|
|
|
|
240
|
|
|
104
|
|
|
|
|
5044
|
|
118
|
104
|
|
|
104
|
|
614
|
use constant TRACE_FILE_HANDLE => 3; |
|
104
|
|
|
|
|
215
|
|
|
104
|
|
|
|
|
5423
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
1; |