workos 2.9.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/pull_request_template.md +11 -0
- data/Gemfile.lock +32 -3
- data/bin/tapioca +29 -0
- data/lib/workos/portal.rb +1 -1
- data/lib/workos/types/intent_enum.rb +3 -2
- data/lib/workos/version.rb +1 -1
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/{ast.rbi → ast@2.4.2.rbi} +27 -22
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
- data/sorbet/rbi/gems/{rainbow.rbi → rainbow@3.0.0.rbi} +90 -55
- data/sorbet/rbi/gems/{rake.rbi → rake@13.0.3.rbi} +587 -424
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
- data/sorbet/rbi/gems/{rexml.rbi → rexml@3.2.5.rbi} +587 -506
- data/sorbet/rbi/gems/{rspec-core.rbi → rspec-core@3.9.3.rbi} +2321 -1752
- data/sorbet/rbi/gems/{rspec-expectations.rbi → rspec-expectations@3.9.4.rbi} +1119 -677
- data/sorbet/rbi/gems/{rspec-mocks.rbi → rspec-mocks@3.9.1.rbi} +1327 -933
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
- data/sorbet/rbi/gems/{vcr.rbi → vcr@5.0.0.rbi} +528 -401
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
- data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/workos.gemspec +1 -1
- metadata +61 -50
- data/sorbet/rbi/gems/addressable.rbi +0 -199
- data/sorbet/rbi/gems/codecov.rbi +0 -37
- data/sorbet/rbi/gems/crack.rbi +0 -62
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/hashdiff.rbi +0 -66
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parser.rbi +0 -1429
- data/sorbet/rbi/gems/public_suffix.rbi +0 -104
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1355
- data/sorbet/rbi/gems/rubocop.rbi +0 -7253
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -406
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -17
- data/sorbet/rbi/gems/webmock.rbi +0 -556
- data/sorbet/rbi/gems/yard.rbi +0 -1165
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +0 -1214
- data/sorbet/rbi/todo.rbi +0 -5
@@ -1,207 +1,432 @@
|
|
1
|
-
#
|
2
|
-
# srb rbi gems
|
1
|
+
# typed: true
|
3
2
|
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rexml/all/rexml.rbi
|
9
|
-
#
|
10
|
-
# rexml-3.2.5
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rexml` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rexml`.
|
11
6
|
|
12
|
-
|
7
|
+
class REXML::AttlistDecl < ::REXML::Child
|
8
|
+
include ::Enumerable
|
9
|
+
|
10
|
+
def initialize(source); end
|
11
|
+
|
12
|
+
def [](key); end
|
13
|
+
def each(&block); end
|
14
|
+
def element_name; end
|
15
|
+
def include?(key); end
|
16
|
+
def node_type; end
|
17
|
+
def write(out, indent = T.unsafe(nil)); end
|
13
18
|
end
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
def
|
21
|
-
|
22
|
-
def
|
23
|
-
def
|
24
|
-
def
|
19
|
+
|
20
|
+
class REXML::Attribute
|
21
|
+
include ::REXML::Node
|
22
|
+
include ::REXML::XMLTokens
|
23
|
+
include ::REXML::Namespace
|
24
|
+
|
25
|
+
def initialize(first, second = T.unsafe(nil), parent = T.unsafe(nil)); end
|
26
|
+
|
27
|
+
def ==(other); end
|
28
|
+
def clone; end
|
29
|
+
def doctype; end
|
30
|
+
def element; end
|
31
|
+
def element=(element); end
|
32
|
+
def hash; end
|
33
|
+
def inspect; end
|
34
|
+
def namespace(arg = T.unsafe(nil)); end
|
35
|
+
def node_type; end
|
36
|
+
def normalized=(_arg0); end
|
37
|
+
def prefix; end
|
38
|
+
def remove; end
|
25
39
|
def to_s; end
|
40
|
+
def to_string; end
|
41
|
+
def value; end
|
42
|
+
def write(output, indent = T.unsafe(nil)); end
|
43
|
+
def xpath; end
|
26
44
|
end
|
27
|
-
|
28
|
-
|
45
|
+
|
46
|
+
class REXML::Attributes < ::Hash
|
47
|
+
def initialize(element); end
|
48
|
+
|
49
|
+
def <<(attribute); end
|
50
|
+
def [](name); end
|
51
|
+
def []=(name, value); end
|
52
|
+
def add(attribute); end
|
53
|
+
def delete(attribute); end
|
54
|
+
def delete_all(name); end
|
55
|
+
def each; end
|
56
|
+
def each_attribute; end
|
57
|
+
def get_attribute(name); end
|
58
|
+
def get_attribute_ns(namespace, name); end
|
59
|
+
def length; end
|
60
|
+
def namespaces; end
|
61
|
+
def prefixes; end
|
62
|
+
def size; end
|
63
|
+
def to_a; end
|
64
|
+
end
|
65
|
+
|
66
|
+
class REXML::CData < ::REXML::Text
|
67
|
+
def initialize(first, whitespace = T.unsafe(nil), parent = T.unsafe(nil)); end
|
68
|
+
|
69
|
+
def clone; end
|
70
|
+
def to_s; end
|
71
|
+
def value; end
|
72
|
+
def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
73
|
+
end
|
74
|
+
|
75
|
+
class REXML::Child
|
76
|
+
include ::REXML::Node
|
77
|
+
|
78
|
+
def initialize(parent = T.unsafe(nil)); end
|
79
|
+
|
80
|
+
def bytes; end
|
81
|
+
def document; end
|
82
|
+
def next_sibling; end
|
83
|
+
def next_sibling=(other); end
|
84
|
+
def parent; end
|
85
|
+
def parent=(other); end
|
86
|
+
def previous_sibling; end
|
87
|
+
def previous_sibling=(other); end
|
88
|
+
def remove; end
|
89
|
+
def replace_with(child); end
|
90
|
+
end
|
91
|
+
|
92
|
+
class REXML::Comment < ::REXML::Child
|
93
|
+
include ::Comparable
|
94
|
+
|
95
|
+
def initialize(first, second = T.unsafe(nil)); end
|
96
|
+
|
97
|
+
def <=>(other); end
|
98
|
+
def ==(other); end
|
99
|
+
def clone; end
|
100
|
+
def node_type; end
|
101
|
+
def string; end
|
102
|
+
def string=(_arg0); end
|
103
|
+
def to_s; end
|
104
|
+
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
105
|
+
end
|
106
|
+
|
107
|
+
module REXML::DClonable; end
|
108
|
+
|
109
|
+
class REXML::Declaration < ::REXML::Child
|
110
|
+
def initialize(src); end
|
111
|
+
|
112
|
+
def to_s; end
|
113
|
+
def write(output, indent); end
|
114
|
+
end
|
115
|
+
|
116
|
+
class REXML::DocType < ::REXML::Parent
|
117
|
+
include ::REXML::XMLTokens
|
118
|
+
|
119
|
+
def initialize(first, parent = T.unsafe(nil)); end
|
120
|
+
|
121
|
+
def add(child); end
|
122
|
+
def attribute_of(element, attribute); end
|
123
|
+
def attributes_of(element); end
|
124
|
+
def clone; end
|
125
|
+
def context; end
|
126
|
+
def entities; end
|
127
|
+
def entity(name); end
|
128
|
+
def external_id; end
|
129
|
+
def name; end
|
130
|
+
def namespaces; end
|
131
|
+
def node_type; end
|
132
|
+
def notation(name); end
|
133
|
+
def notations; end
|
134
|
+
def public; end
|
135
|
+
def system; end
|
136
|
+
def write(output, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
137
|
+
end
|
138
|
+
|
139
|
+
class REXML::Document < ::REXML::Element
|
140
|
+
def initialize(source = T.unsafe(nil), context = T.unsafe(nil)); end
|
141
|
+
|
142
|
+
def <<(child); end
|
143
|
+
def add(child); end
|
144
|
+
def add_element(arg = T.unsafe(nil), arg2 = T.unsafe(nil)); end
|
145
|
+
def clone; end
|
146
|
+
def doctype; end
|
147
|
+
def document; end
|
148
|
+
def encoding; end
|
149
|
+
def entity_expansion_count; end
|
150
|
+
def expanded_name; end
|
151
|
+
def name; end
|
152
|
+
def node_type; end
|
153
|
+
def record_entity_expansion; end
|
154
|
+
def root; end
|
155
|
+
def stand_alone?; end
|
156
|
+
def version; end
|
157
|
+
def write(*arguments); end
|
158
|
+
def xml_decl; end
|
159
|
+
|
160
|
+
private
|
161
|
+
|
162
|
+
def build(source); end
|
163
|
+
|
164
|
+
class << self
|
165
|
+
def entity_expansion_limit; end
|
166
|
+
def entity_expansion_limit=(val); end
|
167
|
+
def entity_expansion_text_limit; end
|
168
|
+
def entity_expansion_text_limit=(val); end
|
169
|
+
def parse_stream(source, listener); end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
class REXML::Element < ::REXML::Parent
|
174
|
+
include ::REXML::XMLTokens
|
175
|
+
include ::REXML::Namespace
|
176
|
+
|
177
|
+
def initialize(arg = T.unsafe(nil), parent = T.unsafe(nil), context = T.unsafe(nil)); end
|
178
|
+
|
179
|
+
def [](name_or_index); end
|
180
|
+
def add_attribute(key, value = T.unsafe(nil)); end
|
181
|
+
def add_attributes(hash); end
|
182
|
+
def add_element(element, attrs = T.unsafe(nil)); end
|
183
|
+
def add_namespace(prefix, uri = T.unsafe(nil)); end
|
184
|
+
def add_text(text); end
|
185
|
+
def attribute(name, namespace = T.unsafe(nil)); end
|
186
|
+
def attributes; end
|
187
|
+
def cdatas; end
|
188
|
+
def clone; end
|
189
|
+
def comments; end
|
190
|
+
def context; end
|
191
|
+
def context=(_arg0); end
|
192
|
+
def delete_attribute(key); end
|
193
|
+
def delete_element(element); end
|
194
|
+
def delete_namespace(namespace = T.unsafe(nil)); end
|
195
|
+
def document; end
|
196
|
+
def each_element(xpath = T.unsafe(nil), &block); end
|
197
|
+
def each_element_with_attribute(key, value = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
|
198
|
+
def each_element_with_text(text = T.unsafe(nil), max = T.unsafe(nil), name = T.unsafe(nil), &block); end
|
199
|
+
def elements; end
|
200
|
+
def get_elements(xpath); end
|
201
|
+
def get_text(path = T.unsafe(nil)); end
|
202
|
+
def has_attributes?; end
|
203
|
+
def has_elements?; end
|
204
|
+
def has_text?; end
|
205
|
+
def ignore_whitespace_nodes; end
|
206
|
+
def inspect; end
|
207
|
+
def instructions; end
|
208
|
+
def namespace(prefix = T.unsafe(nil)); end
|
209
|
+
def namespaces; end
|
210
|
+
def next_element; end
|
211
|
+
def node_type; end
|
212
|
+
def prefixes; end
|
213
|
+
def previous_element; end
|
214
|
+
def raw; end
|
215
|
+
def root; end
|
216
|
+
def root_node; end
|
217
|
+
def text(path = T.unsafe(nil)); end
|
218
|
+
def text=(text); end
|
219
|
+
def texts; end
|
220
|
+
def whitespace; end
|
221
|
+
def write(output = T.unsafe(nil), indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
222
|
+
def xpath; end
|
223
|
+
|
224
|
+
private
|
225
|
+
|
226
|
+
def __to_xpath_helper(node); end
|
227
|
+
def each_with_something(test, max = T.unsafe(nil), name = T.unsafe(nil)); end
|
228
|
+
end
|
229
|
+
|
230
|
+
class REXML::ElementDecl < ::REXML::Declaration
|
231
|
+
def initialize(src); end
|
29
232
|
end
|
233
|
+
|
234
|
+
class REXML::Elements
|
235
|
+
include ::Enumerable
|
236
|
+
|
237
|
+
def initialize(parent); end
|
238
|
+
|
239
|
+
def <<(element = T.unsafe(nil)); end
|
240
|
+
def [](index, name = T.unsafe(nil)); end
|
241
|
+
def []=(index, element); end
|
242
|
+
def add(element = T.unsafe(nil)); end
|
243
|
+
def collect(xpath = T.unsafe(nil)); end
|
244
|
+
def delete(element); end
|
245
|
+
def delete_all(xpath); end
|
246
|
+
def each(xpath = T.unsafe(nil)); end
|
247
|
+
def empty?; end
|
248
|
+
def index(element); end
|
249
|
+
def inject(xpath = T.unsafe(nil), initial = T.unsafe(nil)); end
|
250
|
+
def parent; end
|
251
|
+
def size; end
|
252
|
+
def to_a(xpath = T.unsafe(nil)); end
|
253
|
+
|
254
|
+
private
|
255
|
+
|
256
|
+
def literalize(name); end
|
257
|
+
end
|
258
|
+
|
30
259
|
module REXML::Encoding
|
31
260
|
def decode(string); end
|
32
261
|
def encode(string); end
|
33
262
|
def encoding; end
|
34
263
|
def encoding=(encoding); end
|
264
|
+
|
265
|
+
private
|
266
|
+
|
35
267
|
def find_encoding(name); end
|
36
268
|
end
|
37
|
-
|
38
|
-
|
269
|
+
|
270
|
+
class REXML::Entity < ::REXML::Child
|
271
|
+
include ::REXML::XMLTokens
|
272
|
+
|
273
|
+
def initialize(stream, value = T.unsafe(nil), parent = T.unsafe(nil), reference = T.unsafe(nil)); end
|
274
|
+
|
275
|
+
def external; end
|
276
|
+
def name; end
|
277
|
+
def ndata; end
|
278
|
+
def normalized; end
|
279
|
+
def pubid; end
|
280
|
+
def ref; end
|
281
|
+
def to_s; end
|
282
|
+
def unnormalized; end
|
283
|
+
def value; end
|
284
|
+
def write(out, indent = T.unsafe(nil)); end
|
285
|
+
|
286
|
+
class << self
|
287
|
+
def matches?(string); end
|
288
|
+
end
|
39
289
|
end
|
40
|
-
|
41
|
-
|
42
|
-
def
|
43
|
-
|
44
|
-
def
|
45
|
-
def
|
46
|
-
def encoding; end
|
47
|
-
def encoding=(enc); end
|
48
|
-
def encoding_updated; end
|
49
|
-
def initialize(arg, encoding = nil); end
|
50
|
-
def line; end
|
51
|
-
def match(pattern, cons = nil); end
|
52
|
-
def match_to(char, pattern); end
|
53
|
-
def match_to_consume(char, pattern); end
|
54
|
-
def position; end
|
55
|
-
def read; end
|
56
|
-
def scan(pattern, cons = nil); end
|
57
|
-
include REXML::Encoding
|
290
|
+
|
291
|
+
class REXML::ExternalEntity < ::REXML::Child
|
292
|
+
def initialize(src); end
|
293
|
+
|
294
|
+
def to_s; end
|
295
|
+
def write(output, indent); end
|
58
296
|
end
|
59
|
-
|
297
|
+
|
298
|
+
class REXML::Formatters::Default
|
299
|
+
def initialize(ie_hack = T.unsafe(nil)); end
|
300
|
+
|
301
|
+
def write(node, output); end
|
302
|
+
|
303
|
+
protected
|
304
|
+
|
305
|
+
def write_cdata(node, output); end
|
306
|
+
def write_comment(node, output); end
|
307
|
+
def write_document(node, output); end
|
308
|
+
def write_element(node, output); end
|
309
|
+
def write_instruction(node, output); end
|
310
|
+
def write_text(node, output); end
|
311
|
+
end
|
312
|
+
|
313
|
+
class REXML::Formatters::Pretty < ::REXML::Formatters::Default
|
314
|
+
def initialize(indentation = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
315
|
+
|
316
|
+
def compact; end
|
317
|
+
def compact=(_arg0); end
|
318
|
+
def width; end
|
319
|
+
def width=(_arg0); end
|
320
|
+
|
321
|
+
protected
|
322
|
+
|
323
|
+
def write_cdata(node, output); end
|
324
|
+
def write_comment(node, output); end
|
325
|
+
def write_document(node, output); end
|
326
|
+
def write_element(node, output); end
|
327
|
+
def write_text(node, output); end
|
328
|
+
|
329
|
+
private
|
330
|
+
|
331
|
+
def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
|
332
|
+
def wrap(string, width); end
|
333
|
+
end
|
334
|
+
|
335
|
+
class REXML::IOSource < ::REXML::Source
|
336
|
+
def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
337
|
+
|
60
338
|
def consume(pattern); end
|
61
339
|
def current_line; end
|
62
340
|
def empty?; end
|
63
|
-
def
|
64
|
-
def initialize(arg, block_size = nil, encoding = nil); end
|
65
|
-
def match(pattern, cons = nil); end
|
341
|
+
def match(pattern, cons = T.unsafe(nil)); end
|
66
342
|
def position; end
|
67
343
|
def read; end
|
344
|
+
def scan(pattern, cons = T.unsafe(nil)); end
|
345
|
+
|
346
|
+
private
|
347
|
+
|
348
|
+
def encoding_updated; end
|
68
349
|
def readline; end
|
69
|
-
def scan(pattern, cons = nil); end
|
70
|
-
end
|
71
|
-
module REXML::Parsers
|
72
350
|
end
|
73
|
-
|
74
|
-
|
75
|
-
def
|
76
|
-
|
77
|
-
def
|
78
|
-
def
|
79
|
-
def
|
80
|
-
def
|
81
|
-
def
|
82
|
-
def
|
83
|
-
def
|
84
|
-
def
|
85
|
-
def
|
86
|
-
def position; end
|
87
|
-
def process_instruction; end
|
88
|
-
def pull; end
|
89
|
-
def pull_event; end
|
90
|
-
def source; end
|
91
|
-
def stream=(source); end
|
92
|
-
def unnormalize(string, entities = nil, filter = nil); end
|
93
|
-
def unshift(token); end
|
94
|
-
end
|
95
|
-
class REXML::Parsers::StreamParser
|
96
|
-
def add_listener(listener); end
|
97
|
-
def initialize(source, listener); end
|
98
|
-
def parse; end
|
99
|
-
end
|
100
|
-
module REXML::XMLTokens
|
101
|
-
end
|
102
|
-
module REXML::Light
|
351
|
+
|
352
|
+
class REXML::Instruction < ::REXML::Child
|
353
|
+
def initialize(target, content = T.unsafe(nil)); end
|
354
|
+
|
355
|
+
def ==(other); end
|
356
|
+
def clone; end
|
357
|
+
def content; end
|
358
|
+
def content=(_arg0); end
|
359
|
+
def inspect; end
|
360
|
+
def node_type; end
|
361
|
+
def target; end
|
362
|
+
def target=(_arg0); end
|
363
|
+
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
103
364
|
end
|
365
|
+
|
366
|
+
module REXML::Light; end
|
367
|
+
|
104
368
|
class REXML::Light::Node
|
369
|
+
def initialize(node = T.unsafe(nil)); end
|
370
|
+
|
105
371
|
def <<(element); end
|
106
372
|
def =~(path); end
|
107
|
-
def [](reference, ns = nil); end
|
108
|
-
def []=(reference, ns, value = nil); end
|
373
|
+
def [](reference, ns = T.unsafe(nil)); end
|
374
|
+
def []=(reference, ns, value = T.unsafe(nil)); end
|
109
375
|
def children; end
|
110
376
|
def each; end
|
111
|
-
def has_name?(name, namespace = nil); end
|
112
|
-
def initialize(node = nil); end
|
377
|
+
def has_name?(name, namespace = T.unsafe(nil)); end
|
113
378
|
def local_name; end
|
114
379
|
def local_name=(name_str); end
|
115
380
|
def name; end
|
116
|
-
def name=(name_str, ns = nil); end
|
117
|
-
def namespace(prefix = nil); end
|
381
|
+
def name=(name_str, ns = T.unsafe(nil)); end
|
382
|
+
def namespace(prefix = T.unsafe(nil)); end
|
118
383
|
def namespace=(namespace); end
|
119
|
-
def namespace_of(node, prefix = nil); end
|
120
|
-
def namesplit; end
|
121
384
|
def node_type; end
|
122
385
|
def parent; end
|
123
386
|
def parent=(node); end
|
124
|
-
def prefix(namespace = nil); end
|
125
|
-
def prefix_of(node, namespace = nil); end
|
387
|
+
def prefix(namespace = T.unsafe(nil)); end
|
126
388
|
def root; end
|
127
389
|
def size; end
|
128
390
|
def text=(foo); end
|
129
391
|
def to_s; end
|
392
|
+
|
393
|
+
private
|
394
|
+
|
395
|
+
def namespace_of(node, prefix = T.unsafe(nil)); end
|
396
|
+
def namesplit; end
|
397
|
+
def prefix_of(node, namespace = T.unsafe(nil)); end
|
130
398
|
end
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
end
|
137
|
-
|
138
|
-
end
|
139
|
-
class REXML::Formatters::Default
|
140
|
-
def initialize(ie_hack = nil); end
|
141
|
-
def write(node, output); end
|
142
|
-
def write_cdata(node, output); end
|
143
|
-
def write_comment(node, output); end
|
144
|
-
def write_document(node, output); end
|
145
|
-
def write_element(node, output); end
|
146
|
-
def write_instruction(node, output); end
|
147
|
-
def write_text(node, output); end
|
148
|
-
end
|
149
|
-
class REXML::Formatters::Pretty < REXML::Formatters::Default
|
150
|
-
def compact; end
|
151
|
-
def compact=(arg0); end
|
152
|
-
def indent_text(string, level = nil, style = nil, indentfirstline = nil); end
|
153
|
-
def initialize(indentation = nil, ie_hack = nil); end
|
154
|
-
def width; end
|
155
|
-
def width=(arg0); end
|
156
|
-
def wrap(string, width); end
|
157
|
-
def write_cdata(node, output); end
|
158
|
-
def write_comment(node, output); end
|
159
|
-
def write_document(node, output); end
|
160
|
-
def write_element(node, output); end
|
161
|
-
def write_text(node, output); end
|
162
|
-
end
|
163
|
-
module REXML::Node
|
164
|
-
def each_recursive(&block); end
|
165
|
-
def find_first_recursive(&block); end
|
166
|
-
def indent(to, ind); end
|
167
|
-
def index_in_parent; end
|
168
|
-
def next_sibling_node; end
|
169
|
-
def parent?; end
|
170
|
-
def previous_sibling_node; end
|
171
|
-
def to_s(indent = nil); end
|
172
|
-
end
|
173
|
-
class REXML::Child
|
174
|
-
def bytes; end
|
175
|
-
def document; end
|
176
|
-
def initialize(parent = nil); end
|
177
|
-
def next_sibling; end
|
178
|
-
def next_sibling=(other); end
|
179
|
-
def parent; end
|
180
|
-
def parent=(other); end
|
181
|
-
def previous_sibling; end
|
182
|
-
def previous_sibling=(other); end
|
183
|
-
def remove; end
|
184
|
-
def replace_with(child); end
|
185
|
-
include REXML::Node
|
186
|
-
end
|
187
|
-
class REXML::Entity < REXML::Child
|
188
|
-
def external; end
|
189
|
-
def initialize(stream, value = nil, parent = nil, reference = nil); end
|
399
|
+
|
400
|
+
REXML::Light::Node::NAMESPLIT = T.let(T.unsafe(nil), Regexp)
|
401
|
+
REXML::Light::Node::PARENTS = T.let(T.unsafe(nil), Array)
|
402
|
+
|
403
|
+
class REXML::NotationDecl < ::REXML::Child
|
404
|
+
def initialize(name, middle, pub, sys); end
|
405
|
+
|
190
406
|
def name; end
|
191
|
-
def
|
192
|
-
def
|
193
|
-
def
|
194
|
-
def
|
195
|
-
def self.matches?(string); end
|
407
|
+
def public; end
|
408
|
+
def public=(_arg0); end
|
409
|
+
def system; end
|
410
|
+
def system=(_arg0); end
|
196
411
|
def to_s; end
|
197
|
-
def
|
198
|
-
def value; end
|
199
|
-
def write(out, indent = nil); end
|
200
|
-
include REXML::XMLTokens
|
412
|
+
def write(output, indent = T.unsafe(nil)); end
|
201
413
|
end
|
202
|
-
|
414
|
+
|
415
|
+
class REXML::Output
|
416
|
+
include ::REXML::Encoding
|
417
|
+
|
418
|
+
def initialize(real_IO, encd = T.unsafe(nil)); end
|
419
|
+
|
420
|
+
def <<(content); end
|
421
|
+
def encoding; end
|
422
|
+
def to_s; end
|
203
423
|
end
|
204
|
-
|
424
|
+
|
425
|
+
class REXML::Parent < ::REXML::Child
|
426
|
+
include ::Enumerable
|
427
|
+
|
428
|
+
def initialize(parent = T.unsafe(nil)); end
|
429
|
+
|
205
430
|
def <<(object); end
|
206
431
|
def [](index); end
|
207
432
|
def []=(*args); end
|
@@ -215,7 +440,6 @@ class REXML::Parent < REXML::Child
|
|
215
440
|
def each_child(&block); end
|
216
441
|
def each_index(&block); end
|
217
442
|
def index(child); end
|
218
|
-
def initialize(parent = nil); end
|
219
443
|
def insert_after(child1, child2); end
|
220
444
|
def insert_before(child1, child2); end
|
221
445
|
def length; end
|
@@ -225,136 +449,82 @@ class REXML::Parent < REXML::Child
|
|
225
449
|
def size; end
|
226
450
|
def to_a; end
|
227
451
|
def unshift(object); end
|
228
|
-
include Enumerable
|
229
452
|
end
|
230
|
-
|
231
|
-
|
232
|
-
def
|
233
|
-
|
234
|
-
def local_name; end
|
235
|
-
def name; end
|
236
|
-
def name=(name); end
|
237
|
-
def prefix; end
|
238
|
-
def prefix=(arg0); end
|
239
|
-
include REXML::XMLTokens
|
240
|
-
end
|
241
|
-
class REXML::AttlistDecl < REXML::Child
|
242
|
-
def [](key); end
|
243
|
-
def each(&block); end
|
244
|
-
def element_name; end
|
245
|
-
def include?(key); end
|
246
|
-
def initialize(source); end
|
247
|
-
def node_type; end
|
248
|
-
def write(out, indent = nil); end
|
249
|
-
include Enumerable
|
250
|
-
end
|
251
|
-
class REXML::ReferenceWriter
|
252
|
-
def initialize(id_type, public_id_literal, system_literal, context = nil); end
|
253
|
-
def write(output); end
|
254
|
-
end
|
255
|
-
class REXML::DocType < REXML::Parent
|
256
|
-
def add(child); end
|
257
|
-
def attribute_of(element, attribute); end
|
258
|
-
def attributes_of(element); end
|
259
|
-
def clone; end
|
453
|
+
|
454
|
+
class REXML::ParseException < ::RuntimeError
|
455
|
+
def initialize(message, source = T.unsafe(nil), parser = T.unsafe(nil), exception = T.unsafe(nil)); end
|
456
|
+
|
260
457
|
def context; end
|
261
|
-
def
|
262
|
-
def
|
263
|
-
def
|
264
|
-
def
|
265
|
-
def
|
266
|
-
def
|
267
|
-
def
|
268
|
-
def
|
269
|
-
def notations; end
|
270
|
-
def public; end
|
271
|
-
def system; end
|
272
|
-
def write(output, indent = nil, transitive = nil, ie_hack = nil); end
|
273
|
-
include REXML::XMLTokens
|
274
|
-
end
|
275
|
-
class REXML::Declaration < REXML::Child
|
276
|
-
def initialize(src); end
|
277
|
-
def to_s; end
|
278
|
-
def write(output, indent); end
|
279
|
-
end
|
280
|
-
class REXML::ElementDecl < REXML::Declaration
|
281
|
-
def initialize(src); end
|
282
|
-
end
|
283
|
-
class REXML::ExternalEntity < REXML::Child
|
284
|
-
def initialize(src); end
|
285
|
-
def to_s; end
|
286
|
-
def write(output, indent); end
|
287
|
-
end
|
288
|
-
class REXML::NotationDecl < REXML::Child
|
289
|
-
def initialize(name, middle, pub, sys); end
|
290
|
-
def name; end
|
291
|
-
def public; end
|
292
|
-
def public=(arg0); end
|
293
|
-
def system; end
|
294
|
-
def system=(arg0); end
|
458
|
+
def continued_exception; end
|
459
|
+
def continued_exception=(_arg0); end
|
460
|
+
def line; end
|
461
|
+
def parser; end
|
462
|
+
def parser=(_arg0); end
|
463
|
+
def position; end
|
464
|
+
def source; end
|
465
|
+
def source=(_arg0); end
|
295
466
|
def to_s; end
|
296
|
-
def write(output, indent = nil); end
|
297
467
|
end
|
298
|
-
|
299
|
-
|
300
|
-
def
|
301
|
-
|
302
|
-
def
|
303
|
-
def doctype; end
|
468
|
+
|
469
|
+
class REXML::Parsers::BaseParser
|
470
|
+
def initialize(source); end
|
471
|
+
|
472
|
+
def add_listener(listener); end
|
304
473
|
def empty?; end
|
305
|
-
def
|
306
|
-
def
|
307
|
-
def
|
308
|
-
def
|
309
|
-
def
|
310
|
-
def
|
311
|
-
def
|
312
|
-
def
|
313
|
-
def
|
314
|
-
def
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
def
|
319
|
-
def
|
320
|
-
def
|
321
|
-
def
|
322
|
-
def
|
323
|
-
def
|
324
|
-
|
325
|
-
end
|
326
|
-
class REXML::Attribute
|
327
|
-
def ==(other); end
|
328
|
-
def clone; end
|
329
|
-
def doctype; end
|
330
|
-
def element; end
|
331
|
-
def element=(element); end
|
332
|
-
def hash; end
|
333
|
-
def initialize(first, second = nil, parent = nil); end
|
334
|
-
def inspect; end
|
335
|
-
def namespace(arg = nil); end
|
336
|
-
def node_type; end
|
337
|
-
def normalized=(arg0); end
|
338
|
-
def prefix; end
|
339
|
-
def remove; end
|
340
|
-
def to_s; end
|
341
|
-
def to_string; end
|
342
|
-
def value; end
|
343
|
-
def write(output, indent = nil); end
|
344
|
-
def xpath; end
|
345
|
-
include REXML::Namespace
|
346
|
-
include REXML::Node
|
474
|
+
def entity(reference, entities); end
|
475
|
+
def has_next?; end
|
476
|
+
def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
|
477
|
+
def peek(depth = T.unsafe(nil)); end
|
478
|
+
def position; end
|
479
|
+
def pull; end
|
480
|
+
def source; end
|
481
|
+
def stream=(source); end
|
482
|
+
def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end
|
483
|
+
def unshift(token); end
|
484
|
+
|
485
|
+
private
|
486
|
+
|
487
|
+
def need_source_encoding_update?(xml_declaration_encoding); end
|
488
|
+
def parse_attributes(prefixes, curr_ns); end
|
489
|
+
def parse_id(base_error_message, accept_external_id:, accept_public_id:); end
|
490
|
+
def parse_id_invalid_details(accept_external_id:, accept_public_id:); end
|
491
|
+
def parse_name(base_error_message); end
|
492
|
+
def process_instruction; end
|
493
|
+
def pull_event; end
|
347
494
|
end
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
495
|
+
|
496
|
+
REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp)
|
497
|
+
REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp)
|
498
|
+
REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp)
|
499
|
+
REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp)
|
500
|
+
REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String)
|
501
|
+
|
502
|
+
class REXML::Parsers::StreamParser
|
503
|
+
def initialize(source, listener); end
|
504
|
+
|
505
|
+
def add_listener(listener); end
|
506
|
+
def parse; end
|
354
507
|
end
|
355
|
-
|
508
|
+
|
509
|
+
class REXML::Parsers::TreeParser
|
510
|
+
def initialize(source, build_context = T.unsafe(nil)); end
|
511
|
+
|
512
|
+
def add_listener(listener); end
|
513
|
+
def parse; end
|
356
514
|
end
|
515
|
+
|
357
516
|
class REXML::Parsers::XPathParser
|
517
|
+
include ::REXML::XMLTokens
|
518
|
+
|
519
|
+
def abbreviate(path); end
|
520
|
+
def expand(path); end
|
521
|
+
def namespaces=(namespaces); end
|
522
|
+
def parse(path); end
|
523
|
+
def predicate(path); end
|
524
|
+
def predicate_to_string(path, &block); end
|
525
|
+
|
526
|
+
private
|
527
|
+
|
358
528
|
def AdditiveExpr(path, parsed); end
|
359
529
|
def AndExpr(path, parsed); end
|
360
530
|
def EqualityExpr(path, parsed); end
|
@@ -371,258 +541,169 @@ class REXML::Parsers::XPathParser
|
|
371
541
|
def RelativeLocationPath(path, parsed); end
|
372
542
|
def UnaryExpr(path, parsed); end
|
373
543
|
def UnionExpr(path, parsed); end
|
374
|
-
def abbreviate(path); end
|
375
|
-
def expand(path); end
|
376
544
|
def get_group(string); end
|
377
|
-
def namespaces=(namespaces); end
|
378
|
-
def parse(path); end
|
379
545
|
def parse_args(string); end
|
380
|
-
def predicate(path); end
|
381
|
-
def predicate_to_string(path, &block); end
|
382
|
-
include REXML::XMLTokens
|
383
546
|
end
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
def
|
390
|
-
|
391
|
-
def
|
392
|
-
def each_unnode(nodeset); end
|
393
|
-
def enter(tag, *args); end
|
394
|
-
def equality_relational_compare(set1, op, set2); end
|
395
|
-
def evaluate_predicate(expression, nodesets); end
|
396
|
-
def expr(path_stack, nodeset, context = nil); end
|
397
|
-
def filter_nodeset(nodeset); end
|
398
|
-
def first(path_stack, node); end
|
399
|
-
def following(node); end
|
400
|
-
def following_node_of(node); end
|
401
|
-
def get_first(path, nodeset); end
|
402
|
-
def get_namespace(node, prefix); end
|
403
|
-
def initialize(strict: nil); end
|
404
|
-
def leave(tag, *args); end
|
405
|
-
def match(path_stack, nodeset); end
|
406
|
-
def namespaces=(namespaces = nil); end
|
407
|
-
def next_sibling_node(node); end
|
408
|
-
def node_test(path_stack, nodesets, any_type: nil); end
|
409
|
-
def norm(b); end
|
410
|
-
def normalize_compare_values(a, operator, b); end
|
411
|
-
def parse(path, nodeset); end
|
412
|
-
def preceding(node); end
|
413
|
-
def preceding_node_of(node); end
|
414
|
-
def predicate(path, nodeset); end
|
415
|
-
def sort(array_of_nodes, order); end
|
416
|
-
def step(path_stack, any_type: nil, order: nil); end
|
417
|
-
def strict?; end
|
418
|
-
def trace(*args); end
|
419
|
-
def unnode(nodeset); end
|
420
|
-
def value_type(value); end
|
421
|
-
def variables=(vars = nil); end
|
422
|
-
include REXML::XMLTokens
|
547
|
+
|
548
|
+
REXML::Parsers::XPathParser::LOCAL_NAME_WILDCARD = T.let(T.unsafe(nil), Regexp)
|
549
|
+
REXML::Parsers::XPathParser::PREFIX_WILDCARD = T.let(T.unsafe(nil), Regexp)
|
550
|
+
|
551
|
+
class REXML::ReferenceWriter
|
552
|
+
def initialize(id_type, public_id_literal, system_literal, context = T.unsafe(nil)); end
|
553
|
+
|
554
|
+
def write(output); end
|
423
555
|
end
|
424
|
-
|
425
|
-
|
426
|
-
|
556
|
+
|
557
|
+
class REXML::Source
|
558
|
+
include ::REXML::Encoding
|
559
|
+
|
560
|
+
def initialize(arg, encoding = T.unsafe(nil)); end
|
561
|
+
|
562
|
+
def buffer; end
|
563
|
+
def consume(pattern); end
|
564
|
+
def current_line; end
|
565
|
+
def empty?; end
|
566
|
+
def encoding; end
|
567
|
+
def encoding=(enc); end
|
568
|
+
def line; end
|
569
|
+
def match(pattern, cons = T.unsafe(nil)); end
|
570
|
+
def match_to(char, pattern); end
|
571
|
+
def match_to_consume(char, pattern); end
|
427
572
|
def position; end
|
428
|
-
def
|
429
|
-
end
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
def
|
434
|
-
|
573
|
+
def read; end
|
574
|
+
def scan(pattern, cons = T.unsafe(nil)); end
|
575
|
+
|
576
|
+
private
|
577
|
+
|
578
|
+
def detect_encoding; end
|
579
|
+
def encoding_updated; end
|
435
580
|
end
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
def
|
441
|
-
|
442
|
-
def
|
443
|
-
def
|
444
|
-
def attribute(name, namespace = nil); end
|
445
|
-
def attributes; end
|
446
|
-
def cdatas; end
|
581
|
+
|
582
|
+
class REXML::Text < ::REXML::Child
|
583
|
+
include ::Comparable
|
584
|
+
|
585
|
+
def initialize(arg, respect_whitespace = T.unsafe(nil), parent = T.unsafe(nil), raw = T.unsafe(nil), entity_filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
|
586
|
+
|
587
|
+
def <<(to_append); end
|
588
|
+
def <=>(other); end
|
447
589
|
def clone; end
|
448
|
-
def
|
449
|
-
def
|
450
|
-
def
|
451
|
-
def delete_attribute(key); end
|
452
|
-
def delete_element(element); end
|
453
|
-
def delete_namespace(namespace = nil); end
|
454
|
-
def document; end
|
455
|
-
def each_element(xpath = nil, &block); end
|
456
|
-
def each_element_with_attribute(key, value = nil, max = nil, name = nil, &block); end
|
457
|
-
def each_element_with_text(text = nil, max = nil, name = nil, &block); end
|
458
|
-
def each_with_something(test, max = nil, name = nil); end
|
459
|
-
def elements; end
|
460
|
-
def get_elements(xpath); end
|
461
|
-
def get_text(path = nil); end
|
462
|
-
def has_attributes?; end
|
463
|
-
def has_elements?; end
|
464
|
-
def has_text?; end
|
465
|
-
def ignore_whitespace_nodes; end
|
466
|
-
def initialize(arg = nil, parent = nil, context = nil); end
|
590
|
+
def doctype; end
|
591
|
+
def empty?; end
|
592
|
+
def indent_text(string, level = T.unsafe(nil), style = T.unsafe(nil), indentfirstline = T.unsafe(nil)); end
|
467
593
|
def inspect; end
|
468
|
-
def instructions; end
|
469
|
-
def namespace(prefix = nil); end
|
470
|
-
def namespaces; end
|
471
|
-
def next_element; end
|
472
594
|
def node_type; end
|
473
|
-
def
|
474
|
-
def previous_element; end
|
595
|
+
def parent=(parent); end
|
475
596
|
def raw; end
|
476
|
-
def
|
477
|
-
def
|
478
|
-
def
|
479
|
-
def
|
480
|
-
def
|
481
|
-
def
|
482
|
-
def
|
597
|
+
def raw=(_arg0); end
|
598
|
+
def to_s; end
|
599
|
+
def value; end
|
600
|
+
def value=(val); end
|
601
|
+
def wrap(string, width, addnewline = T.unsafe(nil)); end
|
602
|
+
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
603
|
+
def write_with_substitution(out, input); end
|
483
604
|
def xpath; end
|
484
|
-
|
605
|
+
|
606
|
+
private
|
607
|
+
|
608
|
+
def clear_cache; end
|
609
|
+
|
610
|
+
class << self
|
611
|
+
def check(string, pattern, doctype); end
|
612
|
+
def expand(ref, doctype, filter); end
|
613
|
+
def normalize(input, doctype = T.unsafe(nil), entity_filter = T.unsafe(nil)); end
|
614
|
+
def read_with_substitution(input, illegal = T.unsafe(nil)); end
|
615
|
+
def unnormalize(string, doctype = T.unsafe(nil), filter = T.unsafe(nil), illegal = T.unsafe(nil)); end
|
616
|
+
end
|
485
617
|
end
|
486
|
-
|
487
|
-
|
488
|
-
def
|
489
|
-
def []=(index, element); end
|
490
|
-
def add(element = nil); end
|
491
|
-
def collect(xpath = nil); end
|
492
|
-
def delete(element); end
|
493
|
-
def delete_all(xpath); end
|
494
|
-
def each(xpath = nil); end
|
495
|
-
def empty?; end
|
496
|
-
def index(element); end
|
497
|
-
def initialize(parent); end
|
498
|
-
def inject(xpath = nil, initial = nil); end
|
499
|
-
def literalize(name); end
|
500
|
-
def parent; end
|
501
|
-
def size; end
|
502
|
-
def to_a(xpath = nil); end
|
503
|
-
include Enumerable
|
618
|
+
|
619
|
+
class REXML::UndefinedNamespaceException < ::REXML::ParseException
|
620
|
+
def initialize(prefix, source, parser); end
|
504
621
|
end
|
505
|
-
|
506
|
-
|
507
|
-
def
|
508
|
-
def []=(name, value); end
|
509
|
-
def add(attribute); end
|
510
|
-
def delete(attribute); end
|
511
|
-
def delete_all(name); end
|
512
|
-
def each; end
|
513
|
-
def each_attribute; end
|
514
|
-
def get_attribute(name); end
|
515
|
-
def get_attribute_ns(namespace, name); end
|
516
|
-
def initialize(element); end
|
517
|
-
def length; end
|
518
|
-
def namespaces; end
|
519
|
-
def prefixes; end
|
520
|
-
def size; end
|
521
|
-
def to_a; end
|
622
|
+
|
623
|
+
class REXML::Validation::ValidationException < ::RuntimeError
|
624
|
+
def initialize(msg); end
|
522
625
|
end
|
523
|
-
|
626
|
+
|
627
|
+
class REXML::XMLDecl < ::REXML::Child
|
628
|
+
include ::REXML::Encoding
|
629
|
+
|
630
|
+
def initialize(version = T.unsafe(nil), encoding = T.unsafe(nil), standalone = T.unsafe(nil)); end
|
631
|
+
|
524
632
|
def ==(other); end
|
525
633
|
def clone; end
|
526
|
-
def content(enc); end
|
527
634
|
def dowrite; end
|
528
635
|
def encoding=(enc); end
|
529
|
-
def initialize(version = nil, encoding = nil, standalone = nil); end
|
530
636
|
def inspect; end
|
531
637
|
def node_type; end
|
532
638
|
def nowrite; end
|
533
639
|
def old_enc=(encoding); end
|
534
|
-
def self.default; end
|
535
640
|
def stand_alone?; end
|
536
641
|
def standalone; end
|
537
|
-
def standalone=(
|
642
|
+
def standalone=(_arg0); end
|
538
643
|
def version; end
|
539
|
-
def version=(
|
540
|
-
def write(writer, indent = nil, transitive = nil, ie_hack = nil); end
|
644
|
+
def version=(_arg0); end
|
645
|
+
def write(writer, indent = T.unsafe(nil), transitive = T.unsafe(nil), ie_hack = T.unsafe(nil)); end
|
541
646
|
def writeencoding; end
|
542
647
|
def writethis; end
|
543
648
|
def xmldecl(version, encoding, standalone); end
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
def
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
def string; end
|
553
|
-
def string=(arg0); end
|
554
|
-
def to_s; end
|
555
|
-
def write(output, indent = nil, transitive = nil, ie_hack = nil); end
|
556
|
-
include Comparable
|
557
|
-
end
|
558
|
-
class REXML::Instruction < REXML::Child
|
559
|
-
def ==(other); end
|
560
|
-
def clone; end
|
561
|
-
def content; end
|
562
|
-
def content=(arg0); end
|
563
|
-
def initialize(target, content = nil); end
|
564
|
-
def inspect; end
|
565
|
-
def node_type; end
|
566
|
-
def target; end
|
567
|
-
def target=(arg0); end
|
568
|
-
def write(writer, indent = nil, transitive = nil, ie_hack = nil); end
|
569
|
-
end
|
570
|
-
class REXML::Output
|
571
|
-
def <<(content); end
|
572
|
-
def encoding; end
|
573
|
-
def initialize(real_IO, encd = nil); end
|
574
|
-
def to_s; end
|
575
|
-
include REXML::Encoding
|
576
|
-
end
|
577
|
-
module REXML::Validation
|
578
|
-
end
|
579
|
-
class REXML::Validation::ValidationException < RuntimeError
|
580
|
-
def initialize(msg); end
|
581
|
-
end
|
582
|
-
class REXML::Parsers::TreeParser
|
583
|
-
def add_listener(listener); end
|
584
|
-
def initialize(source, build_context = nil); end
|
585
|
-
def parse; end
|
649
|
+
|
650
|
+
private
|
651
|
+
|
652
|
+
def content(enc); end
|
653
|
+
|
654
|
+
class << self
|
655
|
+
def default; end
|
656
|
+
end
|
586
657
|
end
|
587
|
-
|
588
|
-
|
589
|
-
def
|
590
|
-
|
591
|
-
def
|
592
|
-
def
|
593
|
-
def
|
594
|
-
def document; end
|
595
|
-
def encoding; end
|
596
|
-
def entity_expansion_count; end
|
597
|
-
def expanded_name; end
|
598
|
-
def initialize(source = nil, context = nil); end
|
599
|
-
def name; end
|
600
|
-
def node_type; end
|
601
|
-
def record_entity_expansion; end
|
602
|
-
def root; end
|
603
|
-
def self.entity_expansion_limit; end
|
604
|
-
def self.entity_expansion_limit=(val); end
|
605
|
-
def self.entity_expansion_text_limit; end
|
606
|
-
def self.entity_expansion_text_limit=(val); end
|
607
|
-
def self.parse_stream(source, listener); end
|
608
|
-
def stand_alone?; end
|
609
|
-
def version; end
|
610
|
-
def write(*arguments); end
|
611
|
-
def xml_decl; end
|
658
|
+
|
659
|
+
class REXML::XPathNode
|
660
|
+
def initialize(node, context = T.unsafe(nil)); end
|
661
|
+
|
662
|
+
def context; end
|
663
|
+
def position; end
|
664
|
+
def raw_node; end
|
612
665
|
end
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
def
|
618
|
-
|
619
|
-
def
|
620
|
-
def
|
621
|
-
def
|
622
|
-
def
|
623
|
-
def
|
624
|
-
def
|
625
|
-
def
|
626
|
-
def
|
627
|
-
|
666
|
+
|
667
|
+
class REXML::XPathParser
|
668
|
+
include ::REXML::XMLTokens
|
669
|
+
|
670
|
+
def initialize(strict: T.unsafe(nil)); end
|
671
|
+
|
672
|
+
def []=(variable_name, value); end
|
673
|
+
def first(path_stack, node); end
|
674
|
+
def get_first(path, nodeset); end
|
675
|
+
def match(path_stack, nodeset); end
|
676
|
+
def namespaces=(namespaces = T.unsafe(nil)); end
|
677
|
+
def parse(path, nodeset); end
|
678
|
+
def predicate(path, nodeset); end
|
679
|
+
def variables=(vars = T.unsafe(nil)); end
|
680
|
+
|
681
|
+
private
|
682
|
+
|
683
|
+
def child(nodeset); end
|
684
|
+
def compare(a, operator, b); end
|
685
|
+
def descendant(nodeset, include_self); end
|
686
|
+
def descendant_recursive(raw_node, new_nodeset, new_nodes, include_self); end
|
687
|
+
def each_unnode(nodeset); end
|
688
|
+
def enter(tag, *args); end
|
689
|
+
def equality_relational_compare(set1, op, set2); end
|
690
|
+
def evaluate_predicate(expression, nodesets); end
|
691
|
+
def expr(path_stack, nodeset, context = T.unsafe(nil)); end
|
692
|
+
def filter_nodeset(nodeset); end
|
693
|
+
def following(node); end
|
694
|
+
def following_node_of(node); end
|
695
|
+
def get_namespace(node, prefix); end
|
696
|
+
def leave(tag, *args); end
|
697
|
+
def next_sibling_node(node); end
|
698
|
+
def node_test(path_stack, nodesets, any_type: T.unsafe(nil)); end
|
699
|
+
def norm(b); end
|
700
|
+
def normalize_compare_values(a, operator, b); end
|
701
|
+
def preceding(node); end
|
702
|
+
def preceding_node_of(node); end
|
703
|
+
def sort(array_of_nodes, order); end
|
704
|
+
def step(path_stack, any_type: T.unsafe(nil), order: T.unsafe(nil)); end
|
705
|
+
def strict?; end
|
706
|
+
def trace(*args); end
|
707
|
+
def unnode(nodeset); end
|
708
|
+
def value_type(value); end
|
628
709
|
end
|