u-struct 0.11.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +5 -5
- data/.rubocop.yml +129 -0
- data/.rubocop_todo.yml +10 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +558 -13
- data/Gemfile +14 -3
- data/README.md +682 -16
- data/Rakefile +5 -5
- data/bin/console +3 -3
- data/bin/prepare_coverage +7 -9
- data/bin/run_ci +17 -0
- data/bin/tapioca +28 -0
- data/examples/rgb/number.rb +1 -1
- data/examples/rgb_1.rb +7 -6
- data/examples/rgb_2.rb +2 -2
- data/examples/rgb_3.rb +1 -1
- data/lib/micro/struct/factory/create_struct.rb +95 -69
- data/lib/micro/struct/factory/members.rb +1 -0
- data/lib/micro/struct/factory.rb +13 -4
- data/lib/micro/struct/features.rb +35 -16
- data/lib/micro/struct/normalize_names.rb +4 -3
- data/lib/micro/struct/version.rb +2 -1
- data/lib/micro/struct.rb +37 -5
- data/lib/u-struct.rb +2 -0
- data/rbi/micro/struct/factory/create_struct.rbi +60 -0
- data/rbi/micro/struct/factory/members.rbi +67 -0
- data/rbi/micro/struct/factory.rbi +41 -0
- data/rbi/micro/struct/features.rbi +41 -0
- data/rbi/micro/struct/normalize_names.rbi +20 -0
- data/rbi/micro/struct/version.rbi +3 -0
- data/rbi/micro/struct.rbi +68 -0
- data/sorbet/config +8 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +11 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.15.0.rbi +345 -0
- data/sorbet/rbi/gems/parser@3.1.0.0.rbi +1196 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +8 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +806 -0
- data/sorbet/rbi/gems/rbi@0.0.9.rbi +1602 -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.3.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.8.rbi +1252 -0
- data/sorbet/rbi/gems/tapioca@0.6.2.rbi +1232 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unparser@0.6.3.rbi +8 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +601 -0
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +199 -0
- data/sorbet/rbi/gems/yard@0.9.27.rbi +4112 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/u-struct.gemspec +3 -3
- metadata +38 -4
- data/bin/test +0 -8
@@ -0,0 +1,4112 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `yard` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem yard`.
|
6
|
+
|
7
|
+
class Array
|
8
|
+
include ::Enumerable
|
9
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Array
|
10
|
+
|
11
|
+
def place(*values); end
|
12
|
+
end
|
13
|
+
|
14
|
+
class File < ::IO
|
15
|
+
class << self
|
16
|
+
def cleanpath(path, rel_root = T.unsafe(nil)); end
|
17
|
+
def open!(file, *args, &block); end
|
18
|
+
def read_binary(file); end
|
19
|
+
def relative_path(from, to); end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
File::RELATIVE_PARENTDIR = T.let(T.unsafe(nil), String)
|
24
|
+
File::RELATIVE_SAMEDIR = T.let(T.unsafe(nil), String)
|
25
|
+
|
26
|
+
class File::Stat
|
27
|
+
include ::Comparable
|
28
|
+
end
|
29
|
+
|
30
|
+
module Gem
|
31
|
+
class << self
|
32
|
+
def source_index; end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
Gem::Cache = Gem::SourceIndex
|
37
|
+
Gem::ConfigMap = T.let(T.unsafe(nil), Hash)
|
38
|
+
|
39
|
+
module Gem::DefaultUserInteraction
|
40
|
+
include ::Gem::Text
|
41
|
+
end
|
42
|
+
|
43
|
+
class Gem::Exception < ::RuntimeError
|
44
|
+
extend ::Gem::Deprecate
|
45
|
+
end
|
46
|
+
|
47
|
+
class Gem::Licenses
|
48
|
+
extend ::Gem::Text
|
49
|
+
end
|
50
|
+
|
51
|
+
class Gem::List
|
52
|
+
include ::Enumerable
|
53
|
+
end
|
54
|
+
|
55
|
+
Gem::RbConfigPriorities = T.let(T.unsafe(nil), Array)
|
56
|
+
|
57
|
+
class Gem::RequestSet
|
58
|
+
include ::TSort
|
59
|
+
end
|
60
|
+
|
61
|
+
class Gem::Resolver
|
62
|
+
include ::Gem::Resolver::Molinillo::UI
|
63
|
+
include ::Gem::Resolver::Molinillo::SpecificationProvider
|
64
|
+
end
|
65
|
+
|
66
|
+
class Gem::Resolver::CurrentSet < ::Gem::Resolver::Set
|
67
|
+
def find_all(req); end
|
68
|
+
end
|
69
|
+
|
70
|
+
class Gem::Resolver::LocalSpecification < ::Gem::Resolver::SpecSpecification
|
71
|
+
def installable_platform?; end
|
72
|
+
def local?; end
|
73
|
+
def pretty_print(q); end
|
74
|
+
end
|
75
|
+
|
76
|
+
class Gem::Resolver::RequirementList
|
77
|
+
include ::Enumerable
|
78
|
+
end
|
79
|
+
|
80
|
+
Gem::RubyGemsVersion = T.let(T.unsafe(nil), String)
|
81
|
+
|
82
|
+
class Gem::RuntimeRequirementNotMetError < ::Gem::InstallError
|
83
|
+
def message; end
|
84
|
+
def suggestion; end
|
85
|
+
def suggestion=(_arg0); end
|
86
|
+
end
|
87
|
+
|
88
|
+
class Gem::Source
|
89
|
+
include ::Comparable
|
90
|
+
include ::Gem::Text
|
91
|
+
end
|
92
|
+
|
93
|
+
class Gem::SourceIndex
|
94
|
+
include ::Enumerable
|
95
|
+
|
96
|
+
def initialize(specifications = T.unsafe(nil)); end
|
97
|
+
|
98
|
+
def ==(other); end
|
99
|
+
def add_spec(gem_spec, name = T.unsafe(nil)); end
|
100
|
+
def add_specs(*gem_specs); end
|
101
|
+
def all_gems; end
|
102
|
+
def dump; end
|
103
|
+
def each(&block); end
|
104
|
+
def find_name(gem_name, requirement = T.unsafe(nil)); end
|
105
|
+
def gem_signature(gem_full_name); end
|
106
|
+
def gems; end
|
107
|
+
def index_signature; end
|
108
|
+
def latest_specs(include_prerelease = T.unsafe(nil)); end
|
109
|
+
def length; end
|
110
|
+
def load_gems_in(*spec_dirs); end
|
111
|
+
def outdated; end
|
112
|
+
def prerelease_gems; end
|
113
|
+
def prerelease_specs; end
|
114
|
+
def refresh!; end
|
115
|
+
def released_gems; end
|
116
|
+
def released_specs; end
|
117
|
+
def remove_spec(full_name); end
|
118
|
+
def search(gem_pattern, platform_only = T.unsafe(nil)); end
|
119
|
+
def size; end
|
120
|
+
def spec_dirs; end
|
121
|
+
def spec_dirs=(_arg0); end
|
122
|
+
def specification(full_name); end
|
123
|
+
|
124
|
+
class << self
|
125
|
+
def from_gems_in(*spec_dirs); end
|
126
|
+
def from_installed_gems(*deprecated); end
|
127
|
+
def installed_spec_directories; end
|
128
|
+
def load_specification(file_name); end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
class Gem::Specification < ::Gem::BasicSpecification
|
133
|
+
include ::Bundler::GemHelpers
|
134
|
+
include ::Bundler::MatchPlatform
|
135
|
+
extend ::Gem::Deprecate
|
136
|
+
extend ::Enumerable
|
137
|
+
end
|
138
|
+
|
139
|
+
Gem::Specification::REMOVED_METHODS = T.let(T.unsafe(nil), Array)
|
140
|
+
|
141
|
+
class Gem::SpecificationPolicy
|
142
|
+
include ::Gem::Text
|
143
|
+
include ::Gem::DefaultUserInteraction
|
144
|
+
include ::Gem::UserInteraction
|
145
|
+
|
146
|
+
def initialize(specification); end
|
147
|
+
|
148
|
+
def packaging; end
|
149
|
+
def packaging=(_arg0); end
|
150
|
+
def validate(strict = T.unsafe(nil)); end
|
151
|
+
def validate_dependencies; end
|
152
|
+
def validate_metadata; end
|
153
|
+
def validate_permissions; end
|
154
|
+
|
155
|
+
private
|
156
|
+
|
157
|
+
def error(statement); end
|
158
|
+
def help_text; end
|
159
|
+
def validate_array_attribute(field); end
|
160
|
+
def validate_array_attributes; end
|
161
|
+
def validate_attribute_present(attribute); end
|
162
|
+
def validate_authors_field; end
|
163
|
+
def validate_lazy_metadata; end
|
164
|
+
def validate_licenses; end
|
165
|
+
def validate_name; end
|
166
|
+
def validate_nil_attributes; end
|
167
|
+
def validate_non_files; end
|
168
|
+
def validate_platform; end
|
169
|
+
def validate_removed_attributes; end
|
170
|
+
def validate_require_paths; end
|
171
|
+
def validate_required_attributes; end
|
172
|
+
def validate_rubygems_version; end
|
173
|
+
def validate_self_inclusion_in_files_list; end
|
174
|
+
def validate_shebang_line_in(executable); end
|
175
|
+
def validate_specification_version; end
|
176
|
+
def validate_values; end
|
177
|
+
def warning(statement); end
|
178
|
+
end
|
179
|
+
|
180
|
+
Gem::SpecificationPolicy::HOMEPAGE_URI_PATTERN = T.let(T.unsafe(nil), Regexp)
|
181
|
+
Gem::SpecificationPolicy::LAZY = T.let(T.unsafe(nil), String)
|
182
|
+
Gem::SpecificationPolicy::LAZY_PATTERN = T.let(T.unsafe(nil), Regexp)
|
183
|
+
Gem::SpecificationPolicy::METADATA_LINK_KEYS = T.let(T.unsafe(nil), Array)
|
184
|
+
Gem::SpecificationPolicy::SPECIAL_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
185
|
+
Gem::SpecificationPolicy::VALID_NAME_PATTERN = T.let(T.unsafe(nil), Regexp)
|
186
|
+
Gem::SpecificationPolicy::VALID_URI_PATTERN = T.let(T.unsafe(nil), Regexp)
|
187
|
+
|
188
|
+
class Gem::StreamUI
|
189
|
+
extend ::Gem::Deprecate
|
190
|
+
end
|
191
|
+
|
192
|
+
class Gem::StreamUI::SilentDownloadReporter
|
193
|
+
def initialize(out_stream, *args); end
|
194
|
+
|
195
|
+
def done; end
|
196
|
+
def fetch(filename, filesize); end
|
197
|
+
def update(current); end
|
198
|
+
end
|
199
|
+
|
200
|
+
class Gem::StreamUI::SilentProgressReporter
|
201
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
202
|
+
|
203
|
+
def count; end
|
204
|
+
def done; end
|
205
|
+
def updated(message); end
|
206
|
+
end
|
207
|
+
|
208
|
+
class Gem::StreamUI::SimpleProgressReporter
|
209
|
+
include ::Gem::Text
|
210
|
+
include ::Gem::DefaultUserInteraction
|
211
|
+
|
212
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
213
|
+
|
214
|
+
def count; end
|
215
|
+
def done; end
|
216
|
+
def updated(message); end
|
217
|
+
end
|
218
|
+
|
219
|
+
class Gem::StreamUI::ThreadedDownloadReporter
|
220
|
+
def initialize(out_stream, *args); end
|
221
|
+
|
222
|
+
def done; end
|
223
|
+
def fetch(file_name, *args); end
|
224
|
+
def file_name; end
|
225
|
+
def update(bytes); end
|
226
|
+
|
227
|
+
private
|
228
|
+
|
229
|
+
def locked_puts(message); end
|
230
|
+
end
|
231
|
+
|
232
|
+
Gem::StreamUI::ThreadedDownloadReporter::MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
|
233
|
+
|
234
|
+
class Gem::StreamUI::VerboseProgressReporter
|
235
|
+
include ::Gem::Text
|
236
|
+
include ::Gem::DefaultUserInteraction
|
237
|
+
|
238
|
+
def initialize(out_stream, size, initial_message, terminal_message = T.unsafe(nil)); end
|
239
|
+
|
240
|
+
def count; end
|
241
|
+
def done; end
|
242
|
+
def updated(message); end
|
243
|
+
end
|
244
|
+
|
245
|
+
Gem::UNTAINT = T.let(T.unsafe(nil), Proc)
|
246
|
+
|
247
|
+
class Gem::UninstallError < ::Gem::Exception
|
248
|
+
def spec; end
|
249
|
+
def spec=(_arg0); end
|
250
|
+
end
|
251
|
+
|
252
|
+
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError
|
253
|
+
|
254
|
+
module Gem::UserInteraction
|
255
|
+
include ::Gem::Text
|
256
|
+
include ::Gem::DefaultUserInteraction
|
257
|
+
end
|
258
|
+
|
259
|
+
class Gem::Version
|
260
|
+
include ::Comparable
|
261
|
+
end
|
262
|
+
|
263
|
+
Gem::Version::Requirement = Gem::Requirement
|
264
|
+
|
265
|
+
class IRB::SLex
|
266
|
+
def initialize; end
|
267
|
+
|
268
|
+
def create(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
269
|
+
def def_rule(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil), &block); end
|
270
|
+
def def_rules(*tokens, &block); end
|
271
|
+
def inspect; end
|
272
|
+
def match(token); end
|
273
|
+
def postproc(token); end
|
274
|
+
def preproc(token, proc); end
|
275
|
+
def search(token); end
|
276
|
+
end
|
277
|
+
|
278
|
+
IRB::SLex::DOUT = T.let(T.unsafe(nil), IRB::Notifier::CompositeNotifier)
|
279
|
+
IRB::SLex::D_DEBUG = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
280
|
+
IRB::SLex::D_DETAIL = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
281
|
+
IRB::SLex::D_WARN = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
282
|
+
|
283
|
+
class IRB::SLex::Node
|
284
|
+
def initialize(preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
285
|
+
|
286
|
+
def create_subnode(chrs, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
287
|
+
def match(chrs, op = T.unsafe(nil)); end
|
288
|
+
def match_io(io, op = T.unsafe(nil)); end
|
289
|
+
def postproc; end
|
290
|
+
def postproc=(_arg0); end
|
291
|
+
def preproc; end
|
292
|
+
def preproc=(_arg0); end
|
293
|
+
def search(chrs, opt = T.unsafe(nil)); end
|
294
|
+
end
|
295
|
+
|
296
|
+
class Insertion
|
297
|
+
def initialize(list, value); end
|
298
|
+
|
299
|
+
def after(val, recursive = T.unsafe(nil)); end
|
300
|
+
def after_any(val); end
|
301
|
+
def before(val, recursive = T.unsafe(nil)); end
|
302
|
+
def before_any(val); end
|
303
|
+
|
304
|
+
private
|
305
|
+
|
306
|
+
def insertion(val, rel, recursive = T.unsafe(nil), list = T.unsafe(nil)); end
|
307
|
+
end
|
308
|
+
|
309
|
+
class Module
|
310
|
+
def class_name; end
|
311
|
+
end
|
312
|
+
|
313
|
+
RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
314
|
+
|
315
|
+
class String
|
316
|
+
include ::Comparable
|
317
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
318
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
319
|
+
|
320
|
+
def shell_split; end
|
321
|
+
end
|
322
|
+
|
323
|
+
class SymbolHash < ::Hash
|
324
|
+
def initialize(symbolize_value = T.unsafe(nil)); end
|
325
|
+
|
326
|
+
def [](key); end
|
327
|
+
def []=(key, value); end
|
328
|
+
def delete(key); end
|
329
|
+
def has_key?(key); end
|
330
|
+
def key?(key); end
|
331
|
+
def merge(hash); end
|
332
|
+
def merge!(hash); end
|
333
|
+
def update(hash); end
|
334
|
+
|
335
|
+
class << self
|
336
|
+
def [](*hsh); end
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class WEBrick::HTTPRequest
|
341
|
+
def version_supplied; end
|
342
|
+
def version_supplied=(_arg0); end
|
343
|
+
def xhr?; end
|
344
|
+
end
|
345
|
+
|
346
|
+
WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer)
|
347
|
+
|
348
|
+
module YARD
|
349
|
+
class << self
|
350
|
+
def load_plugins; end
|
351
|
+
def parse(*args); end
|
352
|
+
def parse_string(*args); end
|
353
|
+
def ruby18?; end
|
354
|
+
def ruby19?; end
|
355
|
+
def ruby2?; end
|
356
|
+
def ruby3?; end
|
357
|
+
def windows?; end
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
module YARD::CLI; end
|
362
|
+
|
363
|
+
class YARD::CLI::Command
|
364
|
+
def description; end
|
365
|
+
|
366
|
+
protected
|
367
|
+
|
368
|
+
def common_options(opts); end
|
369
|
+
def load_script(file); end
|
370
|
+
def parse_options(opts, args); end
|
371
|
+
def unrecognized_option(err); end
|
372
|
+
|
373
|
+
class << self
|
374
|
+
def run(*args); end
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
378
|
+
class YARD::CLI::CommandParser
|
379
|
+
def initialize; end
|
380
|
+
|
381
|
+
def run(*args); end
|
382
|
+
|
383
|
+
private
|
384
|
+
|
385
|
+
def commands; end
|
386
|
+
def list_commands; end
|
387
|
+
|
388
|
+
class << self
|
389
|
+
def commands; end
|
390
|
+
def commands=(_arg0); end
|
391
|
+
def default_command; end
|
392
|
+
def default_command=(_arg0); end
|
393
|
+
def run(*args); end
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
class YARD::CLI::Config < ::YARD::CLI::Command
|
398
|
+
def initialize; end
|
399
|
+
|
400
|
+
def append; end
|
401
|
+
def append=(_arg0); end
|
402
|
+
def as_list; end
|
403
|
+
def as_list=(_arg0); end
|
404
|
+
def description; end
|
405
|
+
def gem_install_cmd; end
|
406
|
+
def gem_install_cmd=(_arg0); end
|
407
|
+
def key; end
|
408
|
+
def key=(_arg0); end
|
409
|
+
def reset; end
|
410
|
+
def reset=(_arg0); end
|
411
|
+
def run(*args); end
|
412
|
+
def values; end
|
413
|
+
def values=(_arg0); end
|
414
|
+
|
415
|
+
private
|
416
|
+
|
417
|
+
def configure_gemrc; end
|
418
|
+
def encode_value(value); end
|
419
|
+
def encode_values; end
|
420
|
+
def list_configuration; end
|
421
|
+
def modify_item; end
|
422
|
+
def optparse(*args); end
|
423
|
+
def view_item; end
|
424
|
+
end
|
425
|
+
|
426
|
+
class YARD::CLI::Diff < ::YARD::CLI::Command
|
427
|
+
def initialize; end
|
428
|
+
|
429
|
+
def description; end
|
430
|
+
def run(*args); end
|
431
|
+
|
432
|
+
private
|
433
|
+
|
434
|
+
def added_objects(registry1, registry2); end
|
435
|
+
def all_objects; end
|
436
|
+
def cleanup(gemfile); end
|
437
|
+
def expand_and_parse(gemfile, io); end
|
438
|
+
def expand_gem(gemfile, io); end
|
439
|
+
def generate_yardoc(dir); end
|
440
|
+
def load_gem_data(gemfile); end
|
441
|
+
def load_git_commit(commit); end
|
442
|
+
def modified_objects(registry1, registry2); end
|
443
|
+
def optparse(*args); end
|
444
|
+
def removed_objects(registry1, registry2); end
|
445
|
+
def require_rubygems; end
|
446
|
+
end
|
447
|
+
|
448
|
+
class YARD::CLI::Display < ::YARD::CLI::Yardoc
|
449
|
+
def initialize(*args); end
|
450
|
+
|
451
|
+
def description; end
|
452
|
+
def format_objects; end
|
453
|
+
def output_options(opts); end
|
454
|
+
def parse_arguments(*args); end
|
455
|
+
def run(*args); end
|
456
|
+
def wrap_layout(contents); end
|
457
|
+
end
|
458
|
+
|
459
|
+
class YARD::CLI::Gems < ::YARD::CLI::Command
|
460
|
+
def initialize; end
|
461
|
+
|
462
|
+
def description; end
|
463
|
+
def run(*args); end
|
464
|
+
|
465
|
+
private
|
466
|
+
|
467
|
+
def add_gems(gems); end
|
468
|
+
def build_gems; end
|
469
|
+
def optparse(*args); end
|
470
|
+
end
|
471
|
+
|
472
|
+
class YARD::CLI::Graph < ::YARD::CLI::YardoptsCommand
|
473
|
+
def initialize; end
|
474
|
+
|
475
|
+
def description; end
|
476
|
+
def objects; end
|
477
|
+
def options; end
|
478
|
+
def run(*args); end
|
479
|
+
|
480
|
+
private
|
481
|
+
|
482
|
+
def optparse(*args); end
|
483
|
+
def unrecognized_option(err); end
|
484
|
+
end
|
485
|
+
|
486
|
+
class YARD::CLI::GraphOptions < ::YARD::Templates::TemplateOptions
|
487
|
+
def contents; end
|
488
|
+
def contents=(_arg0); end
|
489
|
+
def dependencies; end
|
490
|
+
def dependencies=(_arg0); end
|
491
|
+
def format; end
|
492
|
+
def format=(_arg0); end
|
493
|
+
def full; end
|
494
|
+
def full=(_arg0); end
|
495
|
+
end
|
496
|
+
|
497
|
+
class YARD::CLI::Help < ::YARD::CLI::Command
|
498
|
+
def description; end
|
499
|
+
def run(*args); end
|
500
|
+
end
|
501
|
+
|
502
|
+
class YARD::CLI::I18n < ::YARD::CLI::Yardoc
|
503
|
+
def initialize; end
|
504
|
+
|
505
|
+
def description; end
|
506
|
+
def run(*args); end
|
507
|
+
|
508
|
+
private
|
509
|
+
|
510
|
+
def general_options(opts); end
|
511
|
+
def generate_pot(relative_base_path); end
|
512
|
+
end
|
513
|
+
|
514
|
+
class YARD::CLI::List < ::YARD::CLI::Command
|
515
|
+
def description; end
|
516
|
+
def run(*args); end
|
517
|
+
end
|
518
|
+
|
519
|
+
class YARD::CLI::MarkupTypes < ::YARD::CLI::Command
|
520
|
+
def description; end
|
521
|
+
def run(*args); end
|
522
|
+
end
|
523
|
+
|
524
|
+
class YARD::CLI::Server < ::YARD::CLI::Command
|
525
|
+
def initialize; end
|
526
|
+
|
527
|
+
def adapter; end
|
528
|
+
def adapter=(_arg0); end
|
529
|
+
def description; end
|
530
|
+
def libraries; end
|
531
|
+
def libraries=(_arg0); end
|
532
|
+
def options; end
|
533
|
+
def options=(_arg0); end
|
534
|
+
def run(*args); end
|
535
|
+
def scripts; end
|
536
|
+
def scripts=(_arg0); end
|
537
|
+
def server_options; end
|
538
|
+
def server_options=(_arg0); end
|
539
|
+
def template_paths; end
|
540
|
+
def template_paths=(_arg0); end
|
541
|
+
|
542
|
+
private
|
543
|
+
|
544
|
+
def add_gems; end
|
545
|
+
def add_gems_from_gemfile(gemfile = T.unsafe(nil)); end
|
546
|
+
def add_libraries(args); end
|
547
|
+
def create_library_version_if_yardopts_exist(library, dir); end
|
548
|
+
def extract_db_from_options_file(options_file); end
|
549
|
+
def generate_doc_for_first_time(libver); end
|
550
|
+
def load_scripts; end
|
551
|
+
def load_template_paths; end
|
552
|
+
def optparse(*args); end
|
553
|
+
def select_adapter; end
|
554
|
+
end
|
555
|
+
|
556
|
+
class YARD::CLI::Stats < ::YARD::CLI::Yardoc
|
557
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
558
|
+
|
559
|
+
def initialize(parse = T.unsafe(nil)); end
|
560
|
+
|
561
|
+
def all_objects; end
|
562
|
+
def description; end
|
563
|
+
def output(name, data, undoc = T.unsafe(nil)); end
|
564
|
+
def parse; end
|
565
|
+
def parse=(_arg0); end
|
566
|
+
def print_statistics; end
|
567
|
+
def print_undocumented_objects; end
|
568
|
+
def run(*args); end
|
569
|
+
def stats_for_attributes; end
|
570
|
+
def stats_for_classes; end
|
571
|
+
def stats_for_constants; end
|
572
|
+
def stats_for_files; end
|
573
|
+
def stats_for_methods; end
|
574
|
+
def stats_for_modules; end
|
575
|
+
|
576
|
+
private
|
577
|
+
|
578
|
+
def general_options(opts); end
|
579
|
+
def optparse(*args); end
|
580
|
+
def type_statistics(type); end
|
581
|
+
end
|
582
|
+
|
583
|
+
YARD::CLI::Stats::STATS_ORDER = T.let(T.unsafe(nil), Array)
|
584
|
+
|
585
|
+
class YARD::CLI::YRI < ::YARD::CLI::Command
|
586
|
+
def initialize; end
|
587
|
+
|
588
|
+
def description; end
|
589
|
+
def run(*args); end
|
590
|
+
|
591
|
+
protected
|
592
|
+
|
593
|
+
def cache_object(name, path); end
|
594
|
+
def find_object(name); end
|
595
|
+
def print_object(object); end
|
596
|
+
def print_usage; end
|
597
|
+
|
598
|
+
private
|
599
|
+
|
600
|
+
def add_default_paths; end
|
601
|
+
def add_gem_paths; end
|
602
|
+
def load_cache; end
|
603
|
+
def optparse(*args); end
|
604
|
+
def try_load_object(name, cache_path); end
|
605
|
+
|
606
|
+
class << self
|
607
|
+
def run(*args); end
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
YARD::CLI::YRI::CACHE_FILE = T.let(T.unsafe(nil), String)
|
612
|
+
YARD::CLI::YRI::DEFAULT_SEARCH_PATHS = T.let(T.unsafe(nil), Array)
|
613
|
+
YARD::CLI::YRI::SEARCH_PATHS_FILE = T.let(T.unsafe(nil), String)
|
614
|
+
|
615
|
+
class YARD::CLI::Yardoc < ::YARD::CLI::YardoptsCommand
|
616
|
+
def initialize; end
|
617
|
+
|
618
|
+
def all_objects; end
|
619
|
+
def apis; end
|
620
|
+
def apis=(_arg0); end
|
621
|
+
def assets; end
|
622
|
+
def assets=(_arg0); end
|
623
|
+
def description; end
|
624
|
+
def excluded; end
|
625
|
+
def excluded=(_arg0); end
|
626
|
+
def fail_on_warning; end
|
627
|
+
def fail_on_warning=(_arg0); end
|
628
|
+
def files; end
|
629
|
+
def files=(_arg0); end
|
630
|
+
def generate; end
|
631
|
+
def generate=(_arg0); end
|
632
|
+
def has_markup; end
|
633
|
+
def has_markup=(_arg0); end
|
634
|
+
def hidden_apis; end
|
635
|
+
def hidden_apis=(_arg0); end
|
636
|
+
def hidden_tags; end
|
637
|
+
def hidden_tags=(_arg0); end
|
638
|
+
def list; end
|
639
|
+
def list=(_arg0); end
|
640
|
+
def options; end
|
641
|
+
def parse_arguments(*args); end
|
642
|
+
def run(*args); end
|
643
|
+
def save_yardoc; end
|
644
|
+
def save_yardoc=(_arg0); end
|
645
|
+
def statistics; end
|
646
|
+
def statistics=(_arg0); end
|
647
|
+
def use_cache; end
|
648
|
+
def use_cache=(_arg0); end
|
649
|
+
def visibilities; end
|
650
|
+
def visibilities=(_arg0); end
|
651
|
+
|
652
|
+
private
|
653
|
+
|
654
|
+
def add_api_verifier; end
|
655
|
+
def add_extra_files(*files); end
|
656
|
+
def add_tag(tag_data, factory_method = T.unsafe(nil)); end
|
657
|
+
def add_visibility_verifier; end
|
658
|
+
def apply_locale; end
|
659
|
+
def copy_assets; end
|
660
|
+
def extra_file_valid?(file, check_exists = T.unsafe(nil)); end
|
661
|
+
def general_options(opts); end
|
662
|
+
def optparse(*args); end
|
663
|
+
def output_options(opts); end
|
664
|
+
def parse_files(*files); end
|
665
|
+
def print_list; end
|
666
|
+
def run_generate(checksums); end
|
667
|
+
def run_verifier(list); end
|
668
|
+
def tag_options(opts); end
|
669
|
+
def verify_markup_options; end
|
670
|
+
end
|
671
|
+
|
672
|
+
class YARD::CLI::YardocOptions < ::YARD::Templates::TemplateOptions
|
673
|
+
def file; end
|
674
|
+
def file=(_arg0); end
|
675
|
+
def files; end
|
676
|
+
def files=(_arg0); end
|
677
|
+
def format; end
|
678
|
+
def format=(_arg0); end
|
679
|
+
def index; end
|
680
|
+
def index=(_arg0); end
|
681
|
+
def item; end
|
682
|
+
def item=(_arg0); end
|
683
|
+
def locale; end
|
684
|
+
def locale=(_arg0); end
|
685
|
+
def objects; end
|
686
|
+
def objects=(_arg0); end
|
687
|
+
def onefile; end
|
688
|
+
def onefile=(_arg0); end
|
689
|
+
def readme; end
|
690
|
+
def readme=(_arg0); end
|
691
|
+
def serializer; end
|
692
|
+
def serializer=(_arg0); end
|
693
|
+
def title; end
|
694
|
+
def title=(_arg0); end
|
695
|
+
def verifier; end
|
696
|
+
def verifier=(_arg0); end
|
697
|
+
end
|
698
|
+
|
699
|
+
class YARD::CLI::YardoptsCommand < ::YARD::CLI::Command
|
700
|
+
def initialize; end
|
701
|
+
|
702
|
+
def options_file; end
|
703
|
+
def options_file=(_arg0); end
|
704
|
+
def parse_arguments(*args); end
|
705
|
+
def use_document_file; end
|
706
|
+
def use_document_file=(_arg0); end
|
707
|
+
def use_yardopts_file; end
|
708
|
+
def use_yardopts_file=(_arg0); end
|
709
|
+
|
710
|
+
protected
|
711
|
+
|
712
|
+
def yardopts_options(opts); end
|
713
|
+
|
714
|
+
private
|
715
|
+
|
716
|
+
def parse_rdoc_document_file(file = T.unsafe(nil)); end
|
717
|
+
def parse_yardopts(file = T.unsafe(nil)); end
|
718
|
+
def parse_yardopts_options(*args); end
|
719
|
+
def support_rdoc_document_file!(file = T.unsafe(nil)); end
|
720
|
+
def yardopts(file = T.unsafe(nil)); end
|
721
|
+
end
|
722
|
+
|
723
|
+
YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String)
|
724
|
+
YARD::CONFIG_DIR = T.let(T.unsafe(nil), String)
|
725
|
+
|
726
|
+
module YARD::CodeObjects
|
727
|
+
extend ::YARD::CodeObjects::NamespaceMapper
|
728
|
+
end
|
729
|
+
|
730
|
+
YARD::CodeObjects::BUILTIN_ALL = T.let(T.unsafe(nil), Array)
|
731
|
+
YARD::CodeObjects::BUILTIN_CLASSES = T.let(T.unsafe(nil), Array)
|
732
|
+
YARD::CodeObjects::BUILTIN_EXCEPTIONS = T.let(T.unsafe(nil), Array)
|
733
|
+
YARD::CodeObjects::BUILTIN_EXCEPTIONS_HASH = T.let(T.unsafe(nil), Hash)
|
734
|
+
YARD::CodeObjects::BUILTIN_MODULES = T.let(T.unsafe(nil), Array)
|
735
|
+
|
736
|
+
class YARD::CodeObjects::Base
|
737
|
+
def initialize(namespace, name, *_arg2); end
|
738
|
+
|
739
|
+
def ==(other); end
|
740
|
+
def [](key); end
|
741
|
+
def []=(key, value); end
|
742
|
+
def add_file(file, line = T.unsafe(nil), has_comments = T.unsafe(nil)); end
|
743
|
+
def add_tag(*tags); end
|
744
|
+
def base_docstring; end
|
745
|
+
def copy_to(other); end
|
746
|
+
def docstring(locale = T.unsafe(nil)); end
|
747
|
+
def docstring=(comments); end
|
748
|
+
def dynamic; end
|
749
|
+
def dynamic=(_arg0); end
|
750
|
+
def dynamic?; end
|
751
|
+
def eql?(other); end
|
752
|
+
def equal?(other); end
|
753
|
+
def file; end
|
754
|
+
def files; end
|
755
|
+
def format(options = T.unsafe(nil)); end
|
756
|
+
def group; end
|
757
|
+
def group=(_arg0); end
|
758
|
+
def has_tag?(name); end
|
759
|
+
def hash; end
|
760
|
+
def inspect; end
|
761
|
+
def line; end
|
762
|
+
def method_missing(meth, *args, &block); end
|
763
|
+
def name(prefix = T.unsafe(nil)); end
|
764
|
+
def namespace; end
|
765
|
+
def namespace=(obj); end
|
766
|
+
def parent; end
|
767
|
+
def parent=(obj); end
|
768
|
+
def path; end
|
769
|
+
def relative_path(other); end
|
770
|
+
def root?; end
|
771
|
+
def sep; end
|
772
|
+
def signature; end
|
773
|
+
def signature=(_arg0); end
|
774
|
+
def source; end
|
775
|
+
def source=(statement); end
|
776
|
+
def source_type; end
|
777
|
+
def source_type=(_arg0); end
|
778
|
+
def tag(name); end
|
779
|
+
def tags(name = T.unsafe(nil)); end
|
780
|
+
def title; end
|
781
|
+
def to_ary; end
|
782
|
+
def to_s; end
|
783
|
+
def type; end
|
784
|
+
def visibility; end
|
785
|
+
def visibility=(v); end
|
786
|
+
|
787
|
+
protected
|
788
|
+
|
789
|
+
def copyable_attributes; end
|
790
|
+
|
791
|
+
private
|
792
|
+
|
793
|
+
def format_source(source); end
|
794
|
+
def translate_docstring(locale); end
|
795
|
+
|
796
|
+
class << self
|
797
|
+
def ===(other); end
|
798
|
+
def new(namespace, name, *args, &block); end
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
YARD::CodeObjects::CONSTANTMATCH = T.let(T.unsafe(nil), Regexp)
|
803
|
+
YARD::CodeObjects::CONSTANTSTART = T.let(T.unsafe(nil), Regexp)
|
804
|
+
YARD::CodeObjects::CSEP = T.let(T.unsafe(nil), String)
|
805
|
+
YARD::CodeObjects::CSEPQ = T.let(T.unsafe(nil), String)
|
806
|
+
|
807
|
+
class YARD::CodeObjects::ClassObject < ::YARD::CodeObjects::NamespaceObject
|
808
|
+
def initialize(namespace, name, *args, &block); end
|
809
|
+
|
810
|
+
def constants(opts = T.unsafe(nil)); end
|
811
|
+
def inheritance_tree(include_mods = T.unsafe(nil)); end
|
812
|
+
def inherited_constants; end
|
813
|
+
def inherited_meths(opts = T.unsafe(nil)); end
|
814
|
+
def is_exception?; end
|
815
|
+
def meths(opts = T.unsafe(nil)); end
|
816
|
+
def superclass; end
|
817
|
+
def superclass=(object); end
|
818
|
+
end
|
819
|
+
|
820
|
+
class YARD::CodeObjects::ClassVariableObject < ::YARD::CodeObjects::Base
|
821
|
+
def value; end
|
822
|
+
def value=(_arg0); end
|
823
|
+
end
|
824
|
+
|
825
|
+
class YARD::CodeObjects::CodeObjectList < ::Array
|
826
|
+
def initialize(owner = T.unsafe(nil)); end
|
827
|
+
|
828
|
+
def <<(value); end
|
829
|
+
def push(value); end
|
830
|
+
end
|
831
|
+
|
832
|
+
class YARD::CodeObjects::ConstantObject < ::YARD::CodeObjects::Base
|
833
|
+
def value; end
|
834
|
+
def value=(value); end
|
835
|
+
end
|
836
|
+
|
837
|
+
class YARD::CodeObjects::ExtendedMethodObject
|
838
|
+
def initialize(obj); end
|
839
|
+
|
840
|
+
def method_missing(sym, *args, &block); end
|
841
|
+
def scope; end
|
842
|
+
end
|
843
|
+
|
844
|
+
class YARD::CodeObjects::ExtraFileObject
|
845
|
+
def initialize(filename, contents = T.unsafe(nil)); end
|
846
|
+
|
847
|
+
def ==(other); end
|
848
|
+
def attributes; end
|
849
|
+
def attributes=(_arg0); end
|
850
|
+
def contents; end
|
851
|
+
def contents=(contents); end
|
852
|
+
def eql?(other); end
|
853
|
+
def equal?(other); end
|
854
|
+
def filename; end
|
855
|
+
def filename=(_arg0); end
|
856
|
+
def hash; end
|
857
|
+
def inspect; end
|
858
|
+
def locale; end
|
859
|
+
def locale=(locale); end
|
860
|
+
def name; end
|
861
|
+
def name=(_arg0); end
|
862
|
+
def path; end
|
863
|
+
def title; end
|
864
|
+
def to_s; end
|
865
|
+
def type; end
|
866
|
+
|
867
|
+
private
|
868
|
+
|
869
|
+
def ensure_parsed; end
|
870
|
+
def parse_contents(data); end
|
871
|
+
def translate(data); end
|
872
|
+
end
|
873
|
+
|
874
|
+
YARD::CodeObjects::ISEP = T.let(T.unsafe(nil), String)
|
875
|
+
YARD::CodeObjects::ISEPQ = T.let(T.unsafe(nil), String)
|
876
|
+
YARD::CodeObjects::METHODMATCH = T.let(T.unsafe(nil), Regexp)
|
877
|
+
YARD::CodeObjects::METHODNAMEMATCH = T.let(T.unsafe(nil), Regexp)
|
878
|
+
|
879
|
+
class YARD::CodeObjects::MacroObject < ::YARD::CodeObjects::Base
|
880
|
+
def attached?; end
|
881
|
+
def expand(call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
882
|
+
def macro_data; end
|
883
|
+
def macro_data=(_arg0); end
|
884
|
+
def method_object; end
|
885
|
+
def method_object=(_arg0); end
|
886
|
+
def path; end
|
887
|
+
def sep; end
|
888
|
+
|
889
|
+
class << self
|
890
|
+
def apply(docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil), _method_object = T.unsafe(nil)); end
|
891
|
+
def apply_macro(macro, docstring, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
892
|
+
def create(macro_name, data, method_object = T.unsafe(nil)); end
|
893
|
+
def create_docstring(macro_name, data, method_object = T.unsafe(nil)); end
|
894
|
+
def expand(macro_data, call_params = T.unsafe(nil), full_source = T.unsafe(nil), block_source = T.unsafe(nil)); end
|
895
|
+
def find(macro_name); end
|
896
|
+
def find_or_create(macro_name, data, method_object = T.unsafe(nil)); end
|
897
|
+
end
|
898
|
+
end
|
899
|
+
|
900
|
+
YARD::CodeObjects::MacroObject::MACRO_MATCH = T.let(T.unsafe(nil), Regexp)
|
901
|
+
|
902
|
+
class YARD::CodeObjects::MethodObject < ::YARD::CodeObjects::Base
|
903
|
+
def initialize(namespace, name, scope = T.unsafe(nil), &block); end
|
904
|
+
|
905
|
+
def aliases; end
|
906
|
+
def attr_info; end
|
907
|
+
def constructor?; end
|
908
|
+
def explicit; end
|
909
|
+
def explicit=(_arg0); end
|
910
|
+
def is_alias?; end
|
911
|
+
def is_attribute?; end
|
912
|
+
def is_explicit?; end
|
913
|
+
def module_function?; end
|
914
|
+
def name(prefix = T.unsafe(nil)); end
|
915
|
+
def overridden_method; end
|
916
|
+
def parameters; end
|
917
|
+
def parameters=(_arg0); end
|
918
|
+
def path; end
|
919
|
+
def reader?; end
|
920
|
+
def scope; end
|
921
|
+
def scope=(v); end
|
922
|
+
def sep; end
|
923
|
+
def writer?; end
|
924
|
+
|
925
|
+
protected
|
926
|
+
|
927
|
+
def copyable_attributes; end
|
928
|
+
end
|
929
|
+
|
930
|
+
class YARD::CodeObjects::ModuleObject < ::YARD::CodeObjects::NamespaceObject
|
931
|
+
def inheritance_tree(include_mods = T.unsafe(nil)); end
|
932
|
+
end
|
933
|
+
|
934
|
+
YARD::CodeObjects::NAMESPACEMATCH = T.let(T.unsafe(nil), Regexp)
|
935
|
+
YARD::CodeObjects::NSEP = T.let(T.unsafe(nil), String)
|
936
|
+
YARD::CodeObjects::NSEPQ = T.let(T.unsafe(nil), String)
|
937
|
+
|
938
|
+
module YARD::CodeObjects::NamespaceMapper
|
939
|
+
def clear_separators; end
|
940
|
+
def default_separator(value = T.unsafe(nil)); end
|
941
|
+
def register_separator(sep, *valid_types); end
|
942
|
+
def separators; end
|
943
|
+
def separators_for_type(type); end
|
944
|
+
def separators_match; end
|
945
|
+
def types_for_separator(sep); end
|
946
|
+
def unregister_separator_by_type(type); end
|
947
|
+
|
948
|
+
class << self
|
949
|
+
def default_separator; end
|
950
|
+
def default_separator=(_arg0); end
|
951
|
+
def invalidate; end
|
952
|
+
def map; end
|
953
|
+
def map_match; end
|
954
|
+
def on_invalidate(&block); end
|
955
|
+
def rev_map; end
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
class YARD::CodeObjects::NamespaceObject < ::YARD::CodeObjects::Base
|
960
|
+
def initialize(namespace, name, *args, &block); end
|
961
|
+
|
962
|
+
def aliases; end
|
963
|
+
def attributes; end
|
964
|
+
def child(opts = T.unsafe(nil)); end
|
965
|
+
def children; end
|
966
|
+
def class_attributes; end
|
967
|
+
def class_mixins; end
|
968
|
+
def constants(opts = T.unsafe(nil)); end
|
969
|
+
def cvars; end
|
970
|
+
def groups; end
|
971
|
+
def groups=(_arg0); end
|
972
|
+
def included_constants; end
|
973
|
+
def included_meths(opts = T.unsafe(nil)); end
|
974
|
+
def instance_attributes; end
|
975
|
+
def instance_mixins; end
|
976
|
+
def meths(opts = T.unsafe(nil)); end
|
977
|
+
def mixins(*scopes); end
|
978
|
+
end
|
979
|
+
|
980
|
+
YARD::CodeObjects::PROXY_MATCH = T.let(T.unsafe(nil), Regexp)
|
981
|
+
|
982
|
+
class YARD::CodeObjects::Proxy
|
983
|
+
def initialize(namespace, name, type = T.unsafe(nil)); end
|
984
|
+
|
985
|
+
def <=>(other); end
|
986
|
+
def ==(other); end
|
987
|
+
def ===(other); end
|
988
|
+
def class; end
|
989
|
+
def equal?(other); end
|
990
|
+
def hash; end
|
991
|
+
def inspect; end
|
992
|
+
def instance_of?(klass); end
|
993
|
+
def is_a?(klass); end
|
994
|
+
def kind_of?(klass); end
|
995
|
+
def method_missing(meth, *args, &block); end
|
996
|
+
def name(prefix = T.unsafe(nil)); end
|
997
|
+
def namespace; end
|
998
|
+
def parent; end
|
999
|
+
def path; end
|
1000
|
+
def respond_to?(meth, include_private = T.unsafe(nil)); end
|
1001
|
+
def root?; end
|
1002
|
+
def title; end
|
1003
|
+
def to_s; end
|
1004
|
+
def to_str; end
|
1005
|
+
def type; end
|
1006
|
+
def type=(type); end
|
1007
|
+
|
1008
|
+
private
|
1009
|
+
|
1010
|
+
def proxy_path; end
|
1011
|
+
def to_ary; end
|
1012
|
+
def to_obj; end
|
1013
|
+
|
1014
|
+
class << self
|
1015
|
+
def ===(other); end
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
class YARD::CodeObjects::ProxyMethodError < ::NoMethodError; end
|
1020
|
+
|
1021
|
+
class YARD::CodeObjects::RootObject < ::YARD::CodeObjects::ModuleObject
|
1022
|
+
def equal?(other); end
|
1023
|
+
def hash; end
|
1024
|
+
def inspect; end
|
1025
|
+
def path; end
|
1026
|
+
def root?; end
|
1027
|
+
def title; end
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
class YARD::Config
|
1031
|
+
class << self
|
1032
|
+
def add_ignored_plugins_file; end
|
1033
|
+
def arguments; end
|
1034
|
+
def load; end
|
1035
|
+
def load_autoload_plugins; end
|
1036
|
+
def load_commandline_plugins; end
|
1037
|
+
def load_commandline_safemode; end
|
1038
|
+
def load_gem_plugins; end
|
1039
|
+
def load_plugin(name); end
|
1040
|
+
def load_plugin_failed(name, exception); end
|
1041
|
+
def load_plugins; end
|
1042
|
+
def options; end
|
1043
|
+
def options=(_arg0); end
|
1044
|
+
def read_config_file; end
|
1045
|
+
def save; end
|
1046
|
+
def translate_plugin_name(name); end
|
1047
|
+
def translate_plugin_names; end
|
1048
|
+
def with_yardopts; end
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
YARD::Config::CONFIG_DIR = T.let(T.unsafe(nil), String)
|
1053
|
+
YARD::Config::CONFIG_FILE = T.let(T.unsafe(nil), String)
|
1054
|
+
YARD::Config::DEFAULT_CONFIG_OPTIONS = T.let(T.unsafe(nil), Hash)
|
1055
|
+
YARD::Config::IGNORED_PLUGINS = T.let(T.unsafe(nil), String)
|
1056
|
+
YARD::Config::YARD_PLUGIN_PREFIX = T.let(T.unsafe(nil), Regexp)
|
1057
|
+
|
1058
|
+
class YARD::Docstring < ::String
|
1059
|
+
def initialize(content = T.unsafe(nil), object = T.unsafe(nil)); end
|
1060
|
+
|
1061
|
+
def +(other); end
|
1062
|
+
def add_tag(*tags); end
|
1063
|
+
def all; end
|
1064
|
+
def all=(content, parse = T.unsafe(nil)); end
|
1065
|
+
def blank?(only_visible_tags = T.unsafe(nil)); end
|
1066
|
+
def delete_tag_if(&block); end
|
1067
|
+
def delete_tags(name); end
|
1068
|
+
def dup; end
|
1069
|
+
def has_tag?(name); end
|
1070
|
+
def hash_flag; end
|
1071
|
+
def hash_flag=(v); end
|
1072
|
+
def line; end
|
1073
|
+
def line_range; end
|
1074
|
+
def line_range=(_arg0); end
|
1075
|
+
def object; end
|
1076
|
+
def object=(_arg0); end
|
1077
|
+
def ref_tags; end
|
1078
|
+
def replace(content, parse = T.unsafe(nil)); end
|
1079
|
+
def resolve_reference; end
|
1080
|
+
def summary; end
|
1081
|
+
def tag(name); end
|
1082
|
+
def tags(name = T.unsafe(nil)); end
|
1083
|
+
def to_raw; end
|
1084
|
+
def to_s; end
|
1085
|
+
|
1086
|
+
private
|
1087
|
+
|
1088
|
+
def convert_ref_tags; end
|
1089
|
+
def parse_comments(comments); end
|
1090
|
+
def stable_sort_by(list); end
|
1091
|
+
|
1092
|
+
class << self
|
1093
|
+
def default_parser; end
|
1094
|
+
def default_parser=(_arg0); end
|
1095
|
+
def new!(text, tags = T.unsafe(nil), object = T.unsafe(nil), raw_data = T.unsafe(nil), ref_object = T.unsafe(nil)); end
|
1096
|
+
def parser(*args); end
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
YARD::Docstring::META_MATCH = T.let(T.unsafe(nil), Regexp)
|
1101
|
+
|
1102
|
+
class YARD::DocstringParser
|
1103
|
+
def initialize(library = T.unsafe(nil)); end
|
1104
|
+
|
1105
|
+
def create_directive(tag_name, tag_buf); end
|
1106
|
+
def create_ref_tag(tag_name, name, object_name); end
|
1107
|
+
def create_tag(tag_name, tag_buf = T.unsafe(nil)); end
|
1108
|
+
def directives; end
|
1109
|
+
def directives=(_arg0); end
|
1110
|
+
def handler; end
|
1111
|
+
def handler=(_arg0); end
|
1112
|
+
def library; end
|
1113
|
+
def library=(_arg0); end
|
1114
|
+
def object; end
|
1115
|
+
def object=(_arg0); end
|
1116
|
+
def parse(content, object = T.unsafe(nil), handler = T.unsafe(nil)); end
|
1117
|
+
def parse_content(content); end
|
1118
|
+
def post_process; end
|
1119
|
+
def raw_text; end
|
1120
|
+
def raw_text=(_arg0); end
|
1121
|
+
def reference; end
|
1122
|
+
def reference=(_arg0); end
|
1123
|
+
def state; end
|
1124
|
+
def state=(_arg0); end
|
1125
|
+
def tag_is_directive?(tag_name); end
|
1126
|
+
def tags; end
|
1127
|
+
def tags=(_arg0); end
|
1128
|
+
def text; end
|
1129
|
+
def text=(_arg0); end
|
1130
|
+
def to_docstring; end
|
1131
|
+
|
1132
|
+
private
|
1133
|
+
|
1134
|
+
def call_after_parse_callbacks; end
|
1135
|
+
def call_directives_after_parse; end
|
1136
|
+
def detect_reference(content); end
|
1137
|
+
def namespace; end
|
1138
|
+
|
1139
|
+
class << self
|
1140
|
+
def after_parse(&block); end
|
1141
|
+
def after_parse_callbacks; end
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
YARD::DocstringParser::META_MATCH = T.let(T.unsafe(nil), Regexp)
|
1146
|
+
|
1147
|
+
module YARD::GemIndex
|
1148
|
+
private
|
1149
|
+
|
1150
|
+
def all; end
|
1151
|
+
def each(&block); end
|
1152
|
+
def find_all_by_name(*args); end
|
1153
|
+
|
1154
|
+
class << self
|
1155
|
+
def all; end
|
1156
|
+
def each(&block); end
|
1157
|
+
def find_all_by_name(*args); end
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
module YARD::Handlers; end
|
1162
|
+
|
1163
|
+
class YARD::Handlers::Base
|
1164
|
+
include ::YARD::CodeObjects
|
1165
|
+
include ::YARD::Parser
|
1166
|
+
|
1167
|
+
def initialize(source_parser, stmt); end
|
1168
|
+
|
1169
|
+
def abort!; end
|
1170
|
+
def call_params; end
|
1171
|
+
def caller_method; end
|
1172
|
+
def ensure_loaded!(object, max_retries = T.unsafe(nil)); end
|
1173
|
+
def extra_state; end
|
1174
|
+
def globals; end
|
1175
|
+
def namespace; end
|
1176
|
+
def namespace=(v); end
|
1177
|
+
def owner; end
|
1178
|
+
def owner=(v); end
|
1179
|
+
def parse_block(*_arg0); end
|
1180
|
+
def parser; end
|
1181
|
+
def process; end
|
1182
|
+
def push_state(opts = T.unsafe(nil)); end
|
1183
|
+
def register(*objects); end
|
1184
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1185
|
+
def register_dynamic(object); end
|
1186
|
+
def register_ensure_loaded(object); end
|
1187
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1188
|
+
def register_group(object, group = T.unsafe(nil)); end
|
1189
|
+
def register_module_function(object); end
|
1190
|
+
def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end
|
1191
|
+
def register_transitive_tags(object); end
|
1192
|
+
def register_visibility(object, visibility = T.unsafe(nil)); end
|
1193
|
+
def scope; end
|
1194
|
+
def scope=(v); end
|
1195
|
+
def statement; end
|
1196
|
+
def visibility; end
|
1197
|
+
def visibility=(v); end
|
1198
|
+
|
1199
|
+
class << self
|
1200
|
+
def clear_subclasses; end
|
1201
|
+
def handlers; end
|
1202
|
+
def handles(*matches); end
|
1203
|
+
def handles?(statement); end
|
1204
|
+
def in_file(filename); end
|
1205
|
+
def inherited(subclass); end
|
1206
|
+
def matches_file?(filename); end
|
1207
|
+
def namespace_only; end
|
1208
|
+
def namespace_only?; end
|
1209
|
+
def process(&block); end
|
1210
|
+
def subclasses; end
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
module YARD::Handlers::C; end
|
1215
|
+
class YARD::Handlers::C::AliasHandler < ::YARD::Handlers::C::Base; end
|
1216
|
+
YARD::Handlers::C::AliasHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1217
|
+
class YARD::Handlers::C::AttributeHandler < ::YARD::Handlers::C::Base; end
|
1218
|
+
YARD::Handlers::C::AttributeHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1219
|
+
|
1220
|
+
class YARD::Handlers::C::Base < ::YARD::Handlers::Base
|
1221
|
+
include ::YARD::Parser::C
|
1222
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1223
|
+
include ::YARD::Handlers::C::HandlerMethods
|
1224
|
+
|
1225
|
+
def ensure_variable_defined!(var, max_retries = T.unsafe(nil)); end
|
1226
|
+
def namespace_for_variable(var); end
|
1227
|
+
def namespaces; end
|
1228
|
+
def override_comments; end
|
1229
|
+
def parse_block(opts = T.unsafe(nil)); end
|
1230
|
+
def process_file(file, object); end
|
1231
|
+
def processed_files; end
|
1232
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1233
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1234
|
+
def register_source(object, source = T.unsafe(nil), type = T.unsafe(nil)); end
|
1235
|
+
def register_visibility(object, visibility = T.unsafe(nil)); end
|
1236
|
+
def symbols; end
|
1237
|
+
|
1238
|
+
private
|
1239
|
+
|
1240
|
+
def remove_var_prefix(var); end
|
1241
|
+
|
1242
|
+
class << self
|
1243
|
+
def handles?(statement, processor); end
|
1244
|
+
def statement_class(type = T.unsafe(nil)); end
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
YARD::Handlers::C::Base::ERROR_CLASS_NAMES = T.let(T.unsafe(nil), Hash)
|
1249
|
+
class YARD::Handlers::C::ClassHandler < ::YARD::Handlers::C::Base; end
|
1250
|
+
YARD::Handlers::C::ClassHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1251
|
+
YARD::Handlers::C::ClassHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1252
|
+
class YARD::Handlers::C::ConstantHandler < ::YARD::Handlers::C::Base; end
|
1253
|
+
YARD::Handlers::C::ConstantHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1254
|
+
|
1255
|
+
module YARD::Handlers::C::HandlerMethods
|
1256
|
+
include ::YARD::Parser::C
|
1257
|
+
include ::YARD::CodeObjects
|
1258
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1259
|
+
|
1260
|
+
def handle_alias(var_name, new_name, old_name); end
|
1261
|
+
def handle_attribute(var_name, name, read, write); end
|
1262
|
+
def handle_class(var_name, class_name, parent, in_module = T.unsafe(nil)); end
|
1263
|
+
def handle_constants(type, var_name, const_name, value); end
|
1264
|
+
def handle_method(scope, var_name, name, func_name, _source_file = T.unsafe(nil)); end
|
1265
|
+
def handle_module(var_name, module_name, in_module = T.unsafe(nil)); end
|
1266
|
+
|
1267
|
+
private
|
1268
|
+
|
1269
|
+
def find_constant_docstring(object); end
|
1270
|
+
def find_method_body(object, symbol); end
|
1271
|
+
def record_parameters(object, symbol, src); end
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
class YARD::Handlers::C::InitHandler < ::YARD::Handlers::C::Base; end
|
1275
|
+
YARD::Handlers::C::InitHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1276
|
+
class YARD::Handlers::C::MethodHandler < ::YARD::Handlers::C::Base; end
|
1277
|
+
YARD::Handlers::C::MethodHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1278
|
+
YARD::Handlers::C::MethodHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1279
|
+
YARD::Handlers::C::MethodHandler::MATCH3 = T.let(T.unsafe(nil), Regexp)
|
1280
|
+
class YARD::Handlers::C::MixinHandler < ::YARD::Handlers::C::Base; end
|
1281
|
+
YARD::Handlers::C::MixinHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1282
|
+
class YARD::Handlers::C::ModuleHandler < ::YARD::Handlers::C::Base; end
|
1283
|
+
YARD::Handlers::C::ModuleHandler::MATCH1 = T.let(T.unsafe(nil), Regexp)
|
1284
|
+
YARD::Handlers::C::ModuleHandler::MATCH2 = T.let(T.unsafe(nil), Regexp)
|
1285
|
+
|
1286
|
+
class YARD::Handlers::C::OverrideCommentHandler < ::YARD::Handlers::C::Base
|
1287
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1288
|
+
def register_file_info(object, file = T.unsafe(nil), line = T.unsafe(nil), comments = T.unsafe(nil)); end
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
class YARD::Handlers::C::PathHandler < ::YARD::Handlers::C::Base; end
|
1292
|
+
YARD::Handlers::C::PathHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1293
|
+
class YARD::Handlers::C::StructHandler < ::YARD::Handlers::C::Base; end
|
1294
|
+
YARD::Handlers::C::StructHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1295
|
+
class YARD::Handlers::C::SymbolHandler < ::YARD::Handlers::C::Base; end
|
1296
|
+
YARD::Handlers::C::SymbolHandler::MATCH = T.let(T.unsafe(nil), Regexp)
|
1297
|
+
module YARD::Handlers::Common; end
|
1298
|
+
|
1299
|
+
module YARD::Handlers::Common::MethodHandler
|
1300
|
+
def add_predicate_return_tag(obj); end
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
class YARD::Handlers::HandlerAborted < ::RuntimeError; end
|
1304
|
+
|
1305
|
+
class YARD::Handlers::NamespaceMissingError < ::YARD::Parser::UndocumentableError
|
1306
|
+
def initialize(object); end
|
1307
|
+
|
1308
|
+
def object; end
|
1309
|
+
def object=(_arg0); end
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
class YARD::Handlers::Processor
|
1313
|
+
def initialize(parser); end
|
1314
|
+
|
1315
|
+
def extra_state; end
|
1316
|
+
def extra_state=(_arg0); end
|
1317
|
+
def file; end
|
1318
|
+
def file=(_arg0); end
|
1319
|
+
def find_handlers(statement); end
|
1320
|
+
def globals; end
|
1321
|
+
def globals=(_arg0); end
|
1322
|
+
def namespace; end
|
1323
|
+
def namespace=(_arg0); end
|
1324
|
+
def owner; end
|
1325
|
+
def owner=(_arg0); end
|
1326
|
+
def parse_remaining_files; end
|
1327
|
+
def parser_type; end
|
1328
|
+
def parser_type=(_arg0); end
|
1329
|
+
def process(statements); end
|
1330
|
+
def scope; end
|
1331
|
+
def scope=(_arg0); end
|
1332
|
+
def visibility; end
|
1333
|
+
def visibility=(_arg0); end
|
1334
|
+
|
1335
|
+
private
|
1336
|
+
|
1337
|
+
def handler_base_class; end
|
1338
|
+
def handler_base_namespace; end
|
1339
|
+
def handles?(handler, statement); end
|
1340
|
+
def load_handlers; end
|
1341
|
+
|
1342
|
+
class << self
|
1343
|
+
def namespace_for_handler; end
|
1344
|
+
def register_handler_namespace(type, ns); end
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
module YARD::Handlers::Ruby; end
|
1349
|
+
class YARD::Handlers::Ruby::AliasHandler < ::YARD::Handlers::Ruby::Base; end
|
1350
|
+
|
1351
|
+
class YARD::Handlers::Ruby::AttributeHandler < ::YARD::Handlers::Ruby::Base
|
1352
|
+
protected
|
1353
|
+
|
1354
|
+
def validated_attribute_names(params); end
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
class YARD::Handlers::Ruby::Base < ::YARD::Handlers::Base
|
1358
|
+
include ::YARD::Parser::Ruby
|
1359
|
+
extend ::YARD::Parser::Ruby
|
1360
|
+
|
1361
|
+
def call_params; end
|
1362
|
+
def caller_method; end
|
1363
|
+
def parse_block(inner_node, opts = T.unsafe(nil)); end
|
1364
|
+
|
1365
|
+
class << self
|
1366
|
+
def handles?(node); end
|
1367
|
+
def meta_type(type); end
|
1368
|
+
def method_call(name = T.unsafe(nil)); end
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
class YARD::Handlers::Ruby::ClassConditionHandler < ::YARD::Handlers::Ruby::Base
|
1373
|
+
protected
|
1374
|
+
|
1375
|
+
def parse_condition; end
|
1376
|
+
def parse_else_block; end
|
1377
|
+
def parse_then_block; end
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
class YARD::Handlers::Ruby::ClassHandler < ::YARD::Handlers::Ruby::Base
|
1381
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1382
|
+
include ::YARDSorbet::Handlers::StructClassHandler
|
1383
|
+
|
1384
|
+
private
|
1385
|
+
|
1386
|
+
def create_struct_superclass(superclass, superclass_def); end
|
1387
|
+
def extract_parameters(superclass); end
|
1388
|
+
def parse_struct_superclass(klass, superclass); end
|
1389
|
+
def parse_superclass(superclass); end
|
1390
|
+
def struct_superclass_name(superclass); end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class YARD::Handlers::Ruby::ClassVariableHandler < ::YARD::Handlers::Ruby::Base; end
|
1394
|
+
class YARD::Handlers::Ruby::CommentHandler < ::YARD::Handlers::Ruby::Base; end
|
1395
|
+
|
1396
|
+
class YARD::Handlers::Ruby::ConstantHandler < ::YARD::Handlers::Ruby::Base
|
1397
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1398
|
+
|
1399
|
+
private
|
1400
|
+
|
1401
|
+
def extract_parameters(superclass); end
|
1402
|
+
def process_constant(statement); end
|
1403
|
+
def process_structclass(statement); end
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
class YARD::Handlers::Ruby::DSLHandler < ::YARD::Handlers::Ruby::Base
|
1407
|
+
include ::YARD::Handlers::Ruby::DSLHandlerMethods
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
module YARD::Handlers::Ruby::DSLHandlerMethods
|
1411
|
+
include ::YARD::CodeObjects
|
1412
|
+
include ::YARD::Parser
|
1413
|
+
|
1414
|
+
def handle_comments; end
|
1415
|
+
def register_docstring(object, docstring = T.unsafe(nil), stmt = T.unsafe(nil)); end
|
1416
|
+
|
1417
|
+
private
|
1418
|
+
|
1419
|
+
def find_attached_macro; end
|
1420
|
+
def implicit_docstring?; end
|
1421
|
+
def macro_name_matches(macro); end
|
1422
|
+
def method_name; end
|
1423
|
+
def method_signature; end
|
1424
|
+
end
|
1425
|
+
|
1426
|
+
YARD::Handlers::Ruby::DSLHandlerMethods::IGNORE_METHODS = T.let(T.unsafe(nil), Hash)
|
1427
|
+
|
1428
|
+
module YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1429
|
+
def process_decorator(*nodes, &block); end
|
1430
|
+
|
1431
|
+
private
|
1432
|
+
|
1433
|
+
def process_decorator_parameter(node, opts = T.unsafe(nil), &block); end
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
class YARD::Handlers::Ruby::ExceptionHandler < ::YARD::Handlers::Ruby::Base; end
|
1437
|
+
|
1438
|
+
class YARD::Handlers::Ruby::ExtendHandler < ::YARD::Handlers::Ruby::MixinHandler
|
1439
|
+
def scope; end
|
1440
|
+
|
1441
|
+
private
|
1442
|
+
|
1443
|
+
def process_mixin(mixin); end
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
class YARD::Handlers::Ruby::HandlesExtension
|
1447
|
+
def initialize(name); end
|
1448
|
+
|
1449
|
+
def matches?(node); end
|
1450
|
+
|
1451
|
+
protected
|
1452
|
+
|
1453
|
+
def name; end
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
module YARD::Handlers::Ruby::Legacy; end
|
1457
|
+
class YARD::Handlers::Ruby::Legacy::AliasHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1458
|
+
class YARD::Handlers::Ruby::Legacy::AttributeHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1459
|
+
|
1460
|
+
class YARD::Handlers::Ruby::Legacy::Base < ::YARD::Handlers::Base
|
1461
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
1462
|
+
|
1463
|
+
def call_params; end
|
1464
|
+
def caller_method; end
|
1465
|
+
def parse_block(opts = T.unsafe(nil)); end
|
1466
|
+
|
1467
|
+
private
|
1468
|
+
|
1469
|
+
def extract_method_details; end
|
1470
|
+
def tokval(token, *accepted_types); end
|
1471
|
+
def tokval_list(tokenlist, *accepted_types); end
|
1472
|
+
|
1473
|
+
class << self
|
1474
|
+
def handles?(stmt); end
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
class YARD::Handlers::Ruby::Legacy::ClassConditionHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1479
|
+
protected
|
1480
|
+
|
1481
|
+
def parse_condition; end
|
1482
|
+
def parse_else_block; end
|
1483
|
+
def parse_then_block; end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
class YARD::Handlers::Ruby::Legacy::ClassHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1487
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1488
|
+
|
1489
|
+
private
|
1490
|
+
|
1491
|
+
def create_struct_superclass(superclass, superclass_def); end
|
1492
|
+
def extract_parameters(superstring); end
|
1493
|
+
def parse_struct_subclass(klass, superclass_def); end
|
1494
|
+
def parse_superclass(superclass); end
|
1495
|
+
def struct_superclass_name(superclass); end
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
class YARD::Handlers::Ruby::Legacy::ClassVariableHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1499
|
+
YARD::Handlers::Ruby::Legacy::ClassVariableHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp)
|
1500
|
+
class YARD::Handlers::Ruby::Legacy::CommentHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1501
|
+
|
1502
|
+
class YARD::Handlers::Ruby::Legacy::ConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1503
|
+
include ::YARD::Handlers::Ruby::StructHandlerMethods
|
1504
|
+
|
1505
|
+
private
|
1506
|
+
|
1507
|
+
def extract_parameters(parameters); end
|
1508
|
+
def process_structclass(classname, parameters); end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
YARD::Handlers::Ruby::Legacy::ConstantHandler::HANDLER_MATCH = T.let(T.unsafe(nil), Regexp)
|
1512
|
+
|
1513
|
+
class YARD::Handlers::Ruby::Legacy::DSLHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1514
|
+
include ::YARD::Handlers::Ruby::DSLHandlerMethods
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
class YARD::Handlers::Ruby::Legacy::ExceptionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1518
|
+
|
1519
|
+
class YARD::Handlers::Ruby::Legacy::ExtendHandler < ::YARD::Handlers::Ruby::Legacy::MixinHandler
|
1520
|
+
def scope; end
|
1521
|
+
|
1522
|
+
private
|
1523
|
+
|
1524
|
+
def process_mixin(mixin); end
|
1525
|
+
end
|
1526
|
+
|
1527
|
+
class YARD::Handlers::Ruby::Legacy::MethodHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1528
|
+
|
1529
|
+
class YARD::Handlers::Ruby::Legacy::MixinHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1530
|
+
private
|
1531
|
+
|
1532
|
+
def process_mixin(mixin); end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
class YARD::Handlers::Ruby::Legacy::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1536
|
+
class YARD::Handlers::Ruby::Legacy::ModuleHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1537
|
+
|
1538
|
+
class YARD::Handlers::Ruby::Legacy::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1539
|
+
private
|
1540
|
+
|
1541
|
+
def privatize_class_method(name); end
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
class YARD::Handlers::Ruby::Legacy::PrivateConstantHandler < ::YARD::Handlers::Ruby::Legacy::Base
|
1545
|
+
private
|
1546
|
+
|
1547
|
+
def privatize_constant(name); end
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
class YARD::Handlers::Ruby::Legacy::VisibilityHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1551
|
+
class YARD::Handlers::Ruby::Legacy::YieldHandler < ::YARD::Handlers::Ruby::Legacy::Base; end
|
1552
|
+
|
1553
|
+
class YARD::Handlers::Ruby::MethodCallWrapper < ::YARD::Handlers::Ruby::HandlesExtension
|
1554
|
+
def matches?(node); end
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
class YARD::Handlers::Ruby::MethodConditionHandler < ::YARD::Handlers::Ruby::Base; end
|
1558
|
+
|
1559
|
+
class YARD::Handlers::Ruby::MethodHandler < ::YARD::Handlers::Ruby::Base
|
1560
|
+
include ::YARD::Handlers::Common::MethodHandler
|
1561
|
+
|
1562
|
+
def format_args; end
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
class YARD::Handlers::Ruby::MixinHandler < ::YARD::Handlers::Ruby::Base
|
1566
|
+
protected
|
1567
|
+
|
1568
|
+
def process_mixin(mixin); end
|
1569
|
+
def recipient(mixin); end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
class YARD::Handlers::Ruby::ModuleFunctionHandler < ::YARD::Handlers::Ruby::Base
|
1573
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1574
|
+
|
1575
|
+
def make_module_function(instance_method, namespace); end
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
class YARD::Handlers::Ruby::ModuleHandler < ::YARD::Handlers::Ruby::Base; end
|
1579
|
+
|
1580
|
+
class YARD::Handlers::Ruby::PrivateClassMethodHandler < ::YARD::Handlers::Ruby::Base
|
1581
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1582
|
+
end
|
1583
|
+
|
1584
|
+
class YARD::Handlers::Ruby::PrivateConstantHandler < ::YARD::Handlers::Ruby::Base
|
1585
|
+
private
|
1586
|
+
|
1587
|
+
def privatize_constant(node); end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
class YARD::Handlers::Ruby::PublicClassMethodHandler < ::YARD::Handlers::Ruby::Base
|
1591
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
module YARD::Handlers::Ruby::StructHandlerMethods
|
1595
|
+
include ::YARD::CodeObjects
|
1596
|
+
|
1597
|
+
def add_reader_tags(klass, new_method, member); end
|
1598
|
+
def add_writer_tags(klass, new_method, member); end
|
1599
|
+
def create_attributes(klass, members); end
|
1600
|
+
def create_class(classname, superclass); end
|
1601
|
+
def create_member_method?(klass, member, type = T.unsafe(nil)); end
|
1602
|
+
def create_reader(klass, member); end
|
1603
|
+
def create_writer(klass, member); end
|
1604
|
+
def member_tag_for_member(klass, member, type = T.unsafe(nil)); end
|
1605
|
+
def members_from_tags(klass); end
|
1606
|
+
def return_type_from_tag(member_tag); end
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
class YARD::Handlers::Ruby::TestNodeWrapper < ::YARD::Handlers::Ruby::HandlesExtension
|
1610
|
+
def matches?(node); end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
class YARD::Handlers::Ruby::VisibilityHandler < ::YARD::Handlers::Ruby::Base
|
1614
|
+
include ::YARD::Handlers::Ruby::DecoratorHandlerMethods
|
1615
|
+
end
|
1616
|
+
|
1617
|
+
class YARD::Handlers::Ruby::YieldHandler < ::YARD::Handlers::Ruby::Base; end
|
1618
|
+
module YARD::I18n; end
|
1619
|
+
|
1620
|
+
class YARD::I18n::Locale
|
1621
|
+
def initialize(name); end
|
1622
|
+
|
1623
|
+
def load(locale_directory); end
|
1624
|
+
def name; end
|
1625
|
+
def translate(message); end
|
1626
|
+
|
1627
|
+
class << self
|
1628
|
+
def default; end
|
1629
|
+
def default=(locale); end
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
class YARD::I18n::Message
|
1634
|
+
def initialize(id); end
|
1635
|
+
|
1636
|
+
def ==(other); end
|
1637
|
+
def add_comment(comment); end
|
1638
|
+
def add_location(path, line); end
|
1639
|
+
def comments; end
|
1640
|
+
def id; end
|
1641
|
+
def locations; end
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
class YARD::I18n::Messages
|
1645
|
+
include ::Enumerable
|
1646
|
+
|
1647
|
+
def initialize; end
|
1648
|
+
|
1649
|
+
def ==(other); end
|
1650
|
+
def [](id); end
|
1651
|
+
def each(&block); end
|
1652
|
+
def register(id); end
|
1653
|
+
|
1654
|
+
protected
|
1655
|
+
|
1656
|
+
def messages; end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
class YARD::I18n::PotGenerator
|
1660
|
+
def initialize(relative_base_path); end
|
1661
|
+
|
1662
|
+
def generate; end
|
1663
|
+
def messages; end
|
1664
|
+
def parse_files(files); end
|
1665
|
+
def parse_objects(objects); end
|
1666
|
+
|
1667
|
+
private
|
1668
|
+
|
1669
|
+
def current_time; end
|
1670
|
+
def escape_message_id(message_id); end
|
1671
|
+
def extract_documents(object); end
|
1672
|
+
def extract_paragraphs(file); end
|
1673
|
+
def extract_tag_documents(tag); end
|
1674
|
+
def extract_tag_name(tag); end
|
1675
|
+
def extract_tag_text(tag); end
|
1676
|
+
def generate_message(pot, message); end
|
1677
|
+
def generate_pot_creation_date_value; end
|
1678
|
+
def header; end
|
1679
|
+
def register_message(id); end
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
class YARD::I18n::Text
|
1683
|
+
def initialize(input, options = T.unsafe(nil)); end
|
1684
|
+
|
1685
|
+
def extract_messages; end
|
1686
|
+
def translate(locale); end
|
1687
|
+
|
1688
|
+
private
|
1689
|
+
|
1690
|
+
def emit_attribute_event(match_data, line_no); end
|
1691
|
+
def emit_empty_line_event(line, line_no); end
|
1692
|
+
def emit_markup_event(line, line_no); end
|
1693
|
+
def emit_paragraph_event(paragraph, paragraph_start_line, line_no, &block); end
|
1694
|
+
def parse(&block); end
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
class YARD::Logger < ::Logger
|
1698
|
+
def initialize(pipe, *args); end
|
1699
|
+
|
1700
|
+
def <<(msg = T.unsafe(nil)); end
|
1701
|
+
def backtrace(exc, level_meth = T.unsafe(nil)); end
|
1702
|
+
def capture(msg, nontty_log = T.unsafe(nil)); end
|
1703
|
+
def clear_progress; end
|
1704
|
+
def debug(*args); end
|
1705
|
+
def enter_level(new_level = T.unsafe(nil)); end
|
1706
|
+
def io; end
|
1707
|
+
def io=(pipe); end
|
1708
|
+
def print(msg = T.unsafe(nil)); end
|
1709
|
+
def progress(msg, nontty_log = T.unsafe(nil)); end
|
1710
|
+
def puts(msg = T.unsafe(nil)); end
|
1711
|
+
def show_backtraces; end
|
1712
|
+
def show_backtraces=(_arg0); end
|
1713
|
+
def show_progress; end
|
1714
|
+
def show_progress=(_arg0); end
|
1715
|
+
def warn(*args); end
|
1716
|
+
def warn_no_continuations; end
|
1717
|
+
def warned; end
|
1718
|
+
def warned=(_arg0); end
|
1719
|
+
|
1720
|
+
private
|
1721
|
+
|
1722
|
+
def add(*args); end
|
1723
|
+
def clear_line; end
|
1724
|
+
def format_log(sev, _time, _prog, msg); end
|
1725
|
+
def print_no_newline(msg); end
|
1726
|
+
|
1727
|
+
class << self
|
1728
|
+
def instance(pipe = T.unsafe(nil)); end
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
YARD::Logger::PROGRESS_INDICATORS = T.let(T.unsafe(nil), Array)
|
1733
|
+
|
1734
|
+
class YARD::Options
|
1735
|
+
def ==(other); end
|
1736
|
+
def [](key); end
|
1737
|
+
def []=(key, value); end
|
1738
|
+
def delete(key); end
|
1739
|
+
def each; end
|
1740
|
+
def inspect; end
|
1741
|
+
def merge(opts); end
|
1742
|
+
def method_missing(meth, *args, &block); end
|
1743
|
+
def reset_defaults; end
|
1744
|
+
def to_hash; end
|
1745
|
+
def update(opts); end
|
1746
|
+
|
1747
|
+
class << self
|
1748
|
+
def default_attr(key, default); end
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
module YARD::Parser; end
|
1753
|
+
|
1754
|
+
class YARD::Parser::Base
|
1755
|
+
def initialize(source, filename); end
|
1756
|
+
|
1757
|
+
def enumerator; end
|
1758
|
+
def parse; end
|
1759
|
+
def tokenize; end
|
1760
|
+
|
1761
|
+
class << self
|
1762
|
+
def parse(source, filename = T.unsafe(nil)); end
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
module YARD::Parser::C; end
|
1767
|
+
|
1768
|
+
class YARD::Parser::C::BodyStatement < ::YARD::Parser::C::Statement
|
1769
|
+
def comments; end
|
1770
|
+
def comments=(_arg0); end
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
class YARD::Parser::C::CParser < ::YARD::Parser::Base
|
1774
|
+
def initialize(source, file = T.unsafe(nil)); end
|
1775
|
+
|
1776
|
+
def enumerator; end
|
1777
|
+
def parse; end
|
1778
|
+
def tokenize; end
|
1779
|
+
|
1780
|
+
private
|
1781
|
+
|
1782
|
+
def advance(num = T.unsafe(nil)); end
|
1783
|
+
def advance_loop; end
|
1784
|
+
def attach_comment(statement); end
|
1785
|
+
def back(num = T.unsafe(nil)); end
|
1786
|
+
def char(num = T.unsafe(nil)); end
|
1787
|
+
def consume_body_statements; end
|
1788
|
+
def consume_comment(add_comment = T.unsafe(nil)); end
|
1789
|
+
def consume_directive; end
|
1790
|
+
def consume_quote(type = T.unsafe(nil)); end
|
1791
|
+
def consume_toplevel_statement; end
|
1792
|
+
def consume_until(end_char, bracket_level = T.unsafe(nil), brace_level = T.unsafe(nil), add_comment = T.unsafe(nil)); end
|
1793
|
+
def consume_whitespace; end
|
1794
|
+
def nextchar(num = T.unsafe(nil)); end
|
1795
|
+
def nextline; end
|
1796
|
+
def parse_toplevel; end
|
1797
|
+
def prevchar(num = T.unsafe(nil)); end
|
1798
|
+
def strip_non_statement_data; end
|
1799
|
+
def struct; end
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
class YARD::Parser::C::Comment < ::YARD::Parser::C::Statement
|
1803
|
+
include ::YARD::Parser::C::CommentParser
|
1804
|
+
|
1805
|
+
def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
1806
|
+
|
1807
|
+
def comments; end
|
1808
|
+
def overrides; end
|
1809
|
+
def overrides=(_arg0); end
|
1810
|
+
def statement; end
|
1811
|
+
def statement=(_arg0); end
|
1812
|
+
def type; end
|
1813
|
+
def type=(_arg0); end
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
module YARD::Parser::C::CommentParser
|
1817
|
+
protected
|
1818
|
+
|
1819
|
+
def parse_comments(comments); end
|
1820
|
+
|
1821
|
+
private
|
1822
|
+
|
1823
|
+
def parse_callseq(comments); end
|
1824
|
+
def parse_overrides(comments); end
|
1825
|
+
def parse_types(types); end
|
1826
|
+
def remove_private_comments(comment); end
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
class YARD::Parser::C::Statement
|
1830
|
+
def initialize(source, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
1831
|
+
|
1832
|
+
def comments_hash_flag; end
|
1833
|
+
def comments_hash_flag=(_arg0); end
|
1834
|
+
def comments_range; end
|
1835
|
+
def file; end
|
1836
|
+
def file=(_arg0); end
|
1837
|
+
def first_line; end
|
1838
|
+
def group; end
|
1839
|
+
def group=(_arg0); end
|
1840
|
+
def line; end
|
1841
|
+
def line=(_arg0); end
|
1842
|
+
def line_range; end
|
1843
|
+
def show; end
|
1844
|
+
def signature; end
|
1845
|
+
def source; end
|
1846
|
+
def source=(_arg0); end
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
class YARD::Parser::C::ToplevelStatement < ::YARD::Parser::C::Statement
|
1850
|
+
def block; end
|
1851
|
+
def block=(_arg0); end
|
1852
|
+
def comments; end
|
1853
|
+
def comments=(_arg0); end
|
1854
|
+
def declaration; end
|
1855
|
+
def declaration=(_arg0); end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
class YARD::Parser::OrderedParser
|
1859
|
+
def initialize(global_state, files); end
|
1860
|
+
|
1861
|
+
def files; end
|
1862
|
+
def files=(_arg0); end
|
1863
|
+
def parse; end
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
class YARD::Parser::ParserSyntaxError < ::YARD::Parser::UndocumentableError; end
|
1867
|
+
|
1868
|
+
module YARD::Parser::Ruby
|
1869
|
+
def s(*args); end
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
class YARD::Parser::Ruby::AstNode < ::Array
|
1873
|
+
def initialize(type, arr, opts = T.unsafe(nil)); end
|
1874
|
+
|
1875
|
+
def ==(other); end
|
1876
|
+
def block?; end
|
1877
|
+
def call?; end
|
1878
|
+
def children; end
|
1879
|
+
def comments; end
|
1880
|
+
def comments_hash_flag; end
|
1881
|
+
def comments_range; end
|
1882
|
+
def condition?; end
|
1883
|
+
def def?; end
|
1884
|
+
def docstring; end
|
1885
|
+
def docstring=(_arg0); end
|
1886
|
+
def docstring_hash_flag; end
|
1887
|
+
def docstring_hash_flag=(_arg0); end
|
1888
|
+
def docstring_range; end
|
1889
|
+
def docstring_range=(_arg0); end
|
1890
|
+
def file; end
|
1891
|
+
def file=(_arg0); end
|
1892
|
+
def first_line; end
|
1893
|
+
def full_source; end
|
1894
|
+
def full_source=(_arg0); end
|
1895
|
+
def group; end
|
1896
|
+
def group=(_arg0); end
|
1897
|
+
def has_line?; end
|
1898
|
+
def inspect; end
|
1899
|
+
def jump(*node_types); end
|
1900
|
+
def kw?; end
|
1901
|
+
def line; end
|
1902
|
+
def line_range; end
|
1903
|
+
def line_range=(_arg0); end
|
1904
|
+
def literal?; end
|
1905
|
+
def loop?; end
|
1906
|
+
def parent; end
|
1907
|
+
def parent=(_arg0); end
|
1908
|
+
def pretty_print(q); end
|
1909
|
+
def ref?; end
|
1910
|
+
def show; end
|
1911
|
+
def source; end
|
1912
|
+
def source=(_arg0); end
|
1913
|
+
def source_range; end
|
1914
|
+
def source_range=(_arg0); end
|
1915
|
+
def to_s; end
|
1916
|
+
def token?; end
|
1917
|
+
def traverse; end
|
1918
|
+
def type; end
|
1919
|
+
def type=(_arg0); end
|
1920
|
+
def unfreeze; end
|
1921
|
+
|
1922
|
+
private
|
1923
|
+
|
1924
|
+
def reset_line_info; end
|
1925
|
+
|
1926
|
+
class << self
|
1927
|
+
def node_class_for(type); end
|
1928
|
+
end
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
YARD::Parser::Ruby::AstNode::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
1932
|
+
|
1933
|
+
class YARD::Parser::Ruby::ClassNode < ::YARD::Parser::Ruby::KeywordNode
|
1934
|
+
def block; end
|
1935
|
+
def class_name; end
|
1936
|
+
def superclass; end
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
class YARD::Parser::Ruby::CommentNode < ::YARD::Parser::Ruby::AstNode
|
1940
|
+
def comments; end
|
1941
|
+
def docstring; end
|
1942
|
+
def docstring=(value); end
|
1943
|
+
def first_line; end
|
1944
|
+
def source; end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
class YARD::Parser::Ruby::ConditionalNode < ::YARD::Parser::Ruby::KeywordNode
|
1948
|
+
def condition; end
|
1949
|
+
def condition?; end
|
1950
|
+
def else_block; end
|
1951
|
+
def then_block; end
|
1952
|
+
|
1953
|
+
private
|
1954
|
+
|
1955
|
+
def cmod?; end
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
class YARD::Parser::Ruby::KeywordNode < ::YARD::Parser::Ruby::AstNode
|
1959
|
+
def kw?; end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
module YARD::Parser::Ruby::Legacy; end
|
1963
|
+
|
1964
|
+
class YARD::Parser::Ruby::Legacy::RubyLex
|
1965
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
1966
|
+
include ::IRB
|
1967
|
+
|
1968
|
+
def initialize(content); end
|
1969
|
+
|
1970
|
+
def char_no; end
|
1971
|
+
def continue; end
|
1972
|
+
def exception_on_syntax_error; end
|
1973
|
+
def exception_on_syntax_error=(_arg0); end
|
1974
|
+
def get_read; end
|
1975
|
+
def getc; end
|
1976
|
+
def getc_of_rests; end
|
1977
|
+
def gets; end
|
1978
|
+
def identify_comment; end
|
1979
|
+
def identify_gvar; end
|
1980
|
+
def identify_here_document; end
|
1981
|
+
def identify_identifier; end
|
1982
|
+
def identify_number(start); end
|
1983
|
+
def identify_quotation(initial_char); end
|
1984
|
+
def identify_string(ltype, quoted = T.unsafe(nil), opener = T.unsafe(nil), initial_char = T.unsafe(nil)); end
|
1985
|
+
def indent; end
|
1986
|
+
def lex; end
|
1987
|
+
def lex_init; end
|
1988
|
+
def lex_int2; end
|
1989
|
+
def lex_state; end
|
1990
|
+
def line_no; end
|
1991
|
+
def peek(i = T.unsafe(nil)); end
|
1992
|
+
def peek_equal?(str); end
|
1993
|
+
def read_auto_clean_up; end
|
1994
|
+
def read_auto_clean_up=(_arg0); end
|
1995
|
+
def read_escape; end
|
1996
|
+
def skip_inner_expression; end
|
1997
|
+
def skip_space; end
|
1998
|
+
def skip_space=(_arg0); end
|
1999
|
+
def token; end
|
2000
|
+
def ungetc(c = T.unsafe(nil)); end
|
2001
|
+
|
2002
|
+
class << self
|
2003
|
+
def debug?; end
|
2004
|
+
end
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
YARD::Parser::Ruby::Legacy::RubyLex::ACCEPTS_COLON = T.let(T.unsafe(nil), Array)
|
2008
|
+
|
2009
|
+
class YARD::Parser::Ruby::Legacy::RubyLex::BufferedReader
|
2010
|
+
def initialize(content); end
|
2011
|
+
|
2012
|
+
def column; end
|
2013
|
+
def divert_read_from(reserve); end
|
2014
|
+
def get_read; end
|
2015
|
+
def getc; end
|
2016
|
+
def getc_already_read; end
|
2017
|
+
def line_num; end
|
2018
|
+
def peek(at); end
|
2019
|
+
def peek_equal(str); end
|
2020
|
+
def ungetc(_ch); end
|
2021
|
+
end
|
2022
|
+
|
2023
|
+
YARD::Parser::Ruby::Legacy::RubyLex::DEINDENT_CLAUSE = T.let(T.unsafe(nil), Array)
|
2024
|
+
YARD::Parser::Ruby::Legacy::RubyLex::DLtype2Token = T.let(T.unsafe(nil), Hash)
|
2025
|
+
YARD::Parser::Ruby::Legacy::RubyLex::ENINDENT_CLAUSE = T.let(T.unsafe(nil), Array)
|
2026
|
+
YARD::Parser::Ruby::Legacy::RubyLex::Ltype2Token = T.let(T.unsafe(nil), Hash)
|
2027
|
+
YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_LTYPE = T.let(T.unsafe(nil), Hash)
|
2028
|
+
YARD::Parser::Ruby::Legacy::RubyLex::PERCENT_PAREN = T.let(T.unsafe(nil), Hash)
|
2029
|
+
|
2030
|
+
class YARD::Parser::Ruby::Legacy::RubyParser < ::YARD::Parser::Base
|
2031
|
+
def initialize(source, _filename); end
|
2032
|
+
|
2033
|
+
def encoding_line; end
|
2034
|
+
def enumerator; end
|
2035
|
+
def parse; end
|
2036
|
+
def shebang_line; end
|
2037
|
+
def tokenize; end
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
module YARD::Parser::Ruby::Legacy::RubyToken
|
2041
|
+
def Token(token, value = T.unsafe(nil)); end
|
2042
|
+
def set_token_position(line, char); end
|
2043
|
+
|
2044
|
+
class << self
|
2045
|
+
def def_token(token_n, super_token = T.unsafe(nil), reading = T.unsafe(nil), *opts); end
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_ARG = T.let(T.unsafe(nil), Symbol)
|
2050
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_BEG = T.let(T.unsafe(nil), Symbol)
|
2051
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_CLASS = T.let(T.unsafe(nil), Symbol)
|
2052
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_DOT = T.let(T.unsafe(nil), Symbol)
|
2053
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_END = T.let(T.unsafe(nil), Symbol)
|
2054
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_FNAME = T.let(T.unsafe(nil), Symbol)
|
2055
|
+
YARD::Parser::Ruby::Legacy::RubyToken::EXPR_MID = T.let(T.unsafe(nil), Symbol)
|
2056
|
+
YARD::Parser::Ruby::Legacy::RubyToken::NEWLINE_TOKEN = T.let(T.unsafe(nil), YARD::Parser::Ruby::Legacy::RubyToken::TkNL)
|
2057
|
+
|
2058
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::OPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2059
|
+
class << self
|
2060
|
+
def op_name; end
|
2061
|
+
end
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkALIAS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2065
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAMPER < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2066
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2067
|
+
|
2068
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkANDOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2069
|
+
class << self
|
2070
|
+
def op_name; end
|
2071
|
+
end
|
2072
|
+
end
|
2073
|
+
|
2074
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAREF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2075
|
+
class << self
|
2076
|
+
def op_name; end
|
2077
|
+
end
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASET < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2081
|
+
class << self
|
2082
|
+
def op_name; end
|
2083
|
+
end
|
2084
|
+
end
|
2085
|
+
|
2086
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASSIGN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2087
|
+
|
2088
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkASSOC < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2089
|
+
class << self
|
2090
|
+
def op_name; end
|
2091
|
+
end
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2095
|
+
|
2096
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKQUOTE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2097
|
+
class << self
|
2098
|
+
def op_name; end
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACKSLASH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2103
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBACK_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2104
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2105
|
+
|
2106
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITAND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2107
|
+
class << self
|
2108
|
+
def op_name; end
|
2109
|
+
end
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2113
|
+
class << self
|
2114
|
+
def op_name; end
|
2115
|
+
end
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2119
|
+
class << self
|
2120
|
+
def op_name; end
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2124
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBITXOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2125
|
+
class << self
|
2126
|
+
def op_name; end
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBREAK < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2131
|
+
|
2132
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkBlockContents < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2133
|
+
def text; end
|
2134
|
+
end
|
2135
|
+
|
2136
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCASE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2137
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCLASS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2138
|
+
|
2139
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCMP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2140
|
+
class << self
|
2141
|
+
def op_name; end
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2146
|
+
class << self
|
2147
|
+
def op_name; end
|
2148
|
+
end
|
2149
|
+
end
|
2150
|
+
|
2151
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2152
|
+
class << self
|
2153
|
+
def op_name; end
|
2154
|
+
end
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOLON3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2158
|
+
class << self
|
2159
|
+
def op_name; end
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMA < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2164
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCOMMENT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2165
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkCONSTANT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2166
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2167
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDEFINED < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2168
|
+
|
2169
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDIV < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2170
|
+
class << self
|
2171
|
+
def op_name; end
|
2172
|
+
end
|
2173
|
+
end
|
2174
|
+
|
2175
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2176
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOLLAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar; end
|
2177
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2178
|
+
|
2179
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT2 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2180
|
+
class << self
|
2181
|
+
def op_name; end
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
|
2185
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDOT3 < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2186
|
+
class << self
|
2187
|
+
def op_name; end
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2192
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2193
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkDXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkNode; end
|
2194
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkELSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2195
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkELSIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2196
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2197
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEND_OF_SCRIPT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2198
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkENSURE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2199
|
+
|
2200
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2201
|
+
class << self
|
2202
|
+
def op_name; end
|
2203
|
+
end
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkEQQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2207
|
+
class << self
|
2208
|
+
def op_name; end
|
2209
|
+
end
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkError < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2213
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFALSE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2214
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFID < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2215
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFLOAT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2216
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkFOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2217
|
+
|
2218
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2219
|
+
class << self
|
2220
|
+
def op_name; end
|
2221
|
+
end
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2225
|
+
class << self
|
2226
|
+
def op_name; end
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkGVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2231
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIDENTIFIER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2232
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2233
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIF_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2234
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2235
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkINTEGER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2236
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkIVAR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2237
|
+
|
2238
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkId < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2239
|
+
def initialize(line_no, char_no, name); end
|
2240
|
+
|
2241
|
+
def name; end
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkKW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2245
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLABEL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2246
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2247
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2248
|
+
|
2249
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2250
|
+
class << self
|
2251
|
+
def op_name; end
|
2252
|
+
end
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2256
|
+
|
2257
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2258
|
+
class << self
|
2259
|
+
def op_name; end
|
2260
|
+
end
|
2261
|
+
end
|
2262
|
+
|
2263
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkLT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2264
|
+
class << self
|
2265
|
+
def op_name; end
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2270
|
+
class << self
|
2271
|
+
def op_name; end
|
2272
|
+
end
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2276
|
+
class << self
|
2277
|
+
def op_name; end
|
2278
|
+
end
|
2279
|
+
end
|
2280
|
+
|
2281
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2282
|
+
class << self
|
2283
|
+
def op_name; end
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMODULE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2288
|
+
|
2289
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkMULT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2290
|
+
class << self
|
2291
|
+
def op_name; end
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNEQ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2296
|
+
class << self
|
2297
|
+
def op_name; end
|
2298
|
+
end
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNEXT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2302
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2303
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2304
|
+
|
2305
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNMATCH < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2306
|
+
class << self
|
2307
|
+
def op_name; end
|
2308
|
+
end
|
2309
|
+
end
|
2310
|
+
|
2311
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNOT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2312
|
+
|
2313
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNOTOP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2314
|
+
class << self
|
2315
|
+
def op_name; end
|
2316
|
+
end
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNTH_REF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2320
|
+
|
2321
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkNode < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2322
|
+
def node; end
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOPASGN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2326
|
+
def initialize(line_no, char_no, op); end
|
2327
|
+
|
2328
|
+
def op; end
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOR < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2332
|
+
|
2333
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOROP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2334
|
+
class << self
|
2335
|
+
def op_name; end
|
2336
|
+
end
|
2337
|
+
end
|
2338
|
+
|
2339
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkOp < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2340
|
+
def name; end
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2344
|
+
class << self
|
2345
|
+
def op_name; end
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2349
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkPOW < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2350
|
+
class << self
|
2351
|
+
def op_name; end
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkQUESTION < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2356
|
+
class << self
|
2357
|
+
def op_name; end
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACE < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2362
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRBRACK < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2363
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkREDO < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2364
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkREGEXP < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2365
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRESCUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2366
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRETRY < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2367
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRETURN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2368
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRPAREN < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2369
|
+
|
2370
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkRSHFT < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2371
|
+
class << self
|
2372
|
+
def op_name; end
|
2373
|
+
end
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TkReading2Token = T.let(T.unsafe(nil), Hash)
|
2377
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSELF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2378
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSEMICOLON < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2379
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSPACE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace; end
|
2380
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSTAR < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2381
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2382
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSUPER < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2383
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBEG < ::YARD::Parser::Ruby::Legacy::RubyToken::TkId; end
|
2384
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkSYMBOL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2385
|
+
|
2386
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkStatementEnd < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2387
|
+
def text; end
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TkSymbol2Token = T.let(T.unsafe(nil), Hash)
|
2391
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkTHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2392
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkTRUE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2393
|
+
|
2394
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUMINUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2395
|
+
class << self
|
2396
|
+
def op_name; end
|
2397
|
+
end
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNDEF < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2401
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2402
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNLESS_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2403
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2404
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUNTIL_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2405
|
+
|
2406
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUPLUS < ::YARD::Parser::Ruby::Legacy::RubyToken::TkOp
|
2407
|
+
class << self
|
2408
|
+
def op_name; end
|
2409
|
+
end
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkUnknownChar < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2413
|
+
def initialize(line_no, char_no, _id); end
|
2414
|
+
|
2415
|
+
def name; end
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkVal < ::YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2419
|
+
def initialize(line_no, char_no, value = T.unsafe(nil)); end
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHEN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2423
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2424
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWHILE_MOD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2425
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkWhitespace < ::YARD::Parser::Ruby::Legacy::RubyToken::Token; end
|
2426
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkXSTRING < ::YARD::Parser::Ruby::Legacy::RubyToken::TkVal; end
|
2427
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TkYIELD < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2428
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Tk__FILE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2429
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Tk__LINE__ < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2430
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TklBEGIN < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2431
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::TklEND < ::YARD::Parser::Ruby::Legacy::RubyToken::TkKW; end
|
2432
|
+
|
2433
|
+
class YARD::Parser::Ruby::Legacy::RubyToken::Token
|
2434
|
+
def initialize(line_no, char_no); end
|
2435
|
+
|
2436
|
+
def char_no; end
|
2437
|
+
def lex_state; end
|
2438
|
+
def lex_state=(_arg0); end
|
2439
|
+
def line_no; end
|
2440
|
+
def set_text(text); end
|
2441
|
+
def text; end
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
YARD::Parser::Ruby::Legacy::RubyToken::Token::NO_TEXT = T.let(T.unsafe(nil), String)
|
2445
|
+
YARD::Parser::Ruby::Legacy::RubyToken::TokenDefinitions = T.let(T.unsafe(nil), Array)
|
2446
|
+
|
2447
|
+
class YARD::Parser::Ruby::Legacy::Statement
|
2448
|
+
def initialize(tokens, block = T.unsafe(nil), comments = T.unsafe(nil)); end
|
2449
|
+
|
2450
|
+
def block; end
|
2451
|
+
def comments; end
|
2452
|
+
def comments_hash_flag; end
|
2453
|
+
def comments_hash_flag=(_arg0); end
|
2454
|
+
def comments_range; end
|
2455
|
+
def comments_range=(_arg0); end
|
2456
|
+
def first_line; end
|
2457
|
+
def group; end
|
2458
|
+
def group=(_arg0); end
|
2459
|
+
def inspect; end
|
2460
|
+
def line; end
|
2461
|
+
def line_range; end
|
2462
|
+
def show; end
|
2463
|
+
def signature; end
|
2464
|
+
def source(include_block = T.unsafe(nil)); end
|
2465
|
+
def to_s(include_block = T.unsafe(nil)); end
|
2466
|
+
def tokens; end
|
2467
|
+
|
2468
|
+
private
|
2469
|
+
|
2470
|
+
def clean_tokens(tokens); end
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
class YARD::Parser::Ruby::Legacy::StatementList < ::Array
|
2474
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
2475
|
+
|
2476
|
+
def initialize(content); end
|
2477
|
+
|
2478
|
+
def encoding_line; end
|
2479
|
+
def encoding_line=(_arg0); end
|
2480
|
+
def shebang_line; end
|
2481
|
+
def shebang_line=(_arg0); end
|
2482
|
+
|
2483
|
+
private
|
2484
|
+
|
2485
|
+
def balances?(tk); end
|
2486
|
+
def next_statement; end
|
2487
|
+
def parse_statements; end
|
2488
|
+
def peek_no_space; end
|
2489
|
+
def process_block_token(tk); end
|
2490
|
+
def process_complex_block_opener(tk); end
|
2491
|
+
def process_initial_comment(tk); end
|
2492
|
+
def process_simple_block_opener(tk); end
|
2493
|
+
def process_statement_end(tk); end
|
2494
|
+
def process_token(tk); end
|
2495
|
+
def push_token(tk); end
|
2496
|
+
def sanitize_block; end
|
2497
|
+
def sanitize_statement_end; end
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
YARD::Parser::Ruby::Legacy::StatementList::OPEN_BLOCK_TOKENS = T.let(T.unsafe(nil), Array)
|
2501
|
+
|
2502
|
+
class YARD::Parser::Ruby::Legacy::TokenList < ::Array
|
2503
|
+
include ::YARD::Parser::Ruby::Legacy::RubyToken
|
2504
|
+
|
2505
|
+
def initialize(content = T.unsafe(nil)); end
|
2506
|
+
|
2507
|
+
def <<(*tokens); end
|
2508
|
+
def push(*tokens); end
|
2509
|
+
def squeeze(type = T.unsafe(nil)); end
|
2510
|
+
def to_s(full_statement = T.unsafe(nil), show_block = T.unsafe(nil)); end
|
2511
|
+
|
2512
|
+
private
|
2513
|
+
|
2514
|
+
def convert_token(lex, tk); end
|
2515
|
+
def parse_content(content); end
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
class YARD::Parser::Ruby::LiteralNode < ::YARD::Parser::Ruby::AstNode
|
2519
|
+
def literal?; end
|
2520
|
+
end
|
2521
|
+
|
2522
|
+
class YARD::Parser::Ruby::LoopNode < ::YARD::Parser::Ruby::KeywordNode
|
2523
|
+
def block; end
|
2524
|
+
def condition; end
|
2525
|
+
def loop?; end
|
2526
|
+
end
|
2527
|
+
|
2528
|
+
class YARD::Parser::Ruby::MethodCallNode < ::YARD::Parser::Ruby::AstNode
|
2529
|
+
def block; end
|
2530
|
+
def block_param; end
|
2531
|
+
def call?; end
|
2532
|
+
def method_name(name_only = T.unsafe(nil)); end
|
2533
|
+
def namespace; end
|
2534
|
+
def parameters(include_block_param = T.unsafe(nil)); end
|
2535
|
+
|
2536
|
+
private
|
2537
|
+
|
2538
|
+
def call_has_paren?; end
|
2539
|
+
def index_adjust; end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
class YARD::Parser::Ruby::MethodDefinitionNode < ::YARD::Parser::Ruby::AstNode
|
2543
|
+
def block(*_arg0); end
|
2544
|
+
def def?; end
|
2545
|
+
def kw?; end
|
2546
|
+
def method_name(name_only = T.unsafe(nil)); end
|
2547
|
+
def namespace; end
|
2548
|
+
def parameters(include_block_param = T.unsafe(nil)); end
|
2549
|
+
def signature; end
|
2550
|
+
|
2551
|
+
private
|
2552
|
+
|
2553
|
+
def index_adjust; end
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
class YARD::Parser::Ruby::ModuleNode < ::YARD::Parser::Ruby::KeywordNode
|
2557
|
+
def block; end
|
2558
|
+
def module_name; end
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
class YARD::Parser::Ruby::ParameterNode < ::YARD::Parser::Ruby::AstNode
|
2562
|
+
def block_param; end
|
2563
|
+
def double_splat_param; end
|
2564
|
+
def named_params; end
|
2565
|
+
def splat_param; end
|
2566
|
+
def unnamed_end_params; end
|
2567
|
+
def unnamed_optional_params; end
|
2568
|
+
def unnamed_required_params; end
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
class YARD::Parser::Ruby::ReferenceNode < ::YARD::Parser::Ruby::AstNode
|
2572
|
+
def namespace; end
|
2573
|
+
def path; end
|
2574
|
+
def ref?; end
|
2575
|
+
end
|
2576
|
+
|
2577
|
+
class YARD::Parser::Ruby::RipperParser < ::Ripper
|
2578
|
+
def initialize(source, filename, *args); end
|
2579
|
+
|
2580
|
+
def ast; end
|
2581
|
+
def charno; end
|
2582
|
+
def comments; end
|
2583
|
+
def encoding_line; end
|
2584
|
+
def enumerator; end
|
2585
|
+
def file; end
|
2586
|
+
def file_encoding; end
|
2587
|
+
def frozen_string_line; end
|
2588
|
+
def on_BEGIN(*args); end
|
2589
|
+
def on_CHAR(tok); end
|
2590
|
+
def on_END(*args); end
|
2591
|
+
def on___end__(tok); end
|
2592
|
+
def on_alias(*args); end
|
2593
|
+
def on_alias_error(*args); end
|
2594
|
+
def on_arg_ambiguous(*args); end
|
2595
|
+
def on_arg_paren(*args); end
|
2596
|
+
def on_args_add(list, item); end
|
2597
|
+
def on_args_add_block(list, item); end
|
2598
|
+
def on_args_add_star(list, item); end
|
2599
|
+
def on_args_forward(*args); end
|
2600
|
+
def on_args_new(*args); end
|
2601
|
+
def on_aryptn(*args); end
|
2602
|
+
def on_assign(*args); end
|
2603
|
+
def on_assign_error(*args); end
|
2604
|
+
def on_assoc_splat(*args); end
|
2605
|
+
def on_backref(tok); end
|
2606
|
+
def on_backtick(tok); end
|
2607
|
+
def on_begin(*args); end
|
2608
|
+
def on_binary(*args); end
|
2609
|
+
def on_block_var(*args); end
|
2610
|
+
def on_blockarg(*args); end
|
2611
|
+
def on_brace_block(*args); end
|
2612
|
+
def on_break(*args); end
|
2613
|
+
def on_call(*args); end
|
2614
|
+
def on_case(*args); end
|
2615
|
+
def on_class(*args); end
|
2616
|
+
def on_class_name_error(*args); end
|
2617
|
+
def on_comma(tok); end
|
2618
|
+
def on_command(*args); end
|
2619
|
+
def on_command_call(*args); end
|
2620
|
+
def on_const(tok); end
|
2621
|
+
def on_const_path_field(*args); end
|
2622
|
+
def on_const_ref(*args); end
|
2623
|
+
def on_cvar(tok); end
|
2624
|
+
def on_def(*args); end
|
2625
|
+
def on_defined(*args); end
|
2626
|
+
def on_defs(*args); end
|
2627
|
+
def on_do_block(*args); end
|
2628
|
+
def on_dot2(*args); end
|
2629
|
+
def on_dot3(*args); end
|
2630
|
+
def on_else(*args); end
|
2631
|
+
def on_elsif(*args); end
|
2632
|
+
def on_embexpr_beg(tok); end
|
2633
|
+
def on_embexpr_end(tok); end
|
2634
|
+
def on_embvar(tok); end
|
2635
|
+
def on_ensure(*args); end
|
2636
|
+
def on_excessed_comma(*args); end
|
2637
|
+
def on_fcall(*args); end
|
2638
|
+
def on_field(*args); end
|
2639
|
+
def on_float(tok); end
|
2640
|
+
def on_for(*args); end
|
2641
|
+
def on_gvar(tok); end
|
2642
|
+
def on_heredoc_beg(tok); end
|
2643
|
+
def on_heredoc_dedent(*args); end
|
2644
|
+
def on_heredoc_end(tok); end
|
2645
|
+
def on_hshptn(*args); end
|
2646
|
+
def on_ident(tok); end
|
2647
|
+
def on_if(*args); end
|
2648
|
+
def on_if_mod(*args); end
|
2649
|
+
def on_ifop(*args); end
|
2650
|
+
def on_ignored_nl(tok); end
|
2651
|
+
def on_ignored_sp(tok); end
|
2652
|
+
def on_imaginary(tok); end
|
2653
|
+
def on_in(*args); end
|
2654
|
+
def on_int(tok); end
|
2655
|
+
def on_ivar(tok); end
|
2656
|
+
def on_kw(tok); end
|
2657
|
+
def on_kwrest_param(*args); end
|
2658
|
+
def on_label_end(tok); end
|
2659
|
+
def on_lbrace(tok); end
|
2660
|
+
def on_lparen(tok); end
|
2661
|
+
def on_magic_comment(*args); end
|
2662
|
+
def on_massign(*args); end
|
2663
|
+
def on_method_add_arg(list, item); end
|
2664
|
+
def on_method_add_block(list, item); end
|
2665
|
+
def on_mlhs_add(list, item); end
|
2666
|
+
def on_mlhs_add_post(list, item); end
|
2667
|
+
def on_mlhs_add_star(list, item); end
|
2668
|
+
def on_mlhs_new(*args); end
|
2669
|
+
def on_mlhs_paren(*args); end
|
2670
|
+
def on_module(*args); end
|
2671
|
+
def on_mrhs_add(list, item); end
|
2672
|
+
def on_mrhs_add_star(list, item); end
|
2673
|
+
def on_mrhs_new(*args); end
|
2674
|
+
def on_mrhs_new_from_args(*args); end
|
2675
|
+
def on_next(*args); end
|
2676
|
+
def on_nl(tok); end
|
2677
|
+
def on_nokw_param(*args); end
|
2678
|
+
def on_op(tok); end
|
2679
|
+
def on_opassign(*args); end
|
2680
|
+
def on_operator_ambiguous(*args); end
|
2681
|
+
def on_param_error(*args); end
|
2682
|
+
def on_paren(*args); end
|
2683
|
+
def on_period(tok); end
|
2684
|
+
def on_qsymbols_add(list, item); end
|
2685
|
+
def on_qsymbols_beg(tok); end
|
2686
|
+
def on_qsymbols_new(*args); end
|
2687
|
+
def on_qwords_add(list, item); end
|
2688
|
+
def on_qwords_beg(tok); end
|
2689
|
+
def on_qwords_new(*args); end
|
2690
|
+
def on_rational(tok); end
|
2691
|
+
def on_rbrace(tok); end
|
2692
|
+
def on_redo(*args); end
|
2693
|
+
def on_regexp_add(list, item); end
|
2694
|
+
def on_regexp_beg(tok); end
|
2695
|
+
def on_regexp_end(tok); end
|
2696
|
+
def on_regexp_literal(*args); end
|
2697
|
+
def on_regexp_new(*args); end
|
2698
|
+
def on_rescue_mod(*args); end
|
2699
|
+
def on_rest_param(*args); end
|
2700
|
+
def on_retry(*args); end
|
2701
|
+
def on_return(*args); end
|
2702
|
+
def on_return0(*args); end
|
2703
|
+
def on_rparen(tok); end
|
2704
|
+
def on_sclass(*args); end
|
2705
|
+
def on_semicolon(tok); end
|
2706
|
+
def on_stmts_add(list, item); end
|
2707
|
+
def on_stmts_new(*args); end
|
2708
|
+
def on_string_add(list, item); end
|
2709
|
+
def on_string_concat(*args); end
|
2710
|
+
def on_string_dvar(*args); end
|
2711
|
+
def on_string_embexpr(*args); end
|
2712
|
+
def on_super(*args); end
|
2713
|
+
def on_symbeg(tok); end
|
2714
|
+
def on_symbol(*args); end
|
2715
|
+
def on_symbol_literal(*args); end
|
2716
|
+
def on_symbols_add(list, item); end
|
2717
|
+
def on_symbols_beg(tok); end
|
2718
|
+
def on_symbols_new(*args); end
|
2719
|
+
def on_tlambda(tok); end
|
2720
|
+
def on_tlambeg(tok); end
|
2721
|
+
def on_top_const_field(*args); end
|
2722
|
+
def on_tstring_beg(tok); end
|
2723
|
+
def on_tstring_content(tok); end
|
2724
|
+
def on_tstring_end(tok); end
|
2725
|
+
def on_undef(*args); end
|
2726
|
+
def on_unless(*args); end
|
2727
|
+
def on_unless_mod(*args); end
|
2728
|
+
def on_until(*args); end
|
2729
|
+
def on_until_mod(*args); end
|
2730
|
+
def on_var_alias(*args); end
|
2731
|
+
def on_var_field(*args); end
|
2732
|
+
def on_var_ref(*args); end
|
2733
|
+
def on_vcall(*args); end
|
2734
|
+
def on_when(*args); end
|
2735
|
+
def on_while(*args); end
|
2736
|
+
def on_while_mod(*args); end
|
2737
|
+
def on_word_add(list, item); end
|
2738
|
+
def on_word_new(*args); end
|
2739
|
+
def on_words_add(list, item); end
|
2740
|
+
def on_words_beg(tok); end
|
2741
|
+
def on_words_new(*args); end
|
2742
|
+
def on_words_sep(tok); end
|
2743
|
+
def on_xstring_add(list, item); end
|
2744
|
+
def on_xstring_literal(*args); end
|
2745
|
+
def on_xstring_new(*args); end
|
2746
|
+
def on_yield(*args); end
|
2747
|
+
def on_yield0(*args); end
|
2748
|
+
def on_zsuper(*args); end
|
2749
|
+
def parse; end
|
2750
|
+
def root; end
|
2751
|
+
def shebang_line; end
|
2752
|
+
def tokens; end
|
2753
|
+
|
2754
|
+
private
|
2755
|
+
|
2756
|
+
def add_comment(line, node = T.unsafe(nil), before_node = T.unsafe(nil), into = T.unsafe(nil)); end
|
2757
|
+
def add_token(token, data); end
|
2758
|
+
def comment_starts_line?(charno); end
|
2759
|
+
def compile_error(msg); end
|
2760
|
+
def freeze_tree(node = T.unsafe(nil)); end
|
2761
|
+
def insert_comments; end
|
2762
|
+
def on_aref(*args); end
|
2763
|
+
def on_aref_field(*args); end
|
2764
|
+
def on_array(other); end
|
2765
|
+
def on_assoc_new(*args); end
|
2766
|
+
def on_assoclist_from_args(*args); end
|
2767
|
+
def on_bare_assoc_hash(*args); end
|
2768
|
+
def on_body_stmt(*args); end
|
2769
|
+
def on_bodystmt(*args); end
|
2770
|
+
def on_comment(comment); end
|
2771
|
+
def on_const_path_ref(*args); end
|
2772
|
+
def on_dyna_symbol(sym); end
|
2773
|
+
def on_embdoc(text); end
|
2774
|
+
def on_embdoc_beg(text); end
|
2775
|
+
def on_embdoc_end(text); end
|
2776
|
+
def on_hash(*args); end
|
2777
|
+
def on_label(data); end
|
2778
|
+
def on_lambda(*args); end
|
2779
|
+
def on_lbracket(tok); end
|
2780
|
+
def on_params(*args); end
|
2781
|
+
def on_parse_error(msg); end
|
2782
|
+
def on_program(*args); end
|
2783
|
+
def on_rbracket(tok); end
|
2784
|
+
def on_rescue(exc, *args); end
|
2785
|
+
def on_sp(tok); end
|
2786
|
+
def on_string_content(*args); end
|
2787
|
+
def on_string_literal(*args); end
|
2788
|
+
def on_top_const_ref(*args); end
|
2789
|
+
def on_unary(op, val); end
|
2790
|
+
def on_void_stmt; end
|
2791
|
+
def visit_event(node); end
|
2792
|
+
def visit_event_arr(node); end
|
2793
|
+
def visit_ns_token(token, data, ast_token = T.unsafe(nil)); end
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
YARD::Parser::Ruby::RipperParser::AST_TOKENS = T.let(T.unsafe(nil), Array)
|
2797
|
+
YARD::Parser::Ruby::RipperParser::MAPPINGS = T.let(T.unsafe(nil), Hash)
|
2798
|
+
YARD::Parser::Ruby::RipperParser::REV_MAPPINGS = T.let(T.unsafe(nil), Hash)
|
2799
|
+
|
2800
|
+
class YARD::Parser::Ruby::RubyParser < ::YARD::Parser::Base
|
2801
|
+
def initialize(source, filename); end
|
2802
|
+
|
2803
|
+
def encoding_line; end
|
2804
|
+
def enumerator; end
|
2805
|
+
def frozen_string_line; end
|
2806
|
+
def parse; end
|
2807
|
+
def shebang_line; end
|
2808
|
+
def tokenize; end
|
2809
|
+
end
|
2810
|
+
|
2811
|
+
class YARD::Parser::Ruby::TokenResolver
|
2812
|
+
include ::Enumerable
|
2813
|
+
include ::YARD::CodeObjects::NamespaceMapper
|
2814
|
+
|
2815
|
+
def initialize(source, namespace = T.unsafe(nil)); end
|
2816
|
+
|
2817
|
+
def each; end
|
2818
|
+
|
2819
|
+
protected
|
2820
|
+
|
2821
|
+
def last_sep; end
|
2822
|
+
def last_sep=(v); end
|
2823
|
+
def next_object; end
|
2824
|
+
def next_object=(v); end
|
2825
|
+
def object; end
|
2826
|
+
def object=(v); end
|
2827
|
+
def skip_group; end
|
2828
|
+
def skip_group=(v); end
|
2829
|
+
|
2830
|
+
private
|
2831
|
+
|
2832
|
+
def lookup(toktype, name); end
|
2833
|
+
def object_resolved_types(obj = T.unsafe(nil)); end
|
2834
|
+
def pop_state; end
|
2835
|
+
def push_state; end
|
2836
|
+
|
2837
|
+
class << self
|
2838
|
+
def state_attr(*attrs); end
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
class YARD::Parser::SourceParser
|
2843
|
+
def initialize(parser_type = T.unsafe(nil), globals1 = T.unsafe(nil), globals2 = T.unsafe(nil)); end
|
2844
|
+
|
2845
|
+
def contents; end
|
2846
|
+
def file; end
|
2847
|
+
def file=(_arg0); end
|
2848
|
+
def globals; end
|
2849
|
+
def parse(content = T.unsafe(nil)); end
|
2850
|
+
def parser_type; end
|
2851
|
+
def tokenize(content); end
|
2852
|
+
|
2853
|
+
private
|
2854
|
+
|
2855
|
+
def convert_encoding(content); end
|
2856
|
+
def parser_class; end
|
2857
|
+
def parser_type=(value); end
|
2858
|
+
def parser_type_for_filename(filename); end
|
2859
|
+
def post_process; end
|
2860
|
+
|
2861
|
+
class << self
|
2862
|
+
def after_parse_file(&block); end
|
2863
|
+
def after_parse_file_callbacks; end
|
2864
|
+
def after_parse_list(&block); end
|
2865
|
+
def after_parse_list_callbacks; end
|
2866
|
+
def before_parse_file(&block); end
|
2867
|
+
def before_parse_file_callbacks; end
|
2868
|
+
def before_parse_list(&block); end
|
2869
|
+
def before_parse_list_callbacks; end
|
2870
|
+
def parse(paths = T.unsafe(nil), excluded = T.unsafe(nil), level = T.unsafe(nil)); end
|
2871
|
+
def parse_string(content, ptype = T.unsafe(nil)); end
|
2872
|
+
def parser_type; end
|
2873
|
+
def parser_type=(value); end
|
2874
|
+
def parser_type_extensions; end
|
2875
|
+
def parser_type_extensions=(value); end
|
2876
|
+
def parser_type_for_extension(extension); end
|
2877
|
+
def parser_types; end
|
2878
|
+
def parser_types=(value); end
|
2879
|
+
def register_parser_type(type, parser_klass, extensions = T.unsafe(nil)); end
|
2880
|
+
def tokenize(content, ptype = T.unsafe(nil)); end
|
2881
|
+
def validated_parser_type(type); end
|
2882
|
+
|
2883
|
+
private
|
2884
|
+
|
2885
|
+
def parse_in_order(*files); end
|
2886
|
+
end
|
2887
|
+
end
|
2888
|
+
|
2889
|
+
YARD::Parser::SourceParser::DEFAULT_PATH_GLOB = T.let(T.unsafe(nil), Array)
|
2890
|
+
YARD::Parser::SourceParser::ENCODING_BYTE_ORDER_MARKS = T.let(T.unsafe(nil), Hash)
|
2891
|
+
YARD::Parser::SourceParser::ENCODING_LINE = T.let(T.unsafe(nil), Regexp)
|
2892
|
+
YARD::Parser::SourceParser::FROZEN_STRING_LINE = T.let(T.unsafe(nil), Regexp)
|
2893
|
+
YARD::Parser::SourceParser::SHEBANG_LINE = T.let(T.unsafe(nil), Regexp)
|
2894
|
+
class YARD::Parser::UndocumentableError < ::RuntimeError; end
|
2895
|
+
YARD::ROOT = T.let(T.unsafe(nil), String)
|
2896
|
+
module YARD::Rake; end
|
2897
|
+
|
2898
|
+
class YARD::Rake::YardocTask < ::Rake::TaskLib
|
2899
|
+
def initialize(name = T.unsafe(nil)); end
|
2900
|
+
|
2901
|
+
def after; end
|
2902
|
+
def after=(_arg0); end
|
2903
|
+
def before; end
|
2904
|
+
def before=(_arg0); end
|
2905
|
+
def files; end
|
2906
|
+
def files=(_arg0); end
|
2907
|
+
def name; end
|
2908
|
+
def name=(_arg0); end
|
2909
|
+
def options; end
|
2910
|
+
def options=(_arg0); end
|
2911
|
+
def stats_options; end
|
2912
|
+
def stats_options=(_arg0); end
|
2913
|
+
def verifier; end
|
2914
|
+
def verifier=(_arg0); end
|
2915
|
+
|
2916
|
+
protected
|
2917
|
+
|
2918
|
+
def define; end
|
2919
|
+
end
|
2920
|
+
|
2921
|
+
module YARD::Registry
|
2922
|
+
extend ::Enumerable
|
2923
|
+
|
2924
|
+
class << self
|
2925
|
+
def [](path); end
|
2926
|
+
def all(*types); end
|
2927
|
+
def at(path); end
|
2928
|
+
def checksum_for(data); end
|
2929
|
+
def checksums; end
|
2930
|
+
def clear; end
|
2931
|
+
def delete(object); end
|
2932
|
+
def delete_from_disk; end
|
2933
|
+
def each(&block); end
|
2934
|
+
def instance; end
|
2935
|
+
def load(files = T.unsafe(nil), reparse = T.unsafe(nil)); end
|
2936
|
+
def load!(file = T.unsafe(nil)); end
|
2937
|
+
def load_all; end
|
2938
|
+
def load_yardoc(file = T.unsafe(nil)); end
|
2939
|
+
def locale(name); end
|
2940
|
+
def lock_for_writing(file = T.unsafe(nil), &block); end
|
2941
|
+
def locked_for_writing?(file = T.unsafe(nil)); end
|
2942
|
+
def paths(reload = T.unsafe(nil)); end
|
2943
|
+
def po_dir; end
|
2944
|
+
def po_dir=(dir); end
|
2945
|
+
def proxy_types; end
|
2946
|
+
def register(object); end
|
2947
|
+
def resolve(namespace, name, inheritance = T.unsafe(nil), proxy_fallback = T.unsafe(nil), type = T.unsafe(nil)); end
|
2948
|
+
def root; end
|
2949
|
+
def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end
|
2950
|
+
def single_object_db; end
|
2951
|
+
def single_object_db=(v); end
|
2952
|
+
def yardoc_file; end
|
2953
|
+
def yardoc_file=(v); end
|
2954
|
+
def yardoc_file_for_gem(gem, ver_require = T.unsafe(nil), for_writing = T.unsafe(nil)); end
|
2955
|
+
|
2956
|
+
private
|
2957
|
+
|
2958
|
+
def global_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2959
|
+
def local_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2960
|
+
def old_global_yardoc_file(spec, for_writing = T.unsafe(nil)); end
|
2961
|
+
def partial_resolve(namespace, name, type = T.unsafe(nil)); end
|
2962
|
+
def thread_local_resolver; end
|
2963
|
+
def thread_local_store; end
|
2964
|
+
def thread_local_store=(value); end
|
2965
|
+
end
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
YARD::Registry::DEFAULT_PO_DIR = T.let(T.unsafe(nil), String)
|
2969
|
+
YARD::Registry::DEFAULT_YARDOC_FILE = T.let(T.unsafe(nil), String)
|
2970
|
+
YARD::Registry::LOCAL_YARDOC_INDEX = T.let(T.unsafe(nil), String)
|
2971
|
+
|
2972
|
+
class YARD::RegistryResolver
|
2973
|
+
include ::YARD::CodeObjects::NamespaceMapper
|
2974
|
+
|
2975
|
+
def initialize(registry = T.unsafe(nil)); end
|
2976
|
+
|
2977
|
+
def lookup_by_path(path, opts = T.unsafe(nil)); end
|
2978
|
+
|
2979
|
+
private
|
2980
|
+
|
2981
|
+
def collect_namespaces(object); end
|
2982
|
+
def lookup_path_direct(namespace, path, type); end
|
2983
|
+
def lookup_path_inherited(namespace, path, type); end
|
2984
|
+
def split_on_separators_match; end
|
2985
|
+
def starts_with_default_separator_match; end
|
2986
|
+
def starts_with_separator_match; end
|
2987
|
+
def validate(obj, type); end
|
2988
|
+
end
|
2989
|
+
|
2990
|
+
class YARD::RegistryStore
|
2991
|
+
def initialize; end
|
2992
|
+
|
2993
|
+
def [](key); end
|
2994
|
+
def []=(key, value); end
|
2995
|
+
def checksums; end
|
2996
|
+
def delete(key); end
|
2997
|
+
def destroy(force = T.unsafe(nil)); end
|
2998
|
+
def file; end
|
2999
|
+
def get(key); end
|
3000
|
+
def keys(reload = T.unsafe(nil)); end
|
3001
|
+
def load(file = T.unsafe(nil)); end
|
3002
|
+
def load!(file = T.unsafe(nil)); end
|
3003
|
+
def load_all; end
|
3004
|
+
def locale(name); end
|
3005
|
+
def lock_for_writing(file = T.unsafe(nil), &block); end
|
3006
|
+
def locked_for_writing?(file = T.unsafe(nil)); end
|
3007
|
+
def paths_for_type(type, reload = T.unsafe(nil)); end
|
3008
|
+
def proxy_types; end
|
3009
|
+
def put(key, value); end
|
3010
|
+
def root; end
|
3011
|
+
def save(merge = T.unsafe(nil), file = T.unsafe(nil)); end
|
3012
|
+
def values(reload = T.unsafe(nil)); end
|
3013
|
+
def values_for_type(type, reload = T.unsafe(nil)); end
|
3014
|
+
|
3015
|
+
protected
|
3016
|
+
|
3017
|
+
def checksums_path; end
|
3018
|
+
def load_yardoc; end
|
3019
|
+
def object_types_path; end
|
3020
|
+
def objects_path; end
|
3021
|
+
def proxy_types_path; end
|
3022
|
+
|
3023
|
+
private
|
3024
|
+
|
3025
|
+
def all_disk_objects; end
|
3026
|
+
def load_checksums; end
|
3027
|
+
def load_locale(name); end
|
3028
|
+
def load_object_types; end
|
3029
|
+
def load_proxy_types; end
|
3030
|
+
def load_root; end
|
3031
|
+
def load_yardoc_old; end
|
3032
|
+
def write_checksums; end
|
3033
|
+
def write_complete_lock; end
|
3034
|
+
def write_object_types; end
|
3035
|
+
def write_proxy_types; end
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
module YARD::Serializers; end
|
3039
|
+
|
3040
|
+
class YARD::Serializers::Base
|
3041
|
+
def initialize(opts = T.unsafe(nil)); end
|
3042
|
+
|
3043
|
+
def after_serialize(data); end
|
3044
|
+
def before_serialize; end
|
3045
|
+
def exists?(object); end
|
3046
|
+
def options; end
|
3047
|
+
def serialize(object, data); end
|
3048
|
+
def serialized_path(object); end
|
3049
|
+
end
|
3050
|
+
|
3051
|
+
class YARD::Serializers::FileSystemSerializer < ::YARD::Serializers::Base
|
3052
|
+
def initialize(opts = T.unsafe(nil)); end
|
3053
|
+
|
3054
|
+
def basepath; end
|
3055
|
+
def basepath=(value); end
|
3056
|
+
def exists?(object); end
|
3057
|
+
def extension; end
|
3058
|
+
def extension=(value); end
|
3059
|
+
def serialize(object, data); end
|
3060
|
+
def serialized_path(object); end
|
3061
|
+
|
3062
|
+
private
|
3063
|
+
|
3064
|
+
def build_filename_map; end
|
3065
|
+
def encode_path_components(*components); end
|
3066
|
+
def mapped_name(object); end
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
class YARD::Serializers::ProcessSerializer < ::YARD::Serializers::Base
|
3070
|
+
def initialize(cmd); end
|
3071
|
+
|
3072
|
+
def serialize(_object, data); end
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
class YARD::Serializers::StdoutSerializer < ::YARD::Serializers::Base
|
3076
|
+
def initialize(wrap = T.unsafe(nil)); end
|
3077
|
+
|
3078
|
+
def serialize(_object, data); end
|
3079
|
+
|
3080
|
+
private
|
3081
|
+
|
3082
|
+
def word_wrap(text, _length = T.unsafe(nil)); end
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
class YARD::Serializers::YardocSerializer < ::YARD::Serializers::FileSystemSerializer
|
3086
|
+
def initialize(yfile); end
|
3087
|
+
|
3088
|
+
def checksums_path; end
|
3089
|
+
def complete?; end
|
3090
|
+
def complete_lock_path; end
|
3091
|
+
def deserialize(path, is_path = T.unsafe(nil)); end
|
3092
|
+
def lock_for_writing; end
|
3093
|
+
def locked_for_writing?; end
|
3094
|
+
def object_types_path; end
|
3095
|
+
def objects_path; end
|
3096
|
+
def processing_path; end
|
3097
|
+
def proxy_types_path; end
|
3098
|
+
def serialize(object); end
|
3099
|
+
def serialized_path(object); end
|
3100
|
+
|
3101
|
+
private
|
3102
|
+
|
3103
|
+
def dump(object); end
|
3104
|
+
def internal_dump(object, first_object = T.unsafe(nil)); end
|
3105
|
+
end
|
3106
|
+
|
3107
|
+
module YARD::Server
|
3108
|
+
class << self
|
3109
|
+
def register_static_path(path); end
|
3110
|
+
end
|
3111
|
+
end
|
3112
|
+
|
3113
|
+
class YARD::Server::Adapter
|
3114
|
+
def initialize(libs, opts = T.unsafe(nil), server_opts = T.unsafe(nil)); end
|
3115
|
+
|
3116
|
+
def add_library(library); end
|
3117
|
+
def document_root; end
|
3118
|
+
def document_root=(_arg0); end
|
3119
|
+
def libraries; end
|
3120
|
+
def libraries=(_arg0); end
|
3121
|
+
def options; end
|
3122
|
+
def options=(_arg0); end
|
3123
|
+
def router; end
|
3124
|
+
def router=(_arg0); end
|
3125
|
+
def server_options; end
|
3126
|
+
def server_options=(_arg0); end
|
3127
|
+
def start; end
|
3128
|
+
|
3129
|
+
class << self
|
3130
|
+
def setup; end
|
3131
|
+
def shutdown; end
|
3132
|
+
end
|
3133
|
+
end
|
3134
|
+
|
3135
|
+
module YARD::Server::Commands; end
|
3136
|
+
|
3137
|
+
class YARD::Server::Commands::Base
|
3138
|
+
def initialize(opts = T.unsafe(nil)); end
|
3139
|
+
|
3140
|
+
def adapter; end
|
3141
|
+
def adapter=(_arg0); end
|
3142
|
+
def body; end
|
3143
|
+
def body=(_arg0); end
|
3144
|
+
def caching; end
|
3145
|
+
def caching=(_arg0); end
|
3146
|
+
def call(request); end
|
3147
|
+
def command_options; end
|
3148
|
+
def command_options=(_arg0); end
|
3149
|
+
def headers; end
|
3150
|
+
def headers=(_arg0); end
|
3151
|
+
def path; end
|
3152
|
+
def path=(_arg0); end
|
3153
|
+
def request; end
|
3154
|
+
def request=(_arg0); end
|
3155
|
+
def run; end
|
3156
|
+
def status; end
|
3157
|
+
def status=(_arg0); end
|
3158
|
+
|
3159
|
+
protected
|
3160
|
+
|
3161
|
+
def cache(data); end
|
3162
|
+
def not_found; end
|
3163
|
+
def redirect(url); end
|
3164
|
+
def render(object = T.unsafe(nil)); end
|
3165
|
+
|
3166
|
+
private
|
3167
|
+
|
3168
|
+
def add_cache_control; end
|
3169
|
+
end
|
3170
|
+
|
3171
|
+
class YARD::Server::Commands::DisplayFileCommand < ::YARD::Server::Commands::LibraryCommand
|
3172
|
+
def index; end
|
3173
|
+
def index=(_arg0); end
|
3174
|
+
def run; end
|
3175
|
+
end
|
3176
|
+
|
3177
|
+
class YARD::Server::Commands::DisplayObjectCommand < ::YARD::Server::Commands::LibraryCommand
|
3178
|
+
include ::YARD::Server::DocServerHelper
|
3179
|
+
|
3180
|
+
def index; end
|
3181
|
+
def not_found; end
|
3182
|
+
def run; end
|
3183
|
+
|
3184
|
+
private
|
3185
|
+
|
3186
|
+
def object_path; end
|
3187
|
+
end
|
3188
|
+
|
3189
|
+
class YARD::Server::Commands::FramesCommand < ::YARD::Server::Commands::DisplayObjectCommand
|
3190
|
+
def run; end
|
3191
|
+
end
|
3192
|
+
|
3193
|
+
class YARD::Server::Commands::LibraryCommand < ::YARD::Server::Commands::Base
|
3194
|
+
def initialize(opts = T.unsafe(nil)); end
|
3195
|
+
|
3196
|
+
def call(request); end
|
3197
|
+
def incremental; end
|
3198
|
+
def incremental=(_arg0); end
|
3199
|
+
def library; end
|
3200
|
+
def library=(_arg0); end
|
3201
|
+
def options; end
|
3202
|
+
def options=(_arg0); end
|
3203
|
+
def serializer; end
|
3204
|
+
def serializer=(_arg0); end
|
3205
|
+
def single_library; end
|
3206
|
+
def single_library=(_arg0); end
|
3207
|
+
def use_fork; end
|
3208
|
+
def use_fork=(_arg0); end
|
3209
|
+
|
3210
|
+
private
|
3211
|
+
|
3212
|
+
def call_with_fork(request, &block); end
|
3213
|
+
def call_without_fork(request); end
|
3214
|
+
def can_fork?; end
|
3215
|
+
def fulldoc_template; end
|
3216
|
+
def load_yardoc; end
|
3217
|
+
def not_prepared; end
|
3218
|
+
def restore_template_info; end
|
3219
|
+
def save_default_template_info; end
|
3220
|
+
def setup_library; end
|
3221
|
+
def setup_yardopts; end
|
3222
|
+
end
|
3223
|
+
|
3224
|
+
YARD::Server::Commands::LibraryCommand::CAN_FORK = T.let(T.unsafe(nil), TrueClass)
|
3225
|
+
|
3226
|
+
class YARD::Server::Commands::LibraryIndexCommand < ::YARD::Server::Commands::Base
|
3227
|
+
def options; end
|
3228
|
+
def options=(_arg0); end
|
3229
|
+
def run; end
|
3230
|
+
end
|
3231
|
+
|
3232
|
+
class YARD::Server::Commands::LibraryIndexOptions < ::YARD::CLI::YardocOptions
|
3233
|
+
def adapter; end
|
3234
|
+
def adapter=(_arg0); end
|
3235
|
+
def libraries; end
|
3236
|
+
def libraries=(_arg0); end
|
3237
|
+
def serialize; end
|
3238
|
+
def serialize=(_arg0); end
|
3239
|
+
def template; end
|
3240
|
+
def template=(_arg0); end
|
3241
|
+
def type; end
|
3242
|
+
def type=(_arg0); end
|
3243
|
+
end
|
3244
|
+
|
3245
|
+
class YARD::Server::Commands::LibraryOptions < ::YARD::CLI::YardocOptions
|
3246
|
+
def adapter; end
|
3247
|
+
def command; end
|
3248
|
+
def command=(_arg0); end
|
3249
|
+
def each(&block); end
|
3250
|
+
def frames; end
|
3251
|
+
def frames=(_arg0); end
|
3252
|
+
def library; end
|
3253
|
+
def serialize; end
|
3254
|
+
def serializer; end
|
3255
|
+
def single_library; end
|
3256
|
+
end
|
3257
|
+
|
3258
|
+
class YARD::Server::Commands::ListCommand < ::YARD::Server::Commands::LibraryCommand
|
3259
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
3260
|
+
|
3261
|
+
def run; end
|
3262
|
+
end
|
3263
|
+
|
3264
|
+
class YARD::Server::Commands::RootRequestCommand < ::YARD::Server::Commands::Base
|
3265
|
+
include ::WEBrick::HTTPUtils
|
3266
|
+
include ::YARD::Server::Commands::StaticFileHelpers
|
3267
|
+
|
3268
|
+
def run; end
|
3269
|
+
end
|
3270
|
+
|
3271
|
+
class YARD::Server::Commands::SearchCommand < ::YARD::Server::Commands::LibraryCommand
|
3272
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
3273
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3274
|
+
include ::YARD::Server::DocServerHelper
|
3275
|
+
|
3276
|
+
def query; end
|
3277
|
+
def query=(_arg0); end
|
3278
|
+
def results; end
|
3279
|
+
def results=(_arg0); end
|
3280
|
+
def run; end
|
3281
|
+
def visible_results; end
|
3282
|
+
|
3283
|
+
private
|
3284
|
+
|
3285
|
+
def search_for_object; end
|
3286
|
+
def serve_normal; end
|
3287
|
+
def serve_xhr; end
|
3288
|
+
def url_for(object); end
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
class YARD::Server::Commands::StaticFileCommand < ::YARD::Server::Commands::LibraryCommand
|
3292
|
+
include ::WEBrick::HTTPUtils
|
3293
|
+
include ::YARD::Server::Commands::StaticFileHelpers
|
3294
|
+
|
3295
|
+
def run; end
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
YARD::Server::Commands::StaticFileCommand::STATIC_PATHS = T.let(T.unsafe(nil), Array)
|
3299
|
+
|
3300
|
+
module YARD::Server::Commands::StaticFileHelpers
|
3301
|
+
include ::WEBrick::HTTPUtils
|
3302
|
+
|
3303
|
+
def favicon?; end
|
3304
|
+
def static_template_file?; end
|
3305
|
+
|
3306
|
+
private
|
3307
|
+
|
3308
|
+
def find_file(adapter, url); end
|
3309
|
+
|
3310
|
+
class << self
|
3311
|
+
def find_file(adapter, url); end
|
3312
|
+
end
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
module YARD::Server::DocServerHelper
|
3316
|
+
def abs_url(*path_components); end
|
3317
|
+
def base_path(path); end
|
3318
|
+
def mtime(file); end
|
3319
|
+
def mtime_url(file); end
|
3320
|
+
def router; end
|
3321
|
+
def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3322
|
+
def url_for_file(filename, anchor = T.unsafe(nil)); end
|
3323
|
+
def url_for_frameset; end
|
3324
|
+
def url_for_index; end
|
3325
|
+
def url_for_list(type); end
|
3326
|
+
def url_for_main; end
|
3327
|
+
end
|
3328
|
+
|
3329
|
+
class YARD::Server::DocServerSerializer < ::YARD::Serializers::FileSystemSerializer
|
3330
|
+
def initialize(_command = T.unsafe(nil)); end
|
3331
|
+
|
3332
|
+
def serialized_path(object); end
|
3333
|
+
|
3334
|
+
private
|
3335
|
+
|
3336
|
+
def urlencode(name); end
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
class YARD::Server::FinishRequest < ::RuntimeError; end
|
3340
|
+
class YARD::Server::LibraryNotPreparedError < ::RuntimeError; end
|
3341
|
+
|
3342
|
+
class YARD::Server::LibraryVersion
|
3343
|
+
def initialize(name, version = T.unsafe(nil), yardoc = T.unsafe(nil), source = T.unsafe(nil)); end
|
3344
|
+
|
3345
|
+
def ==(other); end
|
3346
|
+
def eql?(other); end
|
3347
|
+
def equal?(other); end
|
3348
|
+
def gemspec; end
|
3349
|
+
def hash; end
|
3350
|
+
def name; end
|
3351
|
+
def name=(_arg0); end
|
3352
|
+
def prepare!; end
|
3353
|
+
def ready?; end
|
3354
|
+
def source; end
|
3355
|
+
def source=(_arg0); end
|
3356
|
+
def source_path; end
|
3357
|
+
def source_path=(_arg0); end
|
3358
|
+
def to_s(url_format = T.unsafe(nil)); end
|
3359
|
+
def version; end
|
3360
|
+
def version=(_arg0); end
|
3361
|
+
def yardoc_file; end
|
3362
|
+
def yardoc_file=(_arg0); end
|
3363
|
+
|
3364
|
+
protected
|
3365
|
+
|
3366
|
+
def load_yardoc_from_disk; end
|
3367
|
+
def load_yardoc_from_gem; end
|
3368
|
+
def source_path_for_disk; end
|
3369
|
+
def source_path_for_gem; end
|
3370
|
+
def yardoc_file_for_gem; end
|
3371
|
+
|
3372
|
+
private
|
3373
|
+
|
3374
|
+
def load_source_path; end
|
3375
|
+
def load_yardoc_file; end
|
3376
|
+
def serializer; end
|
3377
|
+
end
|
3378
|
+
|
3379
|
+
class YARD::Server::NotFoundError < ::RuntimeError; end
|
3380
|
+
|
3381
|
+
class YARD::Server::Router
|
3382
|
+
include ::YARD::Server::StaticCaching
|
3383
|
+
include ::YARD::Server::Commands
|
3384
|
+
|
3385
|
+
def initialize(adapter); end
|
3386
|
+
|
3387
|
+
def adapter; end
|
3388
|
+
def adapter=(_arg0); end
|
3389
|
+
def call(request); end
|
3390
|
+
def docs_prefix; end
|
3391
|
+
def list_prefix; end
|
3392
|
+
def parse_library_from_path(paths); end
|
3393
|
+
def request; end
|
3394
|
+
def request=(_arg0); end
|
3395
|
+
def search_prefix; end
|
3396
|
+
def static_prefix; end
|
3397
|
+
|
3398
|
+
protected
|
3399
|
+
|
3400
|
+
def final_options(library, paths); end
|
3401
|
+
def route(path = T.unsafe(nil)); end
|
3402
|
+
def route_docs(library, paths); end
|
3403
|
+
def route_index; end
|
3404
|
+
def route_list(library, paths); end
|
3405
|
+
def route_search(library, paths); end
|
3406
|
+
def route_static(library, paths); end
|
3407
|
+
end
|
3408
|
+
|
3409
|
+
module YARD::Server::StaticCaching
|
3410
|
+
def check_static_cache; end
|
3411
|
+
end
|
3412
|
+
|
3413
|
+
class YARD::Server::WebrickAdapter < ::YARD::Server::Adapter
|
3414
|
+
def start; end
|
3415
|
+
end
|
3416
|
+
|
3417
|
+
class YARD::Server::WebrickServlet < ::WEBrick::HTTPServlet::AbstractServlet
|
3418
|
+
def initialize(server, adapter); end
|
3419
|
+
|
3420
|
+
def adapter; end
|
3421
|
+
def adapter=(_arg0); end
|
3422
|
+
def do_GET(request, response); end
|
3423
|
+
end
|
3424
|
+
|
3425
|
+
class YARD::StubProxy
|
3426
|
+
def initialize(path, transient = T.unsafe(nil)); end
|
3427
|
+
|
3428
|
+
def _dump(_depth); end
|
3429
|
+
def hash; end
|
3430
|
+
def method_missing(meth, *args, &block); end
|
3431
|
+
|
3432
|
+
class << self
|
3433
|
+
def _load(str); end
|
3434
|
+
end
|
3435
|
+
end
|
3436
|
+
|
3437
|
+
YARD::StubProxy::FILELEN = T.let(T.unsafe(nil), Integer)
|
3438
|
+
YARD::TEMPLATE_ROOT = T.let(T.unsafe(nil), String)
|
3439
|
+
module YARD::Tags; end
|
3440
|
+
|
3441
|
+
class YARD::Tags::AttributeDirective < ::YARD::Tags::MethodDirective
|
3442
|
+
def after_parse; end
|
3443
|
+
|
3444
|
+
protected
|
3445
|
+
|
3446
|
+
def method_name; end
|
3447
|
+
def method_signature; end
|
3448
|
+
|
3449
|
+
private
|
3450
|
+
|
3451
|
+
def create_attribute_data(object); end
|
3452
|
+
def readable?; end
|
3453
|
+
def writable?; end
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
class YARD::Tags::DefaultFactory
|
3457
|
+
def parse_tag(tag_name, text); end
|
3458
|
+
def parse_tag_with_name(tag_name, text); end
|
3459
|
+
def parse_tag_with_options(tag_name, text); end
|
3460
|
+
def parse_tag_with_title_and_text(tag_name, text); end
|
3461
|
+
def parse_tag_with_types(tag_name, text); end
|
3462
|
+
def parse_tag_with_types_and_name(tag_name, text); end
|
3463
|
+
def parse_tag_with_types_and_title(tag_name, text); end
|
3464
|
+
def parse_tag_with_types_name_and_default(tag_name, text); end
|
3465
|
+
|
3466
|
+
private
|
3467
|
+
|
3468
|
+
def extract_name_from_text(text); end
|
3469
|
+
def extract_title_and_desc_from_text(text); end
|
3470
|
+
def extract_types_and_name_from_text(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end
|
3471
|
+
def extract_types_and_name_from_text_unstripped(text, opening_types = T.unsafe(nil), closing_types = T.unsafe(nil)); end
|
3472
|
+
end
|
3473
|
+
|
3474
|
+
YARD::Tags::DefaultFactory::TYPELIST_CLOSING_CHARS = T.let(T.unsafe(nil), String)
|
3475
|
+
YARD::Tags::DefaultFactory::TYPELIST_OPENING_CHARS = T.let(T.unsafe(nil), String)
|
3476
|
+
|
3477
|
+
class YARD::Tags::DefaultTag < ::YARD::Tags::Tag
|
3478
|
+
def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil), defaults = T.unsafe(nil)); end
|
3479
|
+
|
3480
|
+
def defaults; end
|
3481
|
+
end
|
3482
|
+
|
3483
|
+
class YARD::Tags::Directive
|
3484
|
+
def initialize(tag, parser); end
|
3485
|
+
|
3486
|
+
def after_parse; end
|
3487
|
+
def call; end
|
3488
|
+
def expanded_text; end
|
3489
|
+
def expanded_text=(_arg0); end
|
3490
|
+
def handler; end
|
3491
|
+
def object; end
|
3492
|
+
def parser=(_arg0); end
|
3493
|
+
def tag; end
|
3494
|
+
def tag=(_arg0); end
|
3495
|
+
|
3496
|
+
protected
|
3497
|
+
|
3498
|
+
def inside_directive?; end
|
3499
|
+
def parser; end
|
3500
|
+
end
|
3501
|
+
|
3502
|
+
class YARD::Tags::EndGroupDirective < ::YARD::Tags::Directive
|
3503
|
+
def call; end
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
class YARD::Tags::GroupDirective < ::YARD::Tags::Directive
|
3507
|
+
def call; end
|
3508
|
+
end
|
3509
|
+
|
3510
|
+
class YARD::Tags::Library
|
3511
|
+
def initialize(factory = T.unsafe(nil)); end
|
3512
|
+
|
3513
|
+
def abstract_tag(text); end
|
3514
|
+
def api_tag(text); end
|
3515
|
+
def attr_reader_tag(text); end
|
3516
|
+
def attr_tag(text); end
|
3517
|
+
def attr_writer_tag(text); end
|
3518
|
+
def attribute_directive(tag, parser); end
|
3519
|
+
def author_tag(text); end
|
3520
|
+
def deprecated_tag(text); end
|
3521
|
+
def directive_create(tag_name, tag_buf, parser); end
|
3522
|
+
def endgroup_directive(tag, parser); end
|
3523
|
+
def example_tag(text); end
|
3524
|
+
def factory; end
|
3525
|
+
def factory=(_arg0); end
|
3526
|
+
def group_directive(tag, parser); end
|
3527
|
+
def has_directive?(tag_name); end
|
3528
|
+
def has_tag?(tag_name); end
|
3529
|
+
def macro_directive(tag, parser); end
|
3530
|
+
def method_directive(tag, parser); end
|
3531
|
+
def note_tag(text); end
|
3532
|
+
def option_tag(text); end
|
3533
|
+
def overload_tag(text); end
|
3534
|
+
def param_tag(text); end
|
3535
|
+
def parse_directive(tag, parser); end
|
3536
|
+
def private_tag(text); end
|
3537
|
+
def raise_tag(text); end
|
3538
|
+
def return_tag(text); end
|
3539
|
+
def scope_directive(tag, parser); end
|
3540
|
+
def see_tag(text); end
|
3541
|
+
def since_tag(text); end
|
3542
|
+
def tag_create(tag_name, tag_buf); end
|
3543
|
+
def todo_tag(text); end
|
3544
|
+
def version_tag(text); end
|
3545
|
+
def visibility_directive(tag, parser); end
|
3546
|
+
def yield_tag(text); end
|
3547
|
+
def yieldparam_tag(text); end
|
3548
|
+
def yieldreturn_tag(text); end
|
3549
|
+
|
3550
|
+
private
|
3551
|
+
|
3552
|
+
def directive_call(tag, parser); end
|
3553
|
+
def send_to_factory(tag_name, meth, text); end
|
3554
|
+
|
3555
|
+
class << self
|
3556
|
+
def default_factory; end
|
3557
|
+
def default_factory=(factory); end
|
3558
|
+
def define_directive(tag, tag_meth = T.unsafe(nil), directive_class = T.unsafe(nil)); end
|
3559
|
+
def define_tag(label, tag, meth = T.unsafe(nil)); end
|
3560
|
+
def directive_method_name(tag_name); end
|
3561
|
+
def factory_method_for(tag); end
|
3562
|
+
def factory_method_for_directive(directive); end
|
3563
|
+
def instance; end
|
3564
|
+
def labels; end
|
3565
|
+
def sorted_labels; end
|
3566
|
+
def tag_method_name(tag_name); end
|
3567
|
+
def transitive_tags; end
|
3568
|
+
def transitive_tags=(_arg0); end
|
3569
|
+
def visible_tags; end
|
3570
|
+
def visible_tags=(_arg0); end
|
3571
|
+
|
3572
|
+
private
|
3573
|
+
|
3574
|
+
def tag_or_directive_method_name(tag_name, type = T.unsafe(nil)); end
|
3575
|
+
end
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
class YARD::Tags::MacroDirective < ::YARD::Tags::Directive
|
3579
|
+
def call; end
|
3580
|
+
|
3581
|
+
private
|
3582
|
+
|
3583
|
+
def anonymous?; end
|
3584
|
+
def attach?; end
|
3585
|
+
def class_method?; end
|
3586
|
+
def expand(macro_data); end
|
3587
|
+
def find_or_create; end
|
3588
|
+
def new?; end
|
3589
|
+
def warn; end
|
3590
|
+
end
|
3591
|
+
|
3592
|
+
class YARD::Tags::MethodDirective < ::YARD::Tags::Directive
|
3593
|
+
def after_parse; end
|
3594
|
+
def call; end
|
3595
|
+
|
3596
|
+
protected
|
3597
|
+
|
3598
|
+
def create_object; end
|
3599
|
+
def method_name; end
|
3600
|
+
def method_signature; end
|
3601
|
+
def sanitized_tag_signature; end
|
3602
|
+
def use_indented_text; end
|
3603
|
+
end
|
3604
|
+
|
3605
|
+
YARD::Tags::MethodDirective::SCOPE_MATCH = T.let(T.unsafe(nil), Regexp)
|
3606
|
+
|
3607
|
+
class YARD::Tags::OptionTag < ::YARD::Tags::Tag
|
3608
|
+
def initialize(tag_name, name, pair); end
|
3609
|
+
|
3610
|
+
def pair; end
|
3611
|
+
def pair=(_arg0); end
|
3612
|
+
end
|
3613
|
+
|
3614
|
+
class YARD::Tags::OverloadTag < ::YARD::Tags::Tag
|
3615
|
+
def initialize(tag_name, text); end
|
3616
|
+
|
3617
|
+
def docstring; end
|
3618
|
+
def has_tag?(name); end
|
3619
|
+
def is_a?(other); end
|
3620
|
+
def kind_of?(other); end
|
3621
|
+
def method_missing(*args, &block); end
|
3622
|
+
def name(prefix = T.unsafe(nil)); end
|
3623
|
+
def object=(value); end
|
3624
|
+
def parameters; end
|
3625
|
+
def signature; end
|
3626
|
+
def tag(name); end
|
3627
|
+
def tags(name = T.unsafe(nil)); end
|
3628
|
+
def type; end
|
3629
|
+
|
3630
|
+
private
|
3631
|
+
|
3632
|
+
def parse_signature; end
|
3633
|
+
def parse_tag(text); end
|
3634
|
+
end
|
3635
|
+
|
3636
|
+
class YARD::Tags::ParseDirective < ::YARD::Tags::Directive
|
3637
|
+
def call; end
|
3638
|
+
end
|
3639
|
+
|
3640
|
+
module YARD::Tags::RefTag
|
3641
|
+
def owner; end
|
3642
|
+
def owner=(_arg0); end
|
3643
|
+
end
|
3644
|
+
|
3645
|
+
class YARD::Tags::RefTagList
|
3646
|
+
def initialize(tag_name, owner, name = T.unsafe(nil)); end
|
3647
|
+
|
3648
|
+
def name; end
|
3649
|
+
def name=(_arg0); end
|
3650
|
+
def owner; end
|
3651
|
+
def owner=(_arg0); end
|
3652
|
+
def tag_name; end
|
3653
|
+
def tag_name=(_arg0); end
|
3654
|
+
def tags; end
|
3655
|
+
end
|
3656
|
+
|
3657
|
+
class YARD::Tags::ScopeDirective < ::YARD::Tags::Directive
|
3658
|
+
def call; end
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
class YARD::Tags::Tag
|
3662
|
+
def initialize(tag_name, text, types = T.unsafe(nil), name = T.unsafe(nil)); end
|
3663
|
+
|
3664
|
+
def explain_types; end
|
3665
|
+
def name; end
|
3666
|
+
def name=(_arg0); end
|
3667
|
+
def object; end
|
3668
|
+
def object=(_arg0); end
|
3669
|
+
def tag_name; end
|
3670
|
+
def tag_name=(_arg0); end
|
3671
|
+
def text; end
|
3672
|
+
def text=(_arg0); end
|
3673
|
+
def type; end
|
3674
|
+
def types; end
|
3675
|
+
def types=(_arg0); end
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
class YARD::Tags::TagFormatError < ::RuntimeError; end
|
3679
|
+
|
3680
|
+
class YARD::Tags::TypesExplainer
|
3681
|
+
class << self
|
3682
|
+
def explain(*types); end
|
3683
|
+
def explain!(*types); end
|
3684
|
+
end
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
class YARD::Tags::TypesExplainer::CollectionType < ::YARD::Tags::TypesExplainer::Type
|
3688
|
+
def initialize(name, types); end
|
3689
|
+
|
3690
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3691
|
+
def types; end
|
3692
|
+
def types=(_arg0); end
|
3693
|
+
end
|
3694
|
+
|
3695
|
+
class YARD::Tags::TypesExplainer::FixedCollectionType < ::YARD::Tags::TypesExplainer::CollectionType
|
3696
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3697
|
+
end
|
3698
|
+
|
3699
|
+
class YARD::Tags::TypesExplainer::HashCollectionType < ::YARD::Tags::TypesExplainer::Type
|
3700
|
+
def initialize(name, key_types, value_types); end
|
3701
|
+
|
3702
|
+
def key_types; end
|
3703
|
+
def key_types=(_arg0); end
|
3704
|
+
def to_s(_singular = T.unsafe(nil)); end
|
3705
|
+
def value_types; end
|
3706
|
+
def value_types=(_arg0); end
|
3707
|
+
end
|
3708
|
+
|
3709
|
+
class YARD::Tags::TypesExplainer::Parser
|
3710
|
+
include ::YARD::CodeObjects
|
3711
|
+
|
3712
|
+
def initialize(string); end
|
3713
|
+
|
3714
|
+
def parse; end
|
3715
|
+
|
3716
|
+
class << self
|
3717
|
+
def parse(string); end
|
3718
|
+
end
|
3719
|
+
end
|
3720
|
+
|
3721
|
+
YARD::Tags::TypesExplainer::Parser::TOKENS = T.let(T.unsafe(nil), Hash)
|
3722
|
+
|
3723
|
+
class YARD::Tags::TypesExplainer::Type
|
3724
|
+
def initialize(name); end
|
3725
|
+
|
3726
|
+
def name; end
|
3727
|
+
def name=(_arg0); end
|
3728
|
+
def to_s(singular = T.unsafe(nil)); end
|
3729
|
+
|
3730
|
+
private
|
3731
|
+
|
3732
|
+
def list_join(list); end
|
3733
|
+
end
|
3734
|
+
|
3735
|
+
class YARD::Tags::VisibilityDirective < ::YARD::Tags::Directive
|
3736
|
+
def call; end
|
3737
|
+
end
|
3738
|
+
|
3739
|
+
module YARD::Templates; end
|
3740
|
+
|
3741
|
+
module YARD::Templates::Engine
|
3742
|
+
class << self
|
3743
|
+
def generate(objects, options = T.unsafe(nil)); end
|
3744
|
+
def register_template_path(path); end
|
3745
|
+
def render(options = T.unsafe(nil)); end
|
3746
|
+
def template(*path); end
|
3747
|
+
def template!(path, full_paths = T.unsafe(nil)); end
|
3748
|
+
def template_paths; end
|
3749
|
+
def template_paths=(_arg0); end
|
3750
|
+
def with_serializer(object, serializer); end
|
3751
|
+
|
3752
|
+
private
|
3753
|
+
|
3754
|
+
def find_template_paths(from_template, path); end
|
3755
|
+
def set_default_options(options = T.unsafe(nil)); end
|
3756
|
+
def template_module_name(path); end
|
3757
|
+
end
|
3758
|
+
end
|
3759
|
+
|
3760
|
+
module YARD::Templates::ErbCache
|
3761
|
+
class << self
|
3762
|
+
def clear!; end
|
3763
|
+
def method_for(filename); end
|
3764
|
+
end
|
3765
|
+
end
|
3766
|
+
|
3767
|
+
module YARD::Templates::Helpers; end
|
3768
|
+
|
3769
|
+
module YARD::Templates::Helpers::BaseHelper
|
3770
|
+
def format_object_title(object); end
|
3771
|
+
def format_object_type(object); end
|
3772
|
+
def format_source(value); end
|
3773
|
+
def format_types(list, brackets = T.unsafe(nil)); end
|
3774
|
+
def globals; end
|
3775
|
+
def h(text); end
|
3776
|
+
def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end
|
3777
|
+
def link_include_file(file); end
|
3778
|
+
def link_include_object(obj); end
|
3779
|
+
def link_object(obj, title = T.unsafe(nil)); end
|
3780
|
+
def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end
|
3781
|
+
def linkify(*args); end
|
3782
|
+
def object; end
|
3783
|
+
def object=(_arg0); end
|
3784
|
+
def owner; end
|
3785
|
+
def run_verifier(list); end
|
3786
|
+
def serializer; end
|
3787
|
+
def serializer=(_arg0); end
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
module YARD::Templates::Helpers::FilterHelper
|
3791
|
+
def is_class?(object); end
|
3792
|
+
def is_method?(object); end
|
3793
|
+
def is_module?(object); end
|
3794
|
+
def is_namespace?(object); end
|
3795
|
+
end
|
3796
|
+
|
3797
|
+
module YARD::Templates::Helpers::HtmlHelper
|
3798
|
+
include ::YARD::Templates::Helpers::MarkupHelper
|
3799
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3800
|
+
include ::YARD::Templates::Helpers::HtmlSyntaxHighlightHelper
|
3801
|
+
|
3802
|
+
def anchor_for(object); end
|
3803
|
+
def charset; end
|
3804
|
+
def format_object_name_list(objects); end
|
3805
|
+
def format_types(typelist, brackets = T.unsafe(nil)); end
|
3806
|
+
def h(text); end
|
3807
|
+
def html_markup_asciidoc(text); end
|
3808
|
+
def html_markup_html(text); end
|
3809
|
+
def html_markup_markdown(text); end
|
3810
|
+
def html_markup_none(text); end
|
3811
|
+
def html_markup_org(text); end
|
3812
|
+
def html_markup_pre(text); end
|
3813
|
+
def html_markup_rdoc(text); end
|
3814
|
+
def html_markup_ruby(source); end
|
3815
|
+
def html_markup_text(text); end
|
3816
|
+
def html_markup_textile(text); end
|
3817
|
+
def html_markup_textile_strict(text); end
|
3818
|
+
def html_syntax_highlight(source, type = T.unsafe(nil)); end
|
3819
|
+
def html_syntax_highlight_plain(source); end
|
3820
|
+
def htmlify(text, markup = T.unsafe(nil)); end
|
3821
|
+
def htmlify_line(*args); end
|
3822
|
+
def insert_include(text, markup = T.unsafe(nil)); end
|
3823
|
+
def link_file(filename, title = T.unsafe(nil), anchor = T.unsafe(nil)); end
|
3824
|
+
def link_include_file(file); end
|
3825
|
+
def link_include_object(obj); end
|
3826
|
+
def link_object(obj, title = T.unsafe(nil), anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3827
|
+
def link_url(url, title = T.unsafe(nil), params = T.unsafe(nil)); end
|
3828
|
+
def mtime(_file); end
|
3829
|
+
def mtime_url(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3830
|
+
def resolve_links(text); end
|
3831
|
+
def signature(meth, link = T.unsafe(nil), show_extras = T.unsafe(nil), full_attr_name = T.unsafe(nil)); end
|
3832
|
+
def signature_types(meth, link = T.unsafe(nil)); end
|
3833
|
+
def url_for(obj, anchor = T.unsafe(nil), relative = T.unsafe(nil)); end
|
3834
|
+
def url_for_file(filename, anchor = T.unsafe(nil)); end
|
3835
|
+
def url_for_frameset; end
|
3836
|
+
def url_for_index; end
|
3837
|
+
def url_for_list(type); end
|
3838
|
+
def url_for_main; end
|
3839
|
+
|
3840
|
+
private
|
3841
|
+
|
3842
|
+
def convert_method_to_overload(meth); end
|
3843
|
+
def detect_lang_in_codeblock_attributes(pre_html_attrs, code_html_attrs); end
|
3844
|
+
def parse_codeblocks(html); end
|
3845
|
+
def parse_lang_for_codeblock(source); end
|
3846
|
+
def tag_attrs(opts = T.unsafe(nil)); end
|
3847
|
+
def urlencode(text); end
|
3848
|
+
|
3849
|
+
class << self
|
3850
|
+
def urlencode(text); end
|
3851
|
+
end
|
3852
|
+
end
|
3853
|
+
|
3854
|
+
YARD::Templates::Helpers::HtmlHelper::ASCIIDOC_ATTRIBUTES = T.let(T.unsafe(nil), Hash)
|
3855
|
+
YARD::Templates::Helpers::HtmlHelper::URLMATCH = T.let(T.unsafe(nil), Regexp)
|
3856
|
+
|
3857
|
+
module YARD::Templates::Helpers::HtmlSyntaxHighlightHelper
|
3858
|
+
include ::YARD::Templates::Helpers::ModuleHelper
|
3859
|
+
|
3860
|
+
def html_syntax_highlight_ruby(source); end
|
3861
|
+
|
3862
|
+
private
|
3863
|
+
|
3864
|
+
def clean_token_object(token_obj); end
|
3865
|
+
def html_syntax_highlight_ruby_legacy(source); end
|
3866
|
+
def html_syntax_highlight_ruby_ripper(source); end
|
3867
|
+
end
|
3868
|
+
|
3869
|
+
module YARD::Templates::Helpers::Markup; end
|
3870
|
+
|
3871
|
+
class YARD::Templates::Helpers::Markup::RDocMarkdown < ::YARD::Templates::Helpers::Markup::RDocMarkup
|
3872
|
+
def initialize(text); end
|
3873
|
+
|
3874
|
+
def fix_typewriter(html); end
|
3875
|
+
end
|
3876
|
+
|
3877
|
+
class YARD::Templates::Helpers::Markup::RDocMarkup
|
3878
|
+
def initialize(text); end
|
3879
|
+
|
3880
|
+
def from_path; end
|
3881
|
+
def from_path=(_arg0); end
|
3882
|
+
def to_html; end
|
3883
|
+
|
3884
|
+
private
|
3885
|
+
|
3886
|
+
def fix_dash_dash(text); end
|
3887
|
+
def fix_typewriter(text); end
|
3888
|
+
end
|
3889
|
+
|
3890
|
+
YARD::Templates::Helpers::Markup::RDocMarkup::MARKUP = RDoc::Markup
|
3891
|
+
|
3892
|
+
class YARD::Templates::Helpers::Markup::RDocMarkupToHtml < ::RDoc::Markup::ToHtml
|
3893
|
+
def initialize; end
|
3894
|
+
|
3895
|
+
def accept_paragraph(*args); end
|
3896
|
+
def from_path; end
|
3897
|
+
def from_path=(_arg0); end
|
3898
|
+
def handle_special_HYPERLINK(special); end
|
3899
|
+
end
|
3900
|
+
|
3901
|
+
module YARD::Templates::Helpers::MarkupHelper
|
3902
|
+
def load_markup_provider(type = T.unsafe(nil)); end
|
3903
|
+
def markup_class(type = T.unsafe(nil)); end
|
3904
|
+
def markup_file_contents(contents); end
|
3905
|
+
def markup_for_file(contents, filename); end
|
3906
|
+
def markup_provider(type = T.unsafe(nil)); end
|
3907
|
+
|
3908
|
+
class << self
|
3909
|
+
def clear_markup_cache; end
|
3910
|
+
def markup_cache; end
|
3911
|
+
def markup_cache=(_arg0); end
|
3912
|
+
end
|
3913
|
+
end
|
3914
|
+
|
3915
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_EXTENSIONS = T.let(T.unsafe(nil), Hash)
|
3916
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_FILE_SHEBANG = T.let(T.unsafe(nil), Regexp)
|
3917
|
+
YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS = T.let(T.unsafe(nil), Hash)
|
3918
|
+
|
3919
|
+
module YARD::Templates::Helpers::MethodHelper
|
3920
|
+
def format_args(object); end
|
3921
|
+
def format_block(object); end
|
3922
|
+
def format_code(object, _show_lines = T.unsafe(nil)); end
|
3923
|
+
def format_constant(value); end
|
3924
|
+
def format_lines(object); end
|
3925
|
+
def format_return_types(object); end
|
3926
|
+
end
|
3927
|
+
|
3928
|
+
module YARD::Templates::Helpers::ModuleHelper
|
3929
|
+
def prune_method_listing(list, hide_attributes = T.unsafe(nil)); end
|
3930
|
+
end
|
3931
|
+
|
3932
|
+
module YARD::Templates::Helpers::TextHelper
|
3933
|
+
def align_right(text, spacer = T.unsafe(nil), col = T.unsafe(nil)); end
|
3934
|
+
def h(text); end
|
3935
|
+
def hr(col = T.unsafe(nil), sep = T.unsafe(nil)); end
|
3936
|
+
def indent(text, len = T.unsafe(nil)); end
|
3937
|
+
def signature(meth); end
|
3938
|
+
def title_align_right(text, col = T.unsafe(nil)); end
|
3939
|
+
def wrap(text, col = T.unsafe(nil)); end
|
3940
|
+
|
3941
|
+
private
|
3942
|
+
|
3943
|
+
def resolve_links(text); end
|
3944
|
+
end
|
3945
|
+
|
3946
|
+
module YARD::Templates::Helpers::UMLHelper
|
3947
|
+
def format_path(object); end
|
3948
|
+
def h(text); end
|
3949
|
+
def tidy(data); end
|
3950
|
+
def uml_visibility(object); end
|
3951
|
+
end
|
3952
|
+
|
3953
|
+
class YARD::Templates::Section < ::Array
|
3954
|
+
def initialize(name, *args); end
|
3955
|
+
|
3956
|
+
def <<(*args); end
|
3957
|
+
def ==(other); end
|
3958
|
+
def [](*args); end
|
3959
|
+
def any(item); end
|
3960
|
+
def dup; end
|
3961
|
+
def eql?(other); end
|
3962
|
+
def inspect; end
|
3963
|
+
def name; end
|
3964
|
+
def name=(_arg0); end
|
3965
|
+
def place(*args); end
|
3966
|
+
def push(*args); end
|
3967
|
+
def to_a; end
|
3968
|
+
def unshift(*args); end
|
3969
|
+
|
3970
|
+
private
|
3971
|
+
|
3972
|
+
def parse_sections(args); end
|
3973
|
+
end
|
3974
|
+
|
3975
|
+
module YARD::Templates::Template
|
3976
|
+
include ::YARD::Templates::ErbCache
|
3977
|
+
include ::YARD::Templates::Helpers::BaseHelper
|
3978
|
+
include ::YARD::Templates::Helpers::MethodHelper
|
3979
|
+
|
3980
|
+
mixes_in_class_methods ::YARD::Templates::Template::ClassMethods
|
3981
|
+
|
3982
|
+
def initialize(opts = T.unsafe(nil)); end
|
3983
|
+
|
3984
|
+
def T(*path); end
|
3985
|
+
def class; end
|
3986
|
+
def class=(_arg0); end
|
3987
|
+
def erb(section, &block); end
|
3988
|
+
def file(basename, allow_inherited = T.unsafe(nil)); end
|
3989
|
+
def init; end
|
3990
|
+
def inspect; end
|
3991
|
+
def options; end
|
3992
|
+
def options=(value); end
|
3993
|
+
def run(opts = T.unsafe(nil), sects = T.unsafe(nil), start_at = T.unsafe(nil), break_first = T.unsafe(nil), &block); end
|
3994
|
+
def section; end
|
3995
|
+
def section=(_arg0); end
|
3996
|
+
def sections(*args); end
|
3997
|
+
def superb(sect = T.unsafe(nil), &block); end
|
3998
|
+
def yieldall(opts = T.unsafe(nil), &block); end
|
3999
|
+
|
4000
|
+
protected
|
4001
|
+
|
4002
|
+
def erb_file_for(section); end
|
4003
|
+
def erb_with(content, filename = T.unsafe(nil)); end
|
4004
|
+
|
4005
|
+
private
|
4006
|
+
|
4007
|
+
def add_options(opts = T.unsafe(nil)); end
|
4008
|
+
def cache(section); end
|
4009
|
+
def cache_filename(section); end
|
4010
|
+
def render_section(section, &block); end
|
4011
|
+
def set_ivars; end
|
4012
|
+
def with_section; end
|
4013
|
+
|
4014
|
+
class << self
|
4015
|
+
def extra_includes; end
|
4016
|
+
def extra_includes=(_arg0); end
|
4017
|
+
def include_extra(template, options); end
|
4018
|
+
def included(klass); end
|
4019
|
+
end
|
4020
|
+
end
|
4021
|
+
|
4022
|
+
module YARD::Templates::Template::ClassMethods
|
4023
|
+
def initialize(path, full_paths); end
|
4024
|
+
|
4025
|
+
def S(*args); end
|
4026
|
+
def T(*path); end
|
4027
|
+
def find_file(basename); end
|
4028
|
+
def find_nth_file(basename, index = T.unsafe(nil)); end
|
4029
|
+
def full_path; end
|
4030
|
+
def full_path=(_arg0); end
|
4031
|
+
def full_paths; end
|
4032
|
+
def is_a?(klass); end
|
4033
|
+
def new(*args); end
|
4034
|
+
def path; end
|
4035
|
+
def path=(_arg0); end
|
4036
|
+
def reset_full_paths; end
|
4037
|
+
def run(*args); end
|
4038
|
+
|
4039
|
+
private
|
4040
|
+
|
4041
|
+
def include_inherited(full_paths); end
|
4042
|
+
def include_parent; end
|
4043
|
+
def load_setup_rb; end
|
4044
|
+
end
|
4045
|
+
|
4046
|
+
class YARD::Templates::TemplateOptions < ::YARD::Options
|
4047
|
+
def __globals; end
|
4048
|
+
def default_return; end
|
4049
|
+
def default_return=(_arg0); end
|
4050
|
+
def embed_mixins; end
|
4051
|
+
def embed_mixins=(_arg0); end
|
4052
|
+
def embed_mixins_match?(mixin); end
|
4053
|
+
def format; end
|
4054
|
+
def format=(_arg0); end
|
4055
|
+
def globals; end
|
4056
|
+
def globals=(_arg0); end
|
4057
|
+
def hide_void_return; end
|
4058
|
+
def hide_void_return=(_arg0); end
|
4059
|
+
def highlight; end
|
4060
|
+
def highlight=(_arg0); end
|
4061
|
+
def index; end
|
4062
|
+
def index=(_arg0); end
|
4063
|
+
def markup; end
|
4064
|
+
def markup=(_arg0); end
|
4065
|
+
def markup_provider; end
|
4066
|
+
def markup_provider=(_arg0); end
|
4067
|
+
def no_highlight; end
|
4068
|
+
def no_highlight=(value); end
|
4069
|
+
def object; end
|
4070
|
+
def object=(_arg0); end
|
4071
|
+
def owner; end
|
4072
|
+
def owner=(_arg0); end
|
4073
|
+
def page_title; end
|
4074
|
+
def page_title=(_arg0); end
|
4075
|
+
def serialize; end
|
4076
|
+
def serialize=(_arg0); end
|
4077
|
+
def serializer; end
|
4078
|
+
def serializer=(_arg0); end
|
4079
|
+
def template; end
|
4080
|
+
def template=(_arg0); end
|
4081
|
+
def type; end
|
4082
|
+
def type=(_arg0); end
|
4083
|
+
def verifier; end
|
4084
|
+
def verifier=(_arg0); end
|
4085
|
+
end
|
4086
|
+
|
4087
|
+
YARD::VERSION = T.let(T.unsafe(nil), String)
|
4088
|
+
|
4089
|
+
class YARD::Verifier
|
4090
|
+
def initialize(*expressions); end
|
4091
|
+
|
4092
|
+
def add_expressions(*expressions); end
|
4093
|
+
def call(object); end
|
4094
|
+
def expressions; end
|
4095
|
+
def expressions=(value); end
|
4096
|
+
def method_missing(sym, *args, &block); end
|
4097
|
+
def run(list); end
|
4098
|
+
|
4099
|
+
protected
|
4100
|
+
|
4101
|
+
def o; end
|
4102
|
+
def object; end
|
4103
|
+
|
4104
|
+
private
|
4105
|
+
|
4106
|
+
def create_method_from_expressions; end
|
4107
|
+
def modify_nilclass; end
|
4108
|
+
def parse_expression(expr); end
|
4109
|
+
def unmodify_nilclass; end
|
4110
|
+
end
|
4111
|
+
|
4112
|
+
YARD::Verifier::NILCLASS_METHODS = T.let(T.unsafe(nil), Array)
|