workos 4.1.0 → 4.2.1

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