zonesync 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/lib/zonesync/cli.rb +9 -0
- data/lib/zonesync/cloudflare.rb +64 -39
- data/lib/zonesync/diff.rb +10 -1
- data/lib/zonesync/errors.rb +35 -0
- data/lib/zonesync/generate.rb +14 -0
- data/lib/zonesync/http.rb +24 -8
- data/lib/zonesync/logger.rb +20 -15
- data/lib/zonesync/manifest.rb +21 -5
- data/lib/zonesync/parser.rb +337 -0
- data/lib/zonesync/provider.rb +80 -26
- data/lib/zonesync/record.rb +18 -23
- data/lib/zonesync/route53.rb +48 -27
- data/lib/zonesync/sync.rb +40 -0
- data/lib/zonesync/validator.rb +19 -15
- data/lib/zonesync/version.rb +1 -1
- data/lib/zonesync/zonefile.rb +22 -311
- data/lib/zonesync.rb +27 -60
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/activesupport.rbi +457 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/webmock.rbi +9 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/activesupport@8.0.1.rbi +18474 -0
- data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
- data/sorbet/rbi/gems/base64@0.2.0.rbi +507 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +11645 -0
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
- data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +1131 -0
- data/sorbet/rbi/gems/drb@2.2.1.rbi +1347 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
- data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
- data/sorbet/rbi/gems/i18n@1.14.6.rbi +2275 -0
- data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
- data/sorbet/rbi/gems/logger@1.6.4.rbi +940 -0
- data/sorbet/rbi/gems/minitest@5.25.4.rbi +1547 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/polyglot@0.3.5.rbi +42 -0
- data/sorbet/rbi/gems/prism@1.3.0.rbi +40040 -0
- data/sorbet/rbi/gems/psych@5.2.2.rbi +1785 -0
- data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
- data/sorbet/rbi/gems/rbi@0.2.2.rbi +4527 -0
- data/sorbet/rbi/gems/rdoc@6.10.0.rbi +12766 -0
- data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
- data/sorbet/rbi/gems/rexml@3.4.0.rbi +4974 -0
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +10896 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.2.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.2.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
- data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.16.6.rbi +3611 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/treetop@1.6.12.rbi +1895 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
- data/sorbet/rbi/gems/uri@1.0.2.rbi +2340 -0
- data/sorbet/rbi/gems/webmock@3.24.0.rbi +1780 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/rbi/todo.rbi +7 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/zonesync.gemspec +3 -0
- metadata +100 -2
@@ -0,0 +1,1895 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `treetop` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem treetop`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#1
|
9
|
+
class IntervalSkipList
|
10
|
+
# @return [IntervalSkipList] a new instance of IntervalSkipList
|
11
|
+
#
|
12
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#4
|
13
|
+
def initialize; end
|
14
|
+
|
15
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#36
|
16
|
+
def containing(n); end
|
17
|
+
|
18
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#64
|
19
|
+
def delete(marker); end
|
20
|
+
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#14
|
24
|
+
def empty?; end
|
25
|
+
|
26
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#18
|
27
|
+
def expire(range, length_change); end
|
28
|
+
|
29
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#40
|
30
|
+
def insert(range, marker); end
|
31
|
+
|
32
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#10
|
33
|
+
def max_height; end
|
34
|
+
|
35
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#24
|
36
|
+
def overlapping(range); end
|
37
|
+
|
38
|
+
# Returns the value of attribute probability.
|
39
|
+
#
|
40
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#2
|
41
|
+
def probability; end
|
42
|
+
|
43
|
+
protected
|
44
|
+
|
45
|
+
# @return [Boolean]
|
46
|
+
#
|
47
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#157
|
48
|
+
def can_ascend_from?(node, level); end
|
49
|
+
|
50
|
+
# @return [Boolean]
|
51
|
+
#
|
52
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#161
|
53
|
+
def can_descend_from?(level); end
|
54
|
+
|
55
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#112
|
56
|
+
def containing_with_node(n); end
|
57
|
+
|
58
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#128
|
59
|
+
def delete_node(key); end
|
60
|
+
|
61
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#134
|
62
|
+
def find(key, path); end
|
63
|
+
|
64
|
+
# Returns the value of attribute head.
|
65
|
+
#
|
66
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#100
|
67
|
+
def head; end
|
68
|
+
|
69
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#102
|
70
|
+
def insert_node(key); end
|
71
|
+
|
72
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#145
|
73
|
+
def make_path; end
|
74
|
+
|
75
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#177
|
76
|
+
def mark_forward_path_at_level(node, level, marker); end
|
77
|
+
|
78
|
+
# @return [Boolean]
|
79
|
+
#
|
80
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#169
|
81
|
+
def next_node_at_level_inside_range?(node, level, range); end
|
82
|
+
|
83
|
+
# @return [Boolean]
|
84
|
+
#
|
85
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#173
|
86
|
+
def next_node_at_level_outside_range?(node, level, range); end
|
87
|
+
|
88
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#149
|
89
|
+
def next_node_height; end
|
90
|
+
|
91
|
+
# @return [Boolean]
|
92
|
+
#
|
93
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#165
|
94
|
+
def node_inside_range?(node, range); end
|
95
|
+
|
96
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#191
|
97
|
+
def nodes; end
|
98
|
+
|
99
|
+
# Returns the value of attribute ranges.
|
100
|
+
#
|
101
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#100
|
102
|
+
def ranges; end
|
103
|
+
|
104
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/interval_skip_list.rb#184
|
105
|
+
def unmark_forward_path_at_level(node, level, marker); end
|
106
|
+
end
|
107
|
+
|
108
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#2
|
109
|
+
class IntervalSkipList::HeadNode
|
110
|
+
# @return [HeadNode] a new instance of HeadNode
|
111
|
+
#
|
112
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#5
|
113
|
+
def initialize(height); end
|
114
|
+
|
115
|
+
# Returns the value of attribute forward.
|
116
|
+
#
|
117
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#3
|
118
|
+
def forward; end
|
119
|
+
|
120
|
+
# Returns the value of attribute forward_markers.
|
121
|
+
#
|
122
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#3
|
123
|
+
def forward_markers; end
|
124
|
+
|
125
|
+
# Returns the value of attribute height.
|
126
|
+
#
|
127
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#3
|
128
|
+
def height; end
|
129
|
+
|
130
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/head_node.rb#11
|
131
|
+
def top_level; end
|
132
|
+
end
|
133
|
+
|
134
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#2
|
135
|
+
class IntervalSkipList::Node < ::IntervalSkipList::HeadNode
|
136
|
+
# @return [Node] a new instance of Node
|
137
|
+
#
|
138
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#6
|
139
|
+
def initialize(key, height, path); end
|
140
|
+
|
141
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#15
|
142
|
+
def all_forward_markers; end
|
143
|
+
|
144
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#19
|
145
|
+
def delete(path); end
|
146
|
+
|
147
|
+
# Returns the value of attribute endpoint_of.
|
148
|
+
#
|
149
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#4
|
150
|
+
def endpoint_of; end
|
151
|
+
|
152
|
+
# Returns the value of attribute key.
|
153
|
+
#
|
154
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#3
|
155
|
+
def key; end
|
156
|
+
|
157
|
+
# Sets the attribute key
|
158
|
+
#
|
159
|
+
# @param value the value to set the attribute key to.
|
160
|
+
#
|
161
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#3
|
162
|
+
def key=(_arg0); end
|
163
|
+
|
164
|
+
# Returns the value of attribute markers.
|
165
|
+
#
|
166
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#4
|
167
|
+
def markers; end
|
168
|
+
|
169
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#26
|
170
|
+
def propagate_length_change(length_change); end
|
171
|
+
|
172
|
+
protected
|
173
|
+
|
174
|
+
# @return [Boolean]
|
175
|
+
#
|
176
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#74
|
177
|
+
def can_be_promoted_higher?(marker, level); end
|
178
|
+
|
179
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#78
|
180
|
+
def delete_marker_from_path(marker, level, terminus); end
|
181
|
+
|
182
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#92
|
183
|
+
def demote_inbound_markers(path); end
|
184
|
+
|
185
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#87
|
186
|
+
def demote_markers(path); end
|
187
|
+
|
188
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#120
|
189
|
+
def demote_outbound_markers(path); end
|
190
|
+
|
191
|
+
# @return [Boolean]
|
192
|
+
#
|
193
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#139
|
194
|
+
def forward_node_with_marker_at_or_above_level?(marker, level); end
|
195
|
+
|
196
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#155
|
197
|
+
def place_marker_on_inbound_path(marker, level, terminus); end
|
198
|
+
|
199
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#146
|
200
|
+
def place_marker_on_outbound_path(marker, level, terminus); end
|
201
|
+
|
202
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#43
|
203
|
+
def promote_markers(path); end
|
204
|
+
|
205
|
+
# source://treetop//lib/treetop/runtime/interval_skip_list/node.rb#36
|
206
|
+
def update_forward_pointers(path); end
|
207
|
+
end
|
208
|
+
|
209
|
+
# source://treetop//lib/treetop/ruby_extensions/string.rb#1
|
210
|
+
class String
|
211
|
+
include ::Comparable
|
212
|
+
|
213
|
+
# source://treetop//lib/treetop/ruby_extensions/string.rb#2
|
214
|
+
def column_of(index); end
|
215
|
+
|
216
|
+
# source://treetop//lib/treetop/ruby_extensions/string.rb#12
|
217
|
+
def line_of(index); end
|
218
|
+
|
219
|
+
# The following methods are lifted from Facets 2.0.2
|
220
|
+
#
|
221
|
+
# source://treetop//lib/treetop/ruby_extensions/string.rb#17
|
222
|
+
def tabto(n); end
|
223
|
+
|
224
|
+
# source://treetop//lib/treetop/ruby_extensions/string.rb#31
|
225
|
+
def treetop_camelize; end
|
226
|
+
end
|
227
|
+
|
228
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#1
|
229
|
+
module Treetop
|
230
|
+
class << self
|
231
|
+
# compile a treetop source file and load it
|
232
|
+
#
|
233
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#35
|
234
|
+
def load(path); end
|
235
|
+
|
236
|
+
# compile a treetop source string and load it
|
237
|
+
#
|
238
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#48
|
239
|
+
def load_from_string(s); end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# source://treetop//lib/treetop/compiler/lexical_address_space.rb#2
|
244
|
+
module Treetop::Compiler; end
|
245
|
+
|
246
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#3
|
247
|
+
Treetop::Compiler::AUTOGENERATED = T.let(T.unsafe(nil), String)
|
248
|
+
|
249
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#26
|
250
|
+
class Treetop::Compiler::AndPredicate < ::Treetop::Compiler::Predicate
|
251
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#31
|
252
|
+
def when_failure; end
|
253
|
+
|
254
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#27
|
255
|
+
def when_success; end
|
256
|
+
end
|
257
|
+
|
258
|
+
# source://treetop//lib/treetop/compiler/node_classes/anything_symbol.rb#3
|
259
|
+
class Treetop::Compiler::AnythingSymbol < ::Treetop::Compiler::AtomicExpression
|
260
|
+
# source://treetop//lib/treetop/compiler/node_classes/anything_symbol.rb#4
|
261
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
262
|
+
|
263
|
+
# source://treetop//lib/treetop/compiler/node_classes/anything_symbol.rb#21
|
264
|
+
def expected; end
|
265
|
+
|
266
|
+
# source://treetop//lib/treetop/compiler/node_classes/anything_symbol.rb#25
|
267
|
+
def inline_module; end
|
268
|
+
end
|
269
|
+
|
270
|
+
# source://treetop//lib/treetop/compiler/node_classes/atomic_expression.rb#3
|
271
|
+
class Treetop::Compiler::AtomicExpression < ::Treetop::Compiler::ParsingExpression
|
272
|
+
# source://treetop//lib/treetop/compiler/node_classes/atomic_expression.rb#4
|
273
|
+
def inline_modules; end
|
274
|
+
|
275
|
+
# source://treetop//lib/treetop/compiler/node_classes/atomic_expression.rb#8
|
276
|
+
def single_quote(string); end
|
277
|
+
end
|
278
|
+
|
279
|
+
# source://treetop//lib/treetop/compiler/node_classes/character_class.rb#3
|
280
|
+
class Treetop::Compiler::CharacterClass < ::Treetop::Compiler::AtomicExpression
|
281
|
+
# source://treetop//lib/treetop/compiler/node_classes/character_class.rb#4
|
282
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
283
|
+
|
284
|
+
# source://treetop//lib/treetop/compiler/node_classes/character_class.rb#22
|
285
|
+
def expected; end
|
286
|
+
|
287
|
+
# source://treetop//lib/treetop/compiler/node_classes/character_class.rb#30
|
288
|
+
def grounded_regexp(string); end
|
289
|
+
|
290
|
+
# source://treetop//lib/treetop/compiler/node_classes/character_class.rb#26
|
291
|
+
def inline_module; end
|
292
|
+
end
|
293
|
+
|
294
|
+
# source://treetop//lib/treetop/compiler/node_classes/choice.rb#3
|
295
|
+
class Treetop::Compiler::Choice < ::Treetop::Compiler::ParsingExpression
|
296
|
+
# source://treetop//lib/treetop/compiler/node_classes/choice.rb#4
|
297
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
298
|
+
|
299
|
+
# source://treetop//lib/treetop/compiler/node_classes/choice.rb#12
|
300
|
+
def compile_alternatives(alternatives, parent_expression); end
|
301
|
+
|
302
|
+
# source://treetop//lib/treetop/compiler/node_classes/choice.rb#32
|
303
|
+
def expected; end
|
304
|
+
end
|
305
|
+
|
306
|
+
# source://treetop//lib/treetop/compiler/node_classes/declaration_sequence.rb#3
|
307
|
+
class Treetop::Compiler::DeclarationSequence < ::Treetop::Runtime::SyntaxNode
|
308
|
+
# source://treetop//lib/treetop/compiler/node_classes/declaration_sequence.rb#5
|
309
|
+
def compile(builder); end
|
310
|
+
|
311
|
+
# source://treetop//lib/treetop/compiler/node_classes/declaration_sequence.rb#19
|
312
|
+
def rules; end
|
313
|
+
end
|
314
|
+
|
315
|
+
# source://treetop//lib/treetop/compiler/node_classes/grammar.rb#3
|
316
|
+
class Treetop::Compiler::Grammar < ::Treetop::Runtime::SyntaxNode
|
317
|
+
# source://treetop//lib/treetop/compiler/node_classes/grammar.rb#4
|
318
|
+
def compile; end
|
319
|
+
|
320
|
+
# source://treetop//lib/treetop/compiler/node_classes/grammar.rb#19
|
321
|
+
def indent_level; end
|
322
|
+
|
323
|
+
# source://treetop//lib/treetop/compiler/node_classes/grammar.rb#23
|
324
|
+
def parser_name; end
|
325
|
+
end
|
326
|
+
|
327
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#4
|
328
|
+
class Treetop::Compiler::GrammarCompiler
|
329
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#5
|
330
|
+
def compile(source_path, target_path = T.unsafe(nil)); end
|
331
|
+
|
332
|
+
# compile a treetop file into ruby
|
333
|
+
#
|
334
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#18
|
335
|
+
def ruby_source(source_path); end
|
336
|
+
|
337
|
+
# compile a string containing treetop source into ruby
|
338
|
+
#
|
339
|
+
# source://treetop//lib/treetop/compiler/grammar_compiler.rb#23
|
340
|
+
def ruby_source_from_string(s); end
|
341
|
+
end
|
342
|
+
|
343
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#11
|
344
|
+
class Treetop::Compiler::InlineModule < ::Treetop::Runtime::SyntaxNode
|
345
|
+
include ::Treetop::Compiler::InlineModuleMixin
|
346
|
+
|
347
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#15
|
348
|
+
def compile(index, builder, rule); end
|
349
|
+
|
350
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#22
|
351
|
+
def ruby_code; end
|
352
|
+
end
|
353
|
+
|
354
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#3
|
355
|
+
module Treetop::Compiler::InlineModuleMixin
|
356
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#6
|
357
|
+
def compile(index, builder, rule); end
|
358
|
+
|
359
|
+
# Returns the value of attribute module_name.
|
360
|
+
#
|
361
|
+
# source://treetop//lib/treetop/compiler/node_classes/inline_module.rb#4
|
362
|
+
def module_name; end
|
363
|
+
end
|
364
|
+
|
365
|
+
# source://treetop//lib/treetop/compiler/lexical_address_space.rb#3
|
366
|
+
class Treetop::Compiler::LexicalAddressSpace
|
367
|
+
# @return [LexicalAddressSpace] a new instance of LexicalAddressSpace
|
368
|
+
#
|
369
|
+
# source://treetop//lib/treetop/compiler/lexical_address_space.rb#4
|
370
|
+
def initialize; end
|
371
|
+
|
372
|
+
# source://treetop//lib/treetop/compiler/lexical_address_space.rb#8
|
373
|
+
def next_address; end
|
374
|
+
|
375
|
+
# source://treetop//lib/treetop/compiler/lexical_address_space.rb#12
|
376
|
+
def reset_addresses; end
|
377
|
+
end
|
378
|
+
|
379
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#6
|
380
|
+
module Treetop::Compiler::Metagrammar
|
381
|
+
include ::Treetop::Runtime
|
382
|
+
|
383
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4015
|
384
|
+
def _nt_alpha_char; end
|
385
|
+
|
386
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4039
|
387
|
+
def _nt_alphanumeric_char; end
|
388
|
+
|
389
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1407
|
390
|
+
def _nt_alternative; end
|
391
|
+
|
392
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3484
|
393
|
+
def _nt_anything_symbol; end
|
394
|
+
|
395
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2493
|
396
|
+
def _nt_atomic; end
|
397
|
+
|
398
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3264
|
399
|
+
def _nt_bracket_expression; end
|
400
|
+
|
401
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3090
|
402
|
+
def _nt_character_class; end
|
403
|
+
|
404
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1107
|
405
|
+
def _nt_choice; end
|
406
|
+
|
407
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4129
|
408
|
+
def _nt_comment_to_eol; end
|
409
|
+
|
410
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#785
|
411
|
+
def _nt_declaration; end
|
412
|
+
|
413
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#710
|
414
|
+
def _nt_declaration_sequence; end
|
415
|
+
|
416
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2812
|
417
|
+
def _nt_double_quoted_string; end
|
418
|
+
|
419
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#530
|
420
|
+
def _nt_grammar; end
|
421
|
+
|
422
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#629
|
423
|
+
def _nt_grammar_name; end
|
424
|
+
|
425
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#830
|
426
|
+
def _nt_include_declaration; end
|
427
|
+
|
428
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3794
|
429
|
+
def _nt_inline_module; end
|
430
|
+
|
431
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3902
|
432
|
+
def _nt_keyword_inside_grammar; end
|
433
|
+
|
434
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1858
|
435
|
+
def _nt_label; end
|
436
|
+
|
437
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1387
|
438
|
+
def _nt_labeled_expression_sequence_body; end
|
439
|
+
|
440
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1762
|
441
|
+
def _nt_labeled_sequence_primary; end
|
442
|
+
|
443
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#310
|
444
|
+
def _nt_module_declaration; end
|
445
|
+
|
446
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#227
|
447
|
+
def _nt_module_or_grammar; end
|
448
|
+
|
449
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1906
|
450
|
+
def _nt_named_label; end
|
451
|
+
|
452
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2265
|
453
|
+
def _nt_node_class_declarations; end
|
454
|
+
|
455
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3530
|
456
|
+
def _nt_node_class_expression; end
|
457
|
+
|
458
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3970
|
459
|
+
def _nt_non_space_char; end
|
460
|
+
|
461
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2626
|
462
|
+
def _nt_nonterminal; end
|
463
|
+
|
464
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1972
|
465
|
+
def _nt_null_label; end
|
466
|
+
|
467
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2357
|
468
|
+
def _nt_occurrence_range; end
|
469
|
+
|
470
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2213
|
471
|
+
def _nt_optional_suffix; end
|
472
|
+
|
473
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1702
|
474
|
+
def _nt_optionally_labeled_sequence_primary; end
|
475
|
+
|
476
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2550
|
477
|
+
def _nt_parenthesized_expression; end
|
478
|
+
|
479
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1031
|
480
|
+
def _nt_parsing_expression; end
|
481
|
+
|
482
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#940
|
483
|
+
def _nt_parsing_rule; end
|
484
|
+
|
485
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3751
|
486
|
+
def _nt_predicate_block; end
|
487
|
+
|
488
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2437
|
489
|
+
def _nt_prefix; end
|
490
|
+
|
491
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1589
|
492
|
+
def _nt_primary; end
|
493
|
+
|
494
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2741
|
495
|
+
def _nt_quoted_string; end
|
496
|
+
|
497
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2297
|
498
|
+
def _nt_repetition_suffix; end
|
499
|
+
|
500
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#127
|
501
|
+
def _nt_require_statement; end
|
502
|
+
|
503
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1228
|
504
|
+
def _nt_sequence; end
|
505
|
+
|
506
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1260
|
507
|
+
def _nt_sequence_body; end
|
508
|
+
|
509
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2086
|
510
|
+
def _nt_sequence_primary; end
|
511
|
+
|
512
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2945
|
513
|
+
def _nt_single_quoted_string; end
|
514
|
+
|
515
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4077
|
516
|
+
def _nt_space; end
|
517
|
+
|
518
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2181
|
519
|
+
def _nt_suffix; end
|
520
|
+
|
521
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2687
|
522
|
+
def _nt_terminal; end
|
523
|
+
|
524
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3692
|
525
|
+
def _nt_trailing_inline_module; end
|
526
|
+
|
527
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#43
|
528
|
+
def _nt_treetop_file; end
|
529
|
+
|
530
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1826
|
531
|
+
def _nt_unlabeled_sequence_primary; end
|
532
|
+
|
533
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1318
|
534
|
+
def _nt_variable_length_sequence_body; end
|
535
|
+
|
536
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4210
|
537
|
+
def _nt_white; end
|
538
|
+
|
539
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#9
|
540
|
+
def root; end
|
541
|
+
end
|
542
|
+
|
543
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3261
|
544
|
+
module Treetop::Compiler::Metagrammar::BracketExpression0; end
|
545
|
+
|
546
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3068
|
547
|
+
module Treetop::Compiler::Metagrammar::CharacterClass0; end
|
548
|
+
|
549
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3071
|
550
|
+
module Treetop::Compiler::Metagrammar::CharacterClass1; end
|
551
|
+
|
552
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3074
|
553
|
+
module Treetop::Compiler::Metagrammar::CharacterClass2; end
|
554
|
+
|
555
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3077
|
556
|
+
module Treetop::Compiler::Metagrammar::CharacterClass3
|
557
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3078
|
558
|
+
def characters; end
|
559
|
+
end
|
560
|
+
|
561
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3084
|
562
|
+
module Treetop::Compiler::Metagrammar::CharacterClass4
|
563
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3085
|
564
|
+
def characters; end
|
565
|
+
end
|
566
|
+
|
567
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1069
|
568
|
+
module Treetop::Compiler::Metagrammar::Choice0
|
569
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1070
|
570
|
+
def alternative; end
|
571
|
+
end
|
572
|
+
|
573
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1075
|
574
|
+
module Treetop::Compiler::Metagrammar::Choice1
|
575
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1076
|
576
|
+
def head; end
|
577
|
+
|
578
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1080
|
579
|
+
def tail; end
|
580
|
+
end
|
581
|
+
|
582
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1085
|
583
|
+
module Treetop::Compiler::Metagrammar::Choice2
|
584
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1086
|
585
|
+
def alternatives; end
|
586
|
+
|
587
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1102
|
588
|
+
def inline_module; end
|
589
|
+
|
590
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1098
|
591
|
+
def inline_modules; end
|
592
|
+
|
593
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1094
|
594
|
+
def parent_modules; end
|
595
|
+
|
596
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1090
|
597
|
+
def tail; end
|
598
|
+
end
|
599
|
+
|
600
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4123
|
601
|
+
module Treetop::Compiler::Metagrammar::CommentToEol0; end
|
602
|
+
|
603
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4126
|
604
|
+
module Treetop::Compiler::Metagrammar::CommentToEol1; end
|
605
|
+
|
606
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#675
|
607
|
+
module Treetop::Compiler::Metagrammar::DeclarationSequence0
|
608
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#680
|
609
|
+
def declaration; end
|
610
|
+
|
611
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#676
|
612
|
+
def space; end
|
613
|
+
end
|
614
|
+
|
615
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#685
|
616
|
+
module Treetop::Compiler::Metagrammar::DeclarationSequence1
|
617
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#686
|
618
|
+
def head; end
|
619
|
+
|
620
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#690
|
621
|
+
def tail; end
|
622
|
+
end
|
623
|
+
|
624
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#695
|
625
|
+
module Treetop::Compiler::Metagrammar::DeclarationSequence2
|
626
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#696
|
627
|
+
def declarations; end
|
628
|
+
|
629
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#700
|
630
|
+
def tail; end
|
631
|
+
end
|
632
|
+
|
633
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#705
|
634
|
+
module Treetop::Compiler::Metagrammar::DeclarationSequence3
|
635
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#706
|
636
|
+
def compile(builder); end
|
637
|
+
end
|
638
|
+
|
639
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2802
|
640
|
+
module Treetop::Compiler::Metagrammar::DoubleQuotedString0; end
|
641
|
+
|
642
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2805
|
643
|
+
module Treetop::Compiler::Metagrammar::DoubleQuotedString1
|
644
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2806
|
645
|
+
def string; end
|
646
|
+
end
|
647
|
+
|
648
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#505
|
649
|
+
module Treetop::Compiler::Metagrammar::Grammar0
|
650
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#506
|
651
|
+
def space; end
|
652
|
+
end
|
653
|
+
|
654
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#511
|
655
|
+
module Treetop::Compiler::Metagrammar::Grammar1
|
656
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#524
|
657
|
+
def declaration_sequence; end
|
658
|
+
|
659
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#516
|
660
|
+
def grammar_name; end
|
661
|
+
|
662
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#512
|
663
|
+
def space1; end
|
664
|
+
|
665
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#520
|
666
|
+
def space2; end
|
667
|
+
end
|
668
|
+
|
669
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#626
|
670
|
+
module Treetop::Compiler::Metagrammar::GrammarName0; end
|
671
|
+
|
672
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#817
|
673
|
+
module Treetop::Compiler::Metagrammar::IncludeDeclaration0
|
674
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#818
|
675
|
+
def space; end
|
676
|
+
end
|
677
|
+
|
678
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#824
|
679
|
+
module Treetop::Compiler::Metagrammar::IncludeDeclaration1
|
680
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#825
|
681
|
+
def compile(builder); end
|
682
|
+
end
|
683
|
+
|
684
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3788
|
685
|
+
module Treetop::Compiler::Metagrammar::InlineModule0; end
|
686
|
+
|
687
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3791
|
688
|
+
module Treetop::Compiler::Metagrammar::InlineModule1; end
|
689
|
+
|
690
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3899
|
691
|
+
module Treetop::Compiler::Metagrammar::KeywordInsideGrammar0; end
|
692
|
+
|
693
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1377
|
694
|
+
module Treetop::Compiler::Metagrammar::LabeledExpressionSequenceBody0
|
695
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1378
|
696
|
+
def head; end
|
697
|
+
|
698
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1382
|
699
|
+
def tail; end
|
700
|
+
end
|
701
|
+
|
702
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1734
|
703
|
+
module Treetop::Compiler::Metagrammar::LabeledSequencePrimary0
|
704
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1735
|
705
|
+
def named_label; end
|
706
|
+
|
707
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1739
|
708
|
+
def sequence_primary; end
|
709
|
+
end
|
710
|
+
|
711
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1744
|
712
|
+
module Treetop::Compiler::Metagrammar::LabeledSequencePrimary1
|
713
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1745
|
714
|
+
def compile(lexical_address, builder); end
|
715
|
+
|
716
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1753
|
717
|
+
def inline_modules; end
|
718
|
+
|
719
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1757
|
720
|
+
def label_name; end
|
721
|
+
|
722
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1749
|
723
|
+
def parent_modules; end
|
724
|
+
end
|
725
|
+
|
726
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#259
|
727
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration0; end
|
728
|
+
|
729
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#262
|
730
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration1; end
|
731
|
+
|
732
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#265
|
733
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration2
|
734
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#270
|
735
|
+
def name; end
|
736
|
+
|
737
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#266
|
738
|
+
def space1; end
|
739
|
+
|
740
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#274
|
741
|
+
def space2; end
|
742
|
+
end
|
743
|
+
|
744
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#279
|
745
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration3
|
746
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#280
|
747
|
+
def space; end
|
748
|
+
end
|
749
|
+
|
750
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#286
|
751
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration4
|
752
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#291
|
753
|
+
def module_contents; end
|
754
|
+
|
755
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#287
|
756
|
+
def module_prefix; end
|
757
|
+
|
758
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#295
|
759
|
+
def suffix; end
|
760
|
+
end
|
761
|
+
|
762
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#300
|
763
|
+
module Treetop::Compiler::Metagrammar::ModuleDeclaration5
|
764
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#301
|
765
|
+
def compile; end
|
766
|
+
|
767
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#305
|
768
|
+
def parser_name; end
|
769
|
+
end
|
770
|
+
|
771
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1890
|
772
|
+
module Treetop::Compiler::Metagrammar::NamedLabel0
|
773
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1891
|
774
|
+
def alpha_char; end
|
775
|
+
end
|
776
|
+
|
777
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1897
|
778
|
+
module Treetop::Compiler::Metagrammar::NamedLabel1; end
|
779
|
+
|
780
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1900
|
781
|
+
module Treetop::Compiler::Metagrammar::NamedLabel2
|
782
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1901
|
783
|
+
def name; end
|
784
|
+
end
|
785
|
+
|
786
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2237
|
787
|
+
module Treetop::Compiler::Metagrammar::NodeClassDeclarations0
|
788
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2238
|
789
|
+
def node_class_expression; end
|
790
|
+
|
791
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2242
|
792
|
+
def trailing_inline_module; end
|
793
|
+
end
|
794
|
+
|
795
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2247
|
796
|
+
module Treetop::Compiler::Metagrammar::NodeClassDeclarations1
|
797
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2256
|
798
|
+
def inline_module; end
|
799
|
+
|
800
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2260
|
801
|
+
def inline_module_name; end
|
802
|
+
|
803
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2252
|
804
|
+
def inline_modules; end
|
805
|
+
|
806
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2248
|
807
|
+
def node_class_name; end
|
808
|
+
end
|
809
|
+
|
810
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3508
|
811
|
+
module Treetop::Compiler::Metagrammar::NodeClassExpression0; end
|
812
|
+
|
813
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3511
|
814
|
+
module Treetop::Compiler::Metagrammar::NodeClassExpression1
|
815
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3512
|
816
|
+
def space; end
|
817
|
+
end
|
818
|
+
|
819
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3518
|
820
|
+
module Treetop::Compiler::Metagrammar::NodeClassExpression2
|
821
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3519
|
822
|
+
def node_class_name; end
|
823
|
+
end
|
824
|
+
|
825
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3524
|
826
|
+
module Treetop::Compiler::Metagrammar::NodeClassExpression3
|
827
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3525
|
828
|
+
def node_class_name; end
|
829
|
+
end
|
830
|
+
|
831
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3967
|
832
|
+
module Treetop::Compiler::Metagrammar::NonSpaceChar0; end
|
833
|
+
|
834
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2616
|
835
|
+
module Treetop::Compiler::Metagrammar::Nonterminal0
|
836
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2617
|
837
|
+
def alpha_char; end
|
838
|
+
end
|
839
|
+
|
840
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2623
|
841
|
+
module Treetop::Compiler::Metagrammar::Nonterminal1; end
|
842
|
+
|
843
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1966
|
844
|
+
module Treetop::Compiler::Metagrammar::NullLabel0
|
845
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1967
|
846
|
+
def name; end
|
847
|
+
end
|
848
|
+
|
849
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2347
|
850
|
+
module Treetop::Compiler::Metagrammar::OccurrenceRange0
|
851
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2352
|
852
|
+
def max; end
|
853
|
+
|
854
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2348
|
855
|
+
def min; end
|
856
|
+
end
|
857
|
+
|
858
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2531
|
859
|
+
module Treetop::Compiler::Metagrammar::ParenthesizedExpression0
|
860
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2532
|
861
|
+
def parsing_expression; end
|
862
|
+
end
|
863
|
+
|
864
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2538
|
865
|
+
module Treetop::Compiler::Metagrammar::ParenthesizedExpression1
|
866
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2545
|
867
|
+
def inline_module; end
|
868
|
+
|
869
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2542
|
870
|
+
def inline_modules; end
|
871
|
+
|
872
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2539
|
873
|
+
def parent_modules; end
|
874
|
+
end
|
875
|
+
|
876
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#911
|
877
|
+
module Treetop::Compiler::Metagrammar::ParsingRule0
|
878
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#912
|
879
|
+
def space; end
|
880
|
+
end
|
881
|
+
|
882
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#917
|
883
|
+
module Treetop::Compiler::Metagrammar::ParsingRule1
|
884
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#922
|
885
|
+
def nonterminal; end
|
886
|
+
|
887
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#930
|
888
|
+
def parsing_expression; end
|
889
|
+
|
890
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#918
|
891
|
+
def space1; end
|
892
|
+
|
893
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#926
|
894
|
+
def space2; end
|
895
|
+
|
896
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#934
|
897
|
+
def space3; end
|
898
|
+
end
|
899
|
+
|
900
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3745
|
901
|
+
module Treetop::Compiler::Metagrammar::PredicateBlock0
|
902
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3746
|
903
|
+
def inline_module; end
|
904
|
+
end
|
905
|
+
|
906
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1439
|
907
|
+
module Treetop::Compiler::Metagrammar::Primary0
|
908
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1444
|
909
|
+
def atomic; end
|
910
|
+
|
911
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1440
|
912
|
+
def prefix; end
|
913
|
+
end
|
914
|
+
|
915
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1449
|
916
|
+
module Treetop::Compiler::Metagrammar::Primary1
|
917
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1450
|
918
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
919
|
+
|
920
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1466
|
921
|
+
def inline_module; end
|
922
|
+
|
923
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1470
|
924
|
+
def inline_module_name; end
|
925
|
+
|
926
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1462
|
927
|
+
def inline_modules; end
|
928
|
+
|
929
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1458
|
930
|
+
def parent_modules; end
|
931
|
+
|
932
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1454
|
933
|
+
def prefixed_expression; end
|
934
|
+
end
|
935
|
+
|
936
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1475
|
937
|
+
module Treetop::Compiler::Metagrammar::Primary2
|
938
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1480
|
939
|
+
def atomic; end
|
940
|
+
|
941
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1476
|
942
|
+
def prefix; end
|
943
|
+
end
|
944
|
+
|
945
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1485
|
946
|
+
module Treetop::Compiler::Metagrammar::Primary3
|
947
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1486
|
948
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
949
|
+
|
950
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1498
|
951
|
+
def inline_module; end
|
952
|
+
|
953
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1495
|
954
|
+
def inline_modules; end
|
955
|
+
|
956
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1492
|
957
|
+
def parent_modules; end
|
958
|
+
|
959
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1489
|
960
|
+
def prefixed_expression; end
|
961
|
+
end
|
962
|
+
|
963
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1503
|
964
|
+
module Treetop::Compiler::Metagrammar::Primary4
|
965
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1504
|
966
|
+
def atomic; end
|
967
|
+
|
968
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1512
|
969
|
+
def node_class_declarations; end
|
970
|
+
|
971
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1508
|
972
|
+
def suffix; end
|
973
|
+
end
|
974
|
+
|
975
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1517
|
976
|
+
module Treetop::Compiler::Metagrammar::Primary5
|
977
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1518
|
978
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
979
|
+
|
980
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1541
|
981
|
+
def inline_module; end
|
982
|
+
|
983
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1545
|
984
|
+
def inline_module_name; end
|
985
|
+
|
986
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1537
|
987
|
+
def inline_modules; end
|
988
|
+
|
989
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1529
|
990
|
+
def node_class_name; end
|
991
|
+
|
992
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1525
|
993
|
+
def optional_expression; end
|
994
|
+
|
995
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1533
|
996
|
+
def parent_modules; end
|
997
|
+
end
|
998
|
+
|
999
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1550
|
1000
|
+
module Treetop::Compiler::Metagrammar::Primary6
|
1001
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1551
|
1002
|
+
def atomic; end
|
1003
|
+
|
1004
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1555
|
1005
|
+
def node_class_declarations; end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1560
|
1009
|
+
module Treetop::Compiler::Metagrammar::Primary7
|
1010
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1561
|
1011
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1012
|
+
|
1013
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1580
|
1014
|
+
def inline_module; end
|
1015
|
+
|
1016
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1584
|
1017
|
+
def inline_module_name; end
|
1018
|
+
|
1019
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1576
|
1020
|
+
def inline_modules; end
|
1021
|
+
|
1022
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1568
|
1023
|
+
def node_class_name; end
|
1024
|
+
|
1025
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1572
|
1026
|
+
def parent_modules; end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2725
|
1030
|
+
module Treetop::Compiler::Metagrammar::QuotedString0
|
1031
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2730
|
1032
|
+
def modifiers; end
|
1033
|
+
|
1034
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2726
|
1035
|
+
def qs; end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2735
|
1039
|
+
module Treetop::Compiler::Metagrammar::QuotedString1
|
1040
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2736
|
1041
|
+
def string; end
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#120
|
1045
|
+
module Treetop::Compiler::Metagrammar::RequireStatement0
|
1046
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#121
|
1047
|
+
def spacing; end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1190
|
1051
|
+
module Treetop::Compiler::Metagrammar::Sequence0
|
1052
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1195
|
1053
|
+
def node_class_declarations; end
|
1054
|
+
|
1055
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1191
|
1056
|
+
def sequence_body; end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1200
|
1060
|
+
module Treetop::Compiler::Metagrammar::Sequence1
|
1061
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1219
|
1062
|
+
def inline_module; end
|
1063
|
+
|
1064
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1223
|
1065
|
+
def inline_module_name; end
|
1066
|
+
|
1067
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1213
|
1068
|
+
def inline_modules; end
|
1069
|
+
|
1070
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1209
|
1071
|
+
def parent_modules; end
|
1072
|
+
|
1073
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1201
|
1074
|
+
def sequence_elements; end
|
1075
|
+
|
1076
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1205
|
1077
|
+
def tail; end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1997
|
1081
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary0
|
1082
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2002
|
1083
|
+
def atomic; end
|
1084
|
+
|
1085
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1998
|
1086
|
+
def prefix; end
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2007
|
1090
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary1
|
1091
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2008
|
1092
|
+
def compile(lexical_address, builder); end
|
1093
|
+
|
1094
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2024
|
1095
|
+
def inline_module_name; end
|
1096
|
+
|
1097
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2020
|
1098
|
+
def inline_modules; end
|
1099
|
+
|
1100
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2016
|
1101
|
+
def parent_modules; end
|
1102
|
+
|
1103
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2012
|
1104
|
+
def prefixed_expression; end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2029
|
1108
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary2
|
1109
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2034
|
1110
|
+
def atomic; end
|
1111
|
+
|
1112
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2030
|
1113
|
+
def prefix; end
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2039
|
1117
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary3
|
1118
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2040
|
1119
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1120
|
+
|
1121
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2049
|
1122
|
+
def inline_modules; end
|
1123
|
+
|
1124
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2046
|
1125
|
+
def parent_modules; end
|
1126
|
+
|
1127
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2043
|
1128
|
+
def prefixed_expression; end
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2054
|
1132
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary4
|
1133
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2055
|
1134
|
+
def atomic; end
|
1135
|
+
|
1136
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2059
|
1137
|
+
def suffix; end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2064
|
1141
|
+
module Treetop::Compiler::Metagrammar::SequencePrimary5
|
1142
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2065
|
1143
|
+
def compile(lexical_address, builder); end
|
1144
|
+
|
1145
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2081
|
1146
|
+
def inline_module_name; end
|
1147
|
+
|
1148
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2077
|
1149
|
+
def inline_modules; end
|
1150
|
+
|
1151
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2069
|
1152
|
+
def node_class_name; end
|
1153
|
+
|
1154
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2073
|
1155
|
+
def parent_modules; end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2935
|
1159
|
+
module Treetop::Compiler::Metagrammar::SingleQuotedString0; end
|
1160
|
+
|
1161
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2938
|
1162
|
+
module Treetop::Compiler::Metagrammar::SingleQuotedString1
|
1163
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#2939
|
1164
|
+
def string; end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3652
|
1168
|
+
module Treetop::Compiler::Metagrammar::TrailingInlineModule0
|
1169
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3657
|
1170
|
+
def inline_module; end
|
1171
|
+
|
1172
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3653
|
1173
|
+
def space; end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3662
|
1177
|
+
module Treetop::Compiler::Metagrammar::TrailingInlineModule1
|
1178
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3670
|
1179
|
+
def inline_module_name; end
|
1180
|
+
|
1181
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3666
|
1182
|
+
def inline_modules; end
|
1183
|
+
|
1184
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3663
|
1185
|
+
def parent_modules; end
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3675
|
1189
|
+
module Treetop::Compiler::Metagrammar::TrailingInlineModule2
|
1190
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3683
|
1191
|
+
def inline_module; end
|
1192
|
+
|
1193
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3687
|
1194
|
+
def inline_module_name; end
|
1195
|
+
|
1196
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3679
|
1197
|
+
def inline_modules; end
|
1198
|
+
|
1199
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#3676
|
1200
|
+
def parent_modules; end
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#13
|
1204
|
+
module Treetop::Compiler::Metagrammar::TreetopFile0
|
1205
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#14
|
1206
|
+
def require_statement; end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#19
|
1210
|
+
module Treetop::Compiler::Metagrammar::TreetopFile1
|
1211
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#28
|
1212
|
+
def module_or_grammar; end
|
1213
|
+
|
1214
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#20
|
1215
|
+
def requires; end
|
1216
|
+
|
1217
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#24
|
1218
|
+
def spacing; end
|
1219
|
+
|
1220
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#32
|
1221
|
+
def suffix; end
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#37
|
1225
|
+
module Treetop::Compiler::Metagrammar::TreetopFile2
|
1226
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#38
|
1227
|
+
def compile; end
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1794
|
1231
|
+
module Treetop::Compiler::Metagrammar::UnlabeledSequencePrimary0
|
1232
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1795
|
1233
|
+
def null_label; end
|
1234
|
+
|
1235
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1799
|
1236
|
+
def sequence_primary; end
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1804
|
1240
|
+
module Treetop::Compiler::Metagrammar::UnlabeledSequencePrimary1
|
1241
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1805
|
1242
|
+
def compile(lexical_address, builder); end
|
1243
|
+
|
1244
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1813
|
1245
|
+
def inline_modules; end
|
1246
|
+
|
1247
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1817
|
1248
|
+
def label_name; end
|
1249
|
+
|
1250
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1809
|
1251
|
+
def parent_modules; end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1292
|
1255
|
+
module Treetop::Compiler::Metagrammar::VariableLengthSequenceBody0
|
1256
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1297
|
1257
|
+
def optionally_labeled_sequence_primary; end
|
1258
|
+
|
1259
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1293
|
1260
|
+
def space; end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1302
|
1264
|
+
module Treetop::Compiler::Metagrammar::VariableLengthSequenceBody1
|
1265
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1303
|
1266
|
+
def head; end
|
1267
|
+
|
1268
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1307
|
1269
|
+
def tail; end
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1312
|
1273
|
+
module Treetop::Compiler::Metagrammar::VariableLengthSequenceBody2
|
1274
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#1313
|
1275
|
+
def tail; end
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# source://treetop//lib/treetop/compiler/metagrammar.rb#4236
|
1279
|
+
class Treetop::Compiler::MetagrammarParser < ::Treetop::Runtime::CompiledParser
|
1280
|
+
include ::Treetop::Compiler::Metagrammar
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# source://treetop//lib/treetop/compiler/node_classes/nonterminal.rb#3
|
1284
|
+
class Treetop::Compiler::Nonterminal < ::Treetop::Compiler::AtomicExpression
|
1285
|
+
# source://treetop//lib/treetop/compiler/node_classes/nonterminal.rb#4
|
1286
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1287
|
+
|
1288
|
+
# source://treetop//lib/treetop/compiler/node_classes/nonterminal.rb#12
|
1289
|
+
def inline_module; end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#36
|
1293
|
+
class Treetop::Compiler::NotPredicate < ::Treetop::Compiler::Predicate
|
1294
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#44
|
1295
|
+
def when_failure; end
|
1296
|
+
|
1297
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#37
|
1298
|
+
def when_success; end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#72
|
1302
|
+
class Treetop::Compiler::OccurrenceRange < ::Treetop::Compiler::Repetition
|
1303
|
+
# remove the last terminal_failure if we merely failed to reach the maximum
|
1304
|
+
#
|
1305
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#95
|
1306
|
+
def clean_unsaturated; end
|
1307
|
+
|
1308
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#73
|
1309
|
+
def compile(address, builder, parent_expression); end
|
1310
|
+
|
1311
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#103
|
1312
|
+
def expected; end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#50
|
1316
|
+
class Treetop::Compiler::OneOrMore < ::Treetop::Compiler::Repetition
|
1317
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#51
|
1318
|
+
def compile(address, builder, parent_expression); end
|
1319
|
+
|
1320
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#67
|
1321
|
+
def expected; end
|
1322
|
+
|
1323
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#63
|
1324
|
+
def max; end
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
# source://treetop//lib/treetop/compiler/node_classes/optional.rb#3
|
1328
|
+
class Treetop::Compiler::Optional < ::Treetop::Compiler::ParsingExpression
|
1329
|
+
# source://treetop//lib/treetop/compiler/node_classes/optional.rb#4
|
1330
|
+
def compile(address, builder, parent_expression); end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# source://treetop//lib/treetop/compiler/node_classes/parenthesized_expression.rb#3
|
1334
|
+
class Treetop::Compiler::ParenthesizedExpression < ::Treetop::Compiler::ParsingExpression
|
1335
|
+
# source://treetop//lib/treetop/compiler/node_classes/parenthesized_expression.rb#4
|
1336
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1337
|
+
|
1338
|
+
# source://treetop//lib/treetop/compiler/node_classes/parenthesized_expression.rb#8
|
1339
|
+
def expected; end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#3
|
1343
|
+
class Treetop::Compiler::ParsingExpression < ::Treetop::Runtime::SyntaxNode
|
1344
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#65
|
1345
|
+
def accumulate_subexpression_result; end
|
1346
|
+
|
1347
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#45
|
1348
|
+
def accumulator_var; end
|
1349
|
+
|
1350
|
+
# Returns the value of attribute address.
|
1351
|
+
#
|
1352
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#4
|
1353
|
+
def address; end
|
1354
|
+
|
1355
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#98
|
1356
|
+
def assign_failure(start_index_var); end
|
1357
|
+
|
1358
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#102
|
1359
|
+
def assign_lazily_instantiated_node; end
|
1360
|
+
|
1361
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#69
|
1362
|
+
def assign_result(value_ruby); end
|
1363
|
+
|
1364
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#138
|
1365
|
+
def begin_comment(expression); end
|
1366
|
+
|
1367
|
+
# Returns the value of attribute builder.
|
1368
|
+
#
|
1369
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#4
|
1370
|
+
def builder; end
|
1371
|
+
|
1372
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#6
|
1373
|
+
def compile(address, builder, parent_expression); end
|
1374
|
+
|
1375
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#16
|
1376
|
+
def declared_module_name; end
|
1377
|
+
|
1378
|
+
# @return [Boolean]
|
1379
|
+
#
|
1380
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#24
|
1381
|
+
def decorated?; end
|
1382
|
+
|
1383
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#142
|
1384
|
+
def end_comment(expression); end
|
1385
|
+
|
1386
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#94
|
1387
|
+
def epsilon_node; end
|
1388
|
+
|
1389
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#150
|
1390
|
+
def expected; end
|
1391
|
+
|
1392
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#73
|
1393
|
+
def extend_result(module_name); end
|
1394
|
+
|
1395
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#77
|
1396
|
+
def extend_result_with_declared_module; end
|
1397
|
+
|
1398
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#81
|
1399
|
+
def extend_result_with_inline_module(parent_expression = T.unsafe(nil)); end
|
1400
|
+
|
1401
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#130
|
1402
|
+
def init_value(var_symbol); end
|
1403
|
+
|
1404
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#20
|
1405
|
+
def inline_module_name; end
|
1406
|
+
|
1407
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#12
|
1408
|
+
def node_class_name; end
|
1409
|
+
|
1410
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#61
|
1411
|
+
def obtain_new_subexpression_address; end
|
1412
|
+
|
1413
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#146
|
1414
|
+
def on_one_line(expression); end
|
1415
|
+
|
1416
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#28
|
1417
|
+
def optional_arg(arg); end
|
1418
|
+
|
1419
|
+
# Returns the value of attribute parent_expression.
|
1420
|
+
#
|
1421
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#4
|
1422
|
+
def parent_expression; end
|
1423
|
+
|
1424
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#90
|
1425
|
+
def reset_index; end
|
1426
|
+
|
1427
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#41
|
1428
|
+
def result_var; end
|
1429
|
+
|
1430
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#49
|
1431
|
+
def start_index_var; end
|
1432
|
+
|
1433
|
+
# Returns the value of attribute subexpression_address.
|
1434
|
+
#
|
1435
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#4
|
1436
|
+
def subexpression_address; end
|
1437
|
+
|
1438
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#53
|
1439
|
+
def subexpression_result_var; end
|
1440
|
+
|
1441
|
+
# @return [Boolean]
|
1442
|
+
#
|
1443
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#57
|
1444
|
+
def subexpression_success?; end
|
1445
|
+
|
1446
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#36
|
1447
|
+
def use_vars(*var_symbols); end
|
1448
|
+
|
1449
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#121
|
1450
|
+
def var(var_symbol); end
|
1451
|
+
|
1452
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#106
|
1453
|
+
def var_initialization; end
|
1454
|
+
|
1455
|
+
# Returns the value of attribute var_symbols.
|
1456
|
+
#
|
1457
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_expression.rb#4
|
1458
|
+
def var_symbols; end
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#3
|
1462
|
+
class Treetop::Compiler::ParsingRule < ::Treetop::Runtime::SyntaxNode
|
1463
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#5
|
1464
|
+
def compile(builder); end
|
1465
|
+
|
1466
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#10
|
1467
|
+
def compile_inline_module_declarations(builder); end
|
1468
|
+
|
1469
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#34
|
1470
|
+
def generate_cache_lookup(builder); end
|
1471
|
+
|
1472
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#47
|
1473
|
+
def generate_cache_storage(builder, result_var); end
|
1474
|
+
|
1475
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#17
|
1476
|
+
def generate_method_definition(builder); end
|
1477
|
+
|
1478
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#51
|
1479
|
+
def method_name; end
|
1480
|
+
|
1481
|
+
# source://treetop//lib/treetop/compiler/node_classes/parsing_rule.rb#55
|
1482
|
+
def name; end
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#3
|
1486
|
+
class Treetop::Compiler::Predicate < ::Treetop::Compiler::ParsingExpression
|
1487
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#15
|
1488
|
+
def assign_failure; end
|
1489
|
+
|
1490
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#20
|
1491
|
+
def assign_success; end
|
1492
|
+
|
1493
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate.rb#4
|
1494
|
+
def compile(address, builder, parent_expression); end
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate_block.rb#3
|
1498
|
+
class Treetop::Compiler::PredicateBlock < ::Treetop::Compiler::ParsingExpression
|
1499
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate_block.rb#4
|
1500
|
+
def compile(index, builder, parent_expression = T.unsafe(nil)); end
|
1501
|
+
|
1502
|
+
# source://treetop//lib/treetop/compiler/node_classes/predicate_block.rb#18
|
1503
|
+
def expected; end
|
1504
|
+
end
|
1505
|
+
|
1506
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#3
|
1507
|
+
class Treetop::Compiler::Repetition < ::Treetop::Compiler::ParsingExpression
|
1508
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#31
|
1509
|
+
def assign_and_extend_result(parent_expression); end
|
1510
|
+
|
1511
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#4
|
1512
|
+
def compile(address, builder, parent_expression); end
|
1513
|
+
|
1514
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#27
|
1515
|
+
def inline_module_name; end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#5
|
1519
|
+
class Treetop::Compiler::RubyBuilder
|
1520
|
+
# @return [RubyBuilder] a new instance of RubyBuilder
|
1521
|
+
#
|
1522
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#9
|
1523
|
+
def initialize; end
|
1524
|
+
|
1525
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#15
|
1526
|
+
def <<(ruby_line); end
|
1527
|
+
|
1528
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#60
|
1529
|
+
def accumulate(left, right); end
|
1530
|
+
|
1531
|
+
# Returns the value of attribute address_space.
|
1532
|
+
#
|
1533
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#7
|
1534
|
+
def address_space; end
|
1535
|
+
|
1536
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#48
|
1537
|
+
def assign(left, right); end
|
1538
|
+
|
1539
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#86
|
1540
|
+
def break; end
|
1541
|
+
|
1542
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#30
|
1543
|
+
def class_declaration(name, &block); end
|
1544
|
+
|
1545
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#74
|
1546
|
+
def else_(&block); end
|
1547
|
+
|
1548
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#56
|
1549
|
+
def extend(var, module_name); end
|
1550
|
+
|
1551
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#69
|
1552
|
+
def if_(condition, &block); end
|
1553
|
+
|
1554
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#64
|
1555
|
+
def if__(condition, &block); end
|
1556
|
+
|
1557
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#90
|
1558
|
+
def in(depth = T.unsafe(nil)); end
|
1559
|
+
|
1560
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#24
|
1561
|
+
def indented(depth = T.unsafe(nil)); end
|
1562
|
+
|
1563
|
+
# Returns the value of attribute level.
|
1564
|
+
#
|
1565
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#7
|
1566
|
+
def level; end
|
1567
|
+
|
1568
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#80
|
1569
|
+
def loop(&block); end
|
1570
|
+
|
1571
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#42
|
1572
|
+
def method_declaration(name, &block); end
|
1573
|
+
|
1574
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#36
|
1575
|
+
def module_declaration(name, &block); end
|
1576
|
+
|
1577
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#20
|
1578
|
+
def newline; end
|
1579
|
+
|
1580
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#100
|
1581
|
+
def next_address; end
|
1582
|
+
|
1583
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#95
|
1584
|
+
def out(depth = T.unsafe(nil)); end
|
1585
|
+
|
1586
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#104
|
1587
|
+
def reset_addresses; end
|
1588
|
+
|
1589
|
+
# Returns the value of attribute ruby.
|
1590
|
+
#
|
1591
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#7
|
1592
|
+
def ruby; end
|
1593
|
+
|
1594
|
+
private
|
1595
|
+
|
1596
|
+
# source://treetop//lib/treetop/compiler/ruby_builder.rb#110
|
1597
|
+
def indent; end
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#3
|
1601
|
+
class Treetop::Compiler::Sequence < ::Treetop::Compiler::ParsingExpression
|
1602
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#4
|
1603
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1604
|
+
|
1605
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#25
|
1606
|
+
def compile_sequence_elements(elements); end
|
1607
|
+
|
1608
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#44
|
1609
|
+
def expected; end
|
1610
|
+
|
1611
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#21
|
1612
|
+
def node_class_name; end
|
1613
|
+
|
1614
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#36
|
1615
|
+
def sequence_element_accessor_module; end
|
1616
|
+
|
1617
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#40
|
1618
|
+
def sequence_element_accessor_module_name; end
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#49
|
1622
|
+
class Treetop::Compiler::SequenceElementAccessorModule
|
1623
|
+
include ::Treetop::Compiler::InlineModuleMixin
|
1624
|
+
|
1625
|
+
# @return [SequenceElementAccessorModule] a new instance of SequenceElementAccessorModule
|
1626
|
+
#
|
1627
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#53
|
1628
|
+
def initialize(sequence_elements); end
|
1629
|
+
|
1630
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#57
|
1631
|
+
def compile(idx, builder, rule); end
|
1632
|
+
|
1633
|
+
# Returns the value of attribute sequence_elements.
|
1634
|
+
#
|
1635
|
+
# source://treetop//lib/treetop/compiler/node_classes/sequence.rb#51
|
1636
|
+
def sequence_elements; end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# source://treetop//lib/treetop/compiler/node_classes/terminal.rb#3
|
1640
|
+
class Treetop::Compiler::Terminal < ::Treetop::Compiler::AtomicExpression
|
1641
|
+
# source://treetop//lib/treetop/compiler/node_classes/terminal.rb#4
|
1642
|
+
def compile(address, builder, parent_expression = T.unsafe(nil)); end
|
1643
|
+
|
1644
|
+
# source://treetop//lib/treetop/compiler/node_classes/terminal.rb#46
|
1645
|
+
def expected; end
|
1646
|
+
|
1647
|
+
# source://treetop//lib/treetop/compiler/node_classes/terminal.rb#50
|
1648
|
+
def inline_module; end
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# source://treetop//lib/treetop/compiler/node_classes/transient_prefix.rb#3
|
1652
|
+
class Treetop::Compiler::TransientPrefix < ::Treetop::Compiler::ParsingExpression
|
1653
|
+
# source://treetop//lib/treetop/compiler/node_classes/transient_prefix.rb#4
|
1654
|
+
def compile(address, builder, parent_expression); end
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
# source://treetop//lib/treetop/compiler/node_classes/treetop_file.rb#3
|
1658
|
+
class Treetop::Compiler::TreetopFile < ::Treetop::Runtime::SyntaxNode
|
1659
|
+
# source://treetop//lib/treetop/compiler/node_classes/treetop_file.rb#4
|
1660
|
+
def compile; end
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#38
|
1664
|
+
class Treetop::Compiler::ZeroOrMore < ::Treetop::Compiler::Repetition
|
1665
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#39
|
1666
|
+
def compile(address, builder, parent_expression); end
|
1667
|
+
|
1668
|
+
# source://treetop//lib/treetop/compiler/node_classes/repetition.rb#45
|
1669
|
+
def max; end
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
# source://treetop//lib/treetop/polyglot.rb#2
|
1673
|
+
module Treetop::Polyglot; end
|
1674
|
+
|
1675
|
+
# source://treetop//lib/treetop/polyglot.rb#3
|
1676
|
+
Treetop::Polyglot::VALID_GRAMMAR_EXT = T.let(T.unsafe(nil), Array)
|
1677
|
+
|
1678
|
+
# source://treetop//lib/treetop/polyglot.rb#4
|
1679
|
+
Treetop::Polyglot::VALID_GRAMMAR_EXT_REGEXP = T.let(T.unsafe(nil), Regexp)
|
1680
|
+
|
1681
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#2
|
1682
|
+
module Treetop::Runtime; end
|
1683
|
+
|
1684
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#3
|
1685
|
+
class Treetop::Runtime::CompiledParser
|
1686
|
+
include ::Treetop::Runtime
|
1687
|
+
|
1688
|
+
# @return [CompiledParser] a new instance of CompiledParser
|
1689
|
+
#
|
1690
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#11
|
1691
|
+
def initialize; end
|
1692
|
+
|
1693
|
+
# Returns the value of attribute consume_all_input.
|
1694
|
+
#
|
1695
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#8
|
1696
|
+
def consume_all_input; end
|
1697
|
+
|
1698
|
+
# Sets the attribute consume_all_input
|
1699
|
+
#
|
1700
|
+
# @param value the value to set the attribute consume_all_input to.
|
1701
|
+
#
|
1702
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#8
|
1703
|
+
def consume_all_input=(_arg0); end
|
1704
|
+
|
1705
|
+
# Returns the value of attribute consume_all_input.
|
1706
|
+
#
|
1707
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#8
|
1708
|
+
def consume_all_input?; end
|
1709
|
+
|
1710
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#38
|
1711
|
+
def failure_column; end
|
1712
|
+
|
1713
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#30
|
1714
|
+
def failure_index; end
|
1715
|
+
|
1716
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#34
|
1717
|
+
def failure_line; end
|
1718
|
+
|
1719
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#43
|
1720
|
+
def failure_reason; end
|
1721
|
+
|
1722
|
+
# Returns the value of attribute index.
|
1723
|
+
#
|
1724
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#6
|
1725
|
+
def index; end
|
1726
|
+
|
1727
|
+
# Returns the value of attribute input.
|
1728
|
+
#
|
1729
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#6
|
1730
|
+
def input; end
|
1731
|
+
|
1732
|
+
# Returns the value of attribute max_terminal_failure_index.
|
1733
|
+
#
|
1734
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#6
|
1735
|
+
def max_terminal_failure_index; end
|
1736
|
+
|
1737
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#15
|
1738
|
+
def parse(input, options = T.unsafe(nil)); end
|
1739
|
+
|
1740
|
+
# Sets the attribute root
|
1741
|
+
#
|
1742
|
+
# @param value the value to set the attribute root to.
|
1743
|
+
#
|
1744
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#7
|
1745
|
+
def root=(_arg0); end
|
1746
|
+
|
1747
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#54
|
1748
|
+
def terminal_failures; end
|
1749
|
+
|
1750
|
+
protected
|
1751
|
+
|
1752
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#78
|
1753
|
+
def forget_failures_to_here; end
|
1754
|
+
|
1755
|
+
# @return [Boolean]
|
1756
|
+
#
|
1757
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#106
|
1758
|
+
def has_terminal?(terminal, mode, index); end
|
1759
|
+
|
1760
|
+
# Sets the attribute index
|
1761
|
+
#
|
1762
|
+
# @param value the value to set the attribute index to.
|
1763
|
+
#
|
1764
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#66
|
1765
|
+
def index=(_arg0); end
|
1766
|
+
|
1767
|
+
# Returns the value of attribute input_length.
|
1768
|
+
#
|
1769
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#65
|
1770
|
+
def input_length; end
|
1771
|
+
|
1772
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#98
|
1773
|
+
def instantiate_node(node_type, *args); end
|
1774
|
+
|
1775
|
+
# Returns the value of attribute node_cache.
|
1776
|
+
#
|
1777
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#65
|
1778
|
+
def node_cache; end
|
1779
|
+
|
1780
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#87
|
1781
|
+
def parse_anything(node_class = T.unsafe(nil), inline_module = T.unsafe(nil)); end
|
1782
|
+
|
1783
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#68
|
1784
|
+
def prepare_to_parse(input); end
|
1785
|
+
|
1786
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#83
|
1787
|
+
def reset_index; end
|
1788
|
+
|
1789
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#120
|
1790
|
+
def terminal_parse_failure(expected_string, unexpected = T.unsafe(nil)); end
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
# source://treetop//lib/treetop/runtime/compiled_parser.rb#42
|
1794
|
+
Treetop::Runtime::CompiledParser::OtherThan = T.let(T.unsafe(nil), String)
|
1795
|
+
|
1796
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#3
|
1797
|
+
class Treetop::Runtime::SyntaxNode
|
1798
|
+
# @return [SyntaxNode] a new instance of SyntaxNode
|
1799
|
+
#
|
1800
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#7
|
1801
|
+
def initialize(input, interval, elements = T.unsafe(nil)); end
|
1802
|
+
|
1803
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#47
|
1804
|
+
def <=>(other); end
|
1805
|
+
|
1806
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#98
|
1807
|
+
def dot_id; end
|
1808
|
+
|
1809
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#15
|
1810
|
+
def elements; end
|
1811
|
+
|
1812
|
+
# @return [Boolean]
|
1813
|
+
#
|
1814
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#43
|
1815
|
+
def empty?; end
|
1816
|
+
|
1817
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#51
|
1818
|
+
def extension_modules; end
|
1819
|
+
|
1820
|
+
# Returns the value of attribute input.
|
1821
|
+
#
|
1822
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#4
|
1823
|
+
def input; end
|
1824
|
+
|
1825
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#91
|
1826
|
+
def inspect(indent = T.unsafe(nil)); end
|
1827
|
+
|
1828
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#78
|
1829
|
+
def inspect_children(indent = T.unsafe(nil)); end
|
1830
|
+
|
1831
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#63
|
1832
|
+
def inspect_self(indent = T.unsafe(nil)); end
|
1833
|
+
|
1834
|
+
# Returns the value of attribute interval.
|
1835
|
+
#
|
1836
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#4
|
1837
|
+
def interval; end
|
1838
|
+
|
1839
|
+
# @return [Boolean]
|
1840
|
+
#
|
1841
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#35
|
1842
|
+
def nonterminal?; end
|
1843
|
+
|
1844
|
+
# Returns the value of attribute parent.
|
1845
|
+
#
|
1846
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#5
|
1847
|
+
def parent; end
|
1848
|
+
|
1849
|
+
# Sets the attribute parent
|
1850
|
+
#
|
1851
|
+
# @param value the value to set the attribute parent to.
|
1852
|
+
#
|
1853
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#5
|
1854
|
+
def parent=(_arg0); end
|
1855
|
+
|
1856
|
+
# @return [Boolean]
|
1857
|
+
#
|
1858
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#31
|
1859
|
+
def terminal?; end
|
1860
|
+
|
1861
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#39
|
1862
|
+
def text_value; end
|
1863
|
+
|
1864
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#102
|
1865
|
+
def write_dot(io); end
|
1866
|
+
|
1867
|
+
# source://treetop//lib/treetop/runtime/syntax_node.rb#113
|
1868
|
+
def write_dot_file(fname); end
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#3
|
1872
|
+
class Treetop::Runtime::TerminalParseFailure
|
1873
|
+
# @return [TerminalParseFailure] a new instance of TerminalParseFailure
|
1874
|
+
#
|
1875
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#6
|
1876
|
+
def initialize(index, expected_string, unexpected = T.unsafe(nil)); end
|
1877
|
+
|
1878
|
+
# Returns the value of attribute expected_string.
|
1879
|
+
#
|
1880
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#4
|
1881
|
+
def expected_string; end
|
1882
|
+
|
1883
|
+
# Returns the value of attribute index.
|
1884
|
+
#
|
1885
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#4
|
1886
|
+
def index; end
|
1887
|
+
|
1888
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#12
|
1889
|
+
def to_s; end
|
1890
|
+
|
1891
|
+
# Returns the value of attribute unexpected.
|
1892
|
+
#
|
1893
|
+
# source://treetop//lib/treetop/runtime/terminal_parse_failure.rb#4
|
1894
|
+
def unexpected; end
|
1895
|
+
end
|