yard-sorbet 0.0.1 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yard-sorbet.rb +4 -2
  3. data/lib/yard-sorbet/directives.rb +5 -1
  4. data/lib/yard-sorbet/sig_handler.rb +81 -32
  5. data/lib/yard-sorbet/sig_to_yard.rb +26 -6
  6. data/lib/yard-sorbet/struct_handler.rb +27 -11
  7. data/lib/yard-sorbet/version.rb +1 -1
  8. metadata +76 -79
  9. data/.editorconfig +0 -9
  10. data/.gitignore +0 -40
  11. data/.rspec +0 -1
  12. data/.rubocop.yml +0 -47
  13. data/.travis.yml +0 -7
  14. data/CHANGELOG.md +0 -10
  15. data/Gemfile +0 -14
  16. data/README.md +0 -17
  17. data/Rakefile +0 -11
  18. data/sorbet/config +0 -2
  19. data/sorbet/rbi/gems/ast.rbi +0 -47
  20. data/sorbet/rbi/gems/byebug.rbi +0 -1039
  21. data/sorbet/rbi/gems/codecov.rbi +0 -19
  22. data/sorbet/rbi/gems/coderay.rbi +0 -91
  23. data/sorbet/rbi/gems/docile.rbi +0 -31
  24. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -14
  25. data/sorbet/rbi/gems/method_source.rbi +0 -63
  26. data/sorbet/rbi/gems/parallel.rbi +0 -81
  27. data/sorbet/rbi/gems/parser.rbi +0 -920
  28. data/sorbet/rbi/gems/pry-byebug.rbi +0 -149
  29. data/sorbet/rbi/gems/pry.rbi +0 -1964
  30. data/sorbet/rbi/gems/rainbow.rbi +0 -117
  31. data/sorbet/rbi/gems/rake.rbi +0 -635
  32. data/sorbet/rbi/gems/rspec-core.rbi +0 -1686
  33. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -387
  34. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -819
  35. data/sorbet/rbi/gems/rspec-support.rbi +0 -270
  36. data/sorbet/rbi/gems/rspec.rbi +0 -14
  37. data/sorbet/rbi/gems/rubocop-rspec.rbi +0 -889
  38. data/sorbet/rbi/gems/rubocop.rbi +0 -7139
  39. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
  40. data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
  41. data/sorbet/rbi/gems/simplecov.rbi +0 -225
  42. data/sorbet/rbi/gems/site_ruby.rbi +0 -114
  43. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -16
  44. data/sorbet/rbi/gems/yard.rbi +0 -1181
  45. data/sorbet/rbi/hidden-definitions/errors.txt +0 -3045
  46. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -4469
  47. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8684
  48. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +0 -4222
  49. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  50. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
  51. data/spec/data/sig_handler.rb.txt +0 -196
  52. data/spec/data/struct_handler.rb.txt +0 -25
  53. data/spec/spec_helper.rb +0 -111
  54. data/spec/yard_sorbet/sig_handler_spec.rb +0 -233
  55. data/spec/yard_sorbet/struct_handler_spec.rb +0 -48
  56. data/yard-sorbet.gemspec +0 -27
data/.editorconfig DELETED
@@ -1,9 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = space
5
- indent_size = 2
6
- end_of_line = lf
7
- charset = utf-8
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
data/.gitignore DELETED
@@ -1,40 +0,0 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- # .env
15
-
16
- # Ignore Byebug command history file.
17
- .byebug_history
18
-
19
- ## Documentation cache and generated files:
20
- /.yardoc/
21
- /_yardoc/
22
- /doc/
23
- /rdoc/
24
-
25
- ## Environment normalization:
26
- /.bundle/
27
- /vendor/bundle
28
- /lib/bundler/man/
29
-
30
- # for a library or gem, you might want to ignore these files since the code is
31
- # intended to run in multiple environments; otherwise, check them in:
32
- Gemfile.lock
33
- .ruby-version
34
- .ruby-gemset
35
-
36
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
37
- .rvmrc
38
-
39
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
40
- # .rubocop-https?--*
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,47 +0,0 @@
1
- ---
2
- require:
3
- - rubocop-rspec
4
-
5
- AllCops:
6
- TargetRubyVersion: 2.4
7
-
8
- Layout/ClassStructure:
9
- Enabled: true
10
- # doesn't recognize sorbet magic comments
11
- Layout/EmptyLineAfterMagicComment:
12
- Enabled: false
13
- Layout/LineLength:
14
- Enabled: false
15
- Metrics/AbcSize:
16
- Enabled: false
17
- Metrics/BlockLength:
18
- Enabled: false
19
- Metrics/BlockNesting:
20
- Enabled: false
21
- Metrics/ClassLength:
22
- Enabled: false
23
- Metrics/CyclomaticComplexity:
24
- Enabled: false
25
- Metrics/MethodLength:
26
- Enabled: false
27
- Metrics/PerceivedComplexity:
28
- Enabled: false
29
- Naming/FileName:
30
- Exclude:
31
- - lib/yard-sorbet.rb
32
- RSpec/ExampleLength:
33
- Enabled: false
34
- RSpec/MultipleExpectations:
35
- Enabled: false
36
- Style/AccessModifierDeclarations:
37
- EnforcedStyle: inline
38
- Style/ClassAndModuleChildren:
39
- EnforcedStyle: compact
40
- Style/NegatedIf:
41
- Enabled: false
42
- Style/NegatedWhile:
43
- Enabled: false
44
- Style/Next:
45
- Enabled: false
46
- Style/IfUnlessModifier:
47
- Enabled: false
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- language: ruby
3
- rvm:
4
- - 2.4
5
- - 2.5
6
- - 2.6
7
- - 2.7
data/CHANGELOG.md DELETED
@@ -1,10 +0,0 @@
1
- # master
2
-
3
- # 0.0.1 / 2020-01-24
4
-
5
- - [#1](https://github.com/dduugg/yard-sorbet/pull/1): Add `T::Struct` support.
6
- - [#3](https://github.com/dduugg/yard-sorbet/pull/3): Rename require path to be conistent with gem name.
7
-
8
- # 0.0.0 / 2020-01-05
9
-
10
- * Initial Release
data/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'codecov', '~> 0.1.16'
6
- gem 'pry-byebug'
7
- gem 'rake', '~> 13.0'
8
- gem 'rspec', '~> 3.9'
9
- gem 'rubocop', '~> 0.78.0'
10
- gem 'rubocop-rspec', '~> 1.37'
11
- gem 'simplecov', '~> 0.17.1'
12
- gem 'sorbet', '~> 0.5.5200'
13
- gem 'sorbet-runtime', '~> 0.5.5200'
14
- gem 'yard', '~> 0.9.22'
data/README.md DELETED
@@ -1,17 +0,0 @@
1
- # yard-sorbet
2
- [![Gem Version](https://badge.fury.io/rb/yard-sorbet.svg)](https://badge.fury.io/rb/yard-sorbet)
3
- [![Build Status](https://travis-ci.com/dduugg/yard-sorbet.svg?branch=master)](https://travis-ci.com/dduugg/yard-sorbet)
4
- [![codecov](https://codecov.io/gh/dduugg/yard-sorbet/branch/master/graph/badge.svg)](https://codecov.io/gh/dduugg/yard-sorbet)
5
-
6
- A YARD [plugin](https://rubydoc.info/gems/yard/file/docs/GettingStarted.md#Plugin_Support) that parses Sorbet type annotations
7
-
8
- ## Install
9
-
10
- ```shell
11
- gem install yard-sorbet
12
- ```
13
-
14
- ## Usage
15
- ```bash
16
- yard doc --plugin sorbet
17
- ```
data/Rakefile DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- require 'bundler/gem_tasks'
3
- require 'rspec/core/rake_task'
4
-
5
- RSpec::Core::RakeTask.new(:spec)
6
-
7
- task :lint do
8
- sh 'rubocop'
9
- end
10
-
11
- task default: %i[lint spec]
data/sorbet/config DELETED
@@ -1,2 +0,0 @@
1
- --dir
2
- .
@@ -1,47 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strong
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ast/all/ast.rbi
9
- #
10
- # ast-2.4.0
11
- module AST
12
- end
13
- class AST::Node
14
- def +(array); end
15
- def <<(element); end
16
- def ==(other); end
17
- def append(element); end
18
- def assign_properties(properties); end
19
- def children; end
20
- def clone; end
21
- def concat(array); end
22
- def dup; end
23
- def eql?(other); end
24
- def fancy_type; end
25
- def hash; end
26
- def initialize(type, children = nil, properties = nil); end
27
- def inspect(indent = nil); end
28
- def original_dup; end
29
- def to_a; end
30
- def to_ast; end
31
- def to_s(indent = nil); end
32
- def to_sexp(indent = nil); end
33
- def to_sexp_array; end
34
- def type; end
35
- def updated(type = nil, children = nil, properties = nil); end
36
- end
37
- class AST::Processor
38
- include AST::Processor::Mixin
39
- end
40
- module AST::Processor::Mixin
41
- def handler_missing(node); end
42
- def process(node); end
43
- def process_all(nodes); end
44
- end
45
- module AST::Sexp
46
- def s(type, *children); end
47
- end
@@ -1,1039 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: true
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/byebug/all/byebug.rbi
9
- #
10
- # byebug-11.0.1
11
- module Byebug
12
- def add_catchpoint(arg0); end
13
- def breakpoints; end
14
- def catchpoints; end
15
- def contexts; end
16
- def current_context; end
17
- def debug_load(*arg0); end
18
- def displays; end
19
- def displays=(arg0); end
20
- def init_file; end
21
- def init_file=(arg0); end
22
- def lock; end
23
- def mode; end
24
- def mode=(arg0); end
25
- def post_mortem=(arg0); end
26
- def post_mortem?; end
27
- def raised_exception; end
28
- def rc_dirs; end
29
- def run_init_script; end
30
- def run_rc_file(rc_file); end
31
- def self.actual_control_port; end
32
- def self.actual_port; end
33
- def self.add_catchpoint(arg0); end
34
- def self.attach; end
35
- def self.breakpoints; end
36
- def self.catchpoints; end
37
- def self.client; end
38
- def self.contexts; end
39
- def self.control; end
40
- def self.current_context; end
41
- def self.debug_load(*arg0); end
42
- def self.handle_post_mortem; end
43
- def self.interrupt; end
44
- def self.load_settings; end
45
- def self.lock; end
46
- def self.parse_host_and_port(host_port_spec); end
47
- def self.post_mortem=(arg0); end
48
- def self.post_mortem?; end
49
- def self.raised_exception; end
50
- def self.server; end
51
- def self.spawn(host = nil, port = nil); end
52
- def self.start; end
53
- def self.start_client(host = nil, port = nil); end
54
- def self.start_control(host = nil, port = nil); end
55
- def self.start_server(host = nil, port = nil); end
56
- def self.started?; end
57
- def self.stop; end
58
- def self.stoppable?; end
59
- def self.thread_context(arg0); end
60
- def self.tracing=(arg0); end
61
- def self.tracing?; end
62
- def self.unlock; end
63
- def self.verbose=(arg0); end
64
- def self.verbose?; end
65
- def self.wait_connection; end
66
- def self.wait_connection=(arg0); end
67
- def start; end
68
- def started?; end
69
- def stop; end
70
- def stoppable?; end
71
- def thread_context(arg0); end
72
- def tracing=(arg0); end
73
- def tracing?; end
74
- def unlock; end
75
- def verbose=(arg0); end
76
- def verbose?; end
77
- extend Byebug
78
- include Byebug::Helpers::ReflectionHelper
79
- end
80
- module Byebug::Helpers
81
- end
82
- module Byebug::Helpers::ReflectionHelper
83
- def commands; end
84
- end
85
- class Byebug::Context
86
- def at_breakpoint(breakpoint); end
87
- def at_catchpoint(exception); end
88
- def at_end; end
89
- def at_line; end
90
- def at_return(return_value); end
91
- def at_tracing; end
92
- def backtrace; end
93
- def dead?; end
94
- def file(*args, &block); end
95
- def frame; end
96
- def frame=(pos); end
97
- def frame_binding(*arg0); end
98
- def frame_class(*arg0); end
99
- def frame_file(*arg0); end
100
- def frame_line(*arg0); end
101
- def frame_method(*arg0); end
102
- def frame_self(*arg0); end
103
- def full_location; end
104
- def ignored?; end
105
- def ignored_file?(path); end
106
- def interrupt; end
107
- def line(*args, &block); end
108
- def location; end
109
- def processor; end
110
- def resume; end
111
- def self.ignored_files; end
112
- def self.ignored_files=(arg0); end
113
- def self.interface; end
114
- def self.interface=(arg0); end
115
- def self.processor; end
116
- def self.processor=(arg0); end
117
- def stack_size; end
118
- def step_into(*arg0); end
119
- def step_out(*arg0); end
120
- def step_over(*arg0); end
121
- def stop_reason; end
122
- def suspend; end
123
- def suspended?; end
124
- def switch; end
125
- def thnum; end
126
- def thread; end
127
- def tracing; end
128
- def tracing=(arg0); end
129
- extend Forwardable
130
- include Byebug::Helpers::FileHelper
131
- end
132
- class Byebug::DebugThread < Thread
133
- def self.inherited(arg0); end
134
- end
135
- class Byebug::Breakpoint
136
- def enabled=(arg0); end
137
- def enabled?; end
138
- def expr; end
139
- def expr=(arg0); end
140
- def hit_condition; end
141
- def hit_condition=(arg0); end
142
- def hit_count; end
143
- def hit_value; end
144
- def hit_value=(arg0); end
145
- def id; end
146
- def initialize(arg0, arg1, arg2); end
147
- def inspect; end
148
- def pos; end
149
- def self.add(file, line, expr = nil); end
150
- def self.first; end
151
- def self.last; end
152
- def self.none?; end
153
- def self.potential_line?(filename, lineno); end
154
- def self.potential_lines(filename); end
155
- def self.potential_lines_with_trace_points(iseq, lines); end
156
- def self.potential_lines_without_trace_points(iseq, lines); end
157
- def self.remove(id); end
158
- def source; end
159
- end
160
- module Byebug::Helpers::FileHelper
161
- def get_line(filename, lineno); end
162
- def get_lines(filename); end
163
- def n_lines(filename); end
164
- def normalize(filename); end
165
- def shortpath(fullpath); end
166
- def virtual_file?(name); end
167
- end
168
- class Byebug::Frame
169
- def _binding; end
170
- def _class; end
171
- def _method; end
172
- def _self; end
173
- def args; end
174
- def c_args; end
175
- def c_frame?; end
176
- def current?; end
177
- def deco_args; end
178
- def deco_block; end
179
- def deco_call; end
180
- def deco_class; end
181
- def deco_file; end
182
- def deco_method; end
183
- def deco_pos; end
184
- def file; end
185
- def initialize(context, pos); end
186
- def line; end
187
- def locals; end
188
- def mark; end
189
- def pos; end
190
- def prefix_and_default(arg_type); end
191
- def ruby_args; end
192
- def to_hash; end
193
- def use_short_style?(arg); end
194
- include Byebug::Helpers::FileHelper
195
- end
196
- module Byebug::Helpers::PathHelper
197
- def all_files; end
198
- def bin_file; end
199
- def gem_files; end
200
- def glob_for(dir); end
201
- def lib_files; end
202
- def root_path; end
203
- def test_files; end
204
- end
205
- module Byebug::Helpers::EvalHelper
206
- def allowing_other_threads; end
207
- def error_eval(str, binding = nil); end
208
- def error_msg(exception); end
209
- def in_new_thread; end
210
- def msg(exception); end
211
- def multiple_thread_eval(expression); end
212
- def safe_eval(str, binding); end
213
- def safe_inspect(var); end
214
- def safe_to_s(var); end
215
- def separate_thread_eval(expression); end
216
- def silent_eval(str, binding = nil); end
217
- def warning_eval(str, binding = nil); end
218
- def warning_msg(exception); end
219
- end
220
- class Byebug::CommandNotFound < NoMethodError
221
- def build_cmd(*args); end
222
- def help; end
223
- def initialize(input, parent = nil); end
224
- def name; end
225
- end
226
- class Byebug::CommandProcessor
227
- def after_repl; end
228
- def at_breakpoint(brkpt); end
229
- def at_catchpoint(exception); end
230
- def at_end; end
231
- def at_line; end
232
- def at_return(return_value); end
233
- def at_tracing; end
234
- def auto_cmds_for(run_level); end
235
- def before_repl; end
236
- def command_list; end
237
- def commands(*args, &block); end
238
- def confirm(*args, &block); end
239
- def context; end
240
- def errmsg(*args, &block); end
241
- def frame(*args, &block); end
242
- def initialize(context, interface = nil); end
243
- def interface; end
244
- def pr(*args, &block); end
245
- def prc(*args, &block); end
246
- def prev_line; end
247
- def prev_line=(arg0); end
248
- def printer; end
249
- def proceed!; end
250
- def process_commands; end
251
- def prompt; end
252
- def prv(*args, &block); end
253
- def puts(*args, &block); end
254
- def repl; end
255
- def run_auto_cmds(run_level); end
256
- def run_cmd(input); end
257
- def safely; end
258
- extend Forwardable
259
- include Byebug::Helpers::EvalHelper
260
- end
261
- module Byebug::Helpers::StringHelper
262
- def camelize(str); end
263
- def deindent(str, leading_spaces: nil); end
264
- def prettify(str); end
265
- end
266
- class Byebug::Setting
267
- def boolean?; end
268
- def help; end
269
- def initialize; end
270
- def integer?; end
271
- def self.[](name); end
272
- def self.[]=(name, value); end
273
- def self.find(shortcut); end
274
- def self.help_all; end
275
- def self.settings; end
276
- def to_s; end
277
- def to_sym; end
278
- def value; end
279
- def value=(arg0); end
280
- end
281
- class Byebug::History
282
- def buffer; end
283
- def clear; end
284
- def default_max_size; end
285
- def ignore?(buf); end
286
- def initialize; end
287
- def last_ids(number); end
288
- def pop; end
289
- def push(cmd); end
290
- def restore; end
291
- def save; end
292
- def size; end
293
- def size=(arg0); end
294
- def specific_max_size(number); end
295
- def to_s(n_cmds); end
296
- end
297
- class Byebug::LocalInterface < Byebug::Interface
298
- def initialize; end
299
- def readline(prompt); end
300
- def with_repl_like_sigint; end
301
- end
302
- class Byebug::ScriptInterface < Byebug::Interface
303
- def close; end
304
- def initialize(file, verbose = nil); end
305
- def read_command(prompt); end
306
- def readline(*arg0); end
307
- end
308
- class Byebug::RemoteInterface < Byebug::Interface
309
- def close; end
310
- def confirm(prompt); end
311
- def initialize(socket); end
312
- def print(message); end
313
- def puts(message); end
314
- def read_command(prompt); end
315
- def readline(prompt); end
316
- end
317
- class Byebug::Interface
318
- def autorestore; end
319
- def autosave; end
320
- def close; end
321
- def command_queue; end
322
- def command_queue=(arg0); end
323
- def confirm(prompt); end
324
- def errmsg(message); end
325
- def error; end
326
- def history; end
327
- def history=(arg0); end
328
- def initialize; end
329
- def input; end
330
- def last_if_empty(input); end
331
- def output; end
332
- def prepare_input(prompt); end
333
- def print(message); end
334
- def puts(message); end
335
- def read_command(prompt); end
336
- def read_file(filename); end
337
- def read_input(prompt, save_hist = nil); end
338
- def split_commands(cmd_line); end
339
- include Byebug::Helpers::FileHelper
340
- end
341
- class Byebug::ScriptProcessor < Byebug::CommandProcessor
342
- def after_repl; end
343
- def commands; end
344
- def prompt; end
345
- def repl; end
346
- def without_exceptions; end
347
- end
348
- class Byebug::PostMortemProcessor < Byebug::CommandProcessor
349
- def commands; end
350
- def prompt; end
351
- end
352
- class Byebug::Command
353
- def arguments; end
354
- def confirm(*args, &block); end
355
- def context; end
356
- def errmsg(*args, &block); end
357
- def frame; end
358
- def help(*args, &block); end
359
- def initialize(processor, input = nil); end
360
- def match(*args, &block); end
361
- def pr(*args, &block); end
362
- def prc(*args, &block); end
363
- def print(*args, &block); end
364
- def processor; end
365
- def prv(*args, &block); end
366
- def puts(*args, &block); end
367
- def self.allow_in_control; end
368
- def self.allow_in_control=(arg0); end
369
- def self.allow_in_post_mortem; end
370
- def self.allow_in_post_mortem=(arg0); end
371
- def self.always_run; end
372
- def self.always_run=(arg0); end
373
- def self.columnize(width); end
374
- def self.help; end
375
- def self.match(input); end
376
- def self.to_s; end
377
- extend Forwardable
378
- end
379
- module Byebug::Helpers::ParseHelper
380
- def get_int(str, cmd, min = nil, max = nil); end
381
- def parse_steps(str, cmd); end
382
- def syntax_valid?(code); end
383
- def without_stderr; end
384
- end
385
- class Byebug::SourceFileFormatter
386
- def amend(line, ceiling); end
387
- def amend_final(line); end
388
- def amend_initial(line); end
389
- def annotator; end
390
- def file; end
391
- def initialize(file, annotator); end
392
- def lines(min, max); end
393
- def lines_around(center); end
394
- def max_initial_line; end
395
- def max_line; end
396
- def range_around(center); end
397
- def range_from(min); end
398
- def size; end
399
- include Byebug::Helpers::FileHelper
400
- end
401
- class Byebug::BreakCommand < Byebug::Command
402
- def add_line_breakpoint(file, line); end
403
- def execute; end
404
- def line_breakpoint(location); end
405
- def method_breakpoint(location); end
406
- def self.description; end
407
- def self.regexp; end
408
- def self.short_description; end
409
- def target_object(str); end
410
- def valid_breakpoints_for(path, line); end
411
- include Byebug::Helpers::EvalHelper
412
- include Byebug::Helpers::FileHelper
413
- include Byebug::Helpers::ParseHelper
414
- end
415
- class Byebug::CatchCommand < Byebug::Command
416
- def add(exception); end
417
- def clear; end
418
- def execute; end
419
- def info; end
420
- def remove(exception); end
421
- def self.description; end
422
- def self.regexp; end
423
- def self.short_description; end
424
- include Byebug::Helpers::EvalHelper
425
- end
426
- class Byebug::ConditionCommand < Byebug::Command
427
- def execute; end
428
- def self.description; end
429
- def self.regexp; end
430
- def self.short_description; end
431
- include Byebug::Helpers::ParseHelper
432
- end
433
- class Byebug::ContinueCommand < Byebug::Command
434
- def execute; end
435
- def modifier; end
436
- def self.description; end
437
- def self.regexp; end
438
- def self.short_description; end
439
- def unconditionally?; end
440
- def until_line?; end
441
- include Byebug::Helpers::ParseHelper
442
- end
443
- class Byebug::DebugCommand < Byebug::Command
444
- def execute; end
445
- def self.description; end
446
- def self.regexp; end
447
- def self.short_description; end
448
- include Byebug::Helpers::EvalHelper
449
- end
450
- class Byebug::DeleteCommand < Byebug::Command
451
- def execute; end
452
- def self.description; end
453
- def self.regexp; end
454
- def self.short_description; end
455
- include Byebug::Helpers::ParseHelper
456
- end
457
- class Byebug::CommandList
458
- def each; end
459
- def initialize(commands); end
460
- def match(input); end
461
- def to_s; end
462
- def width; end
463
- include Enumerable
464
- end
465
- module Byebug::Subcommands
466
- def execute; end
467
- def self.included(command); end
468
- def subcommand_list(*args, &block); end
469
- extend Forwardable
470
- end
471
- module Byebug::Subcommands::ClassMethods
472
- def help; end
473
- def subcommand_list; end
474
- include Byebug::Helpers::ReflectionHelper
475
- end
476
- module Byebug::Helpers::ToggleHelper
477
- def enable_disable_breakpoints(is_enable, args); end
478
- def enable_disable_display(is_enable, args); end
479
- def n_displays; end
480
- def select_breakpoints(is_enable, args); end
481
- include Byebug::Helpers::ParseHelper
482
- end
483
- class Byebug::DisableCommand < Byebug::Command
484
- def self.description; end
485
- def self.regexp; end
486
- def self.short_description; end
487
- extend Byebug::Subcommands::ClassMethods
488
- include Byebug::Subcommands
489
- end
490
- class Byebug::DisableCommand::BreakpointsCommand < Byebug::Command
491
- def execute; end
492
- def self.description; end
493
- def self.regexp; end
494
- def self.short_description; end
495
- include Byebug::Helpers::ToggleHelper
496
- end
497
- class Byebug::DisableCommand::DisplayCommand < Byebug::Command
498
- def execute; end
499
- def self.description; end
500
- def self.regexp; end
501
- def self.short_description; end
502
- include Byebug::Helpers::ToggleHelper
503
- end
504
- class Byebug::DisplayCommand < Byebug::Command
505
- def display_expression(exp); end
506
- def eval_expr(expression); end
507
- def execute; end
508
- def print_display_expressions; end
509
- def self.description; end
510
- def self.regexp; end
511
- def self.short_description; end
512
- include Byebug::Helpers::EvalHelper
513
- end
514
- module Byebug::Helpers::FrameHelper
515
- def adjust_frame(new_frame); end
516
- def direction(step); end
517
- def frame_err(msg); end
518
- def index_from_start(index); end
519
- def jump_frames(steps); end
520
- def navigate_to_frame(jump_no); end
521
- def out_of_bounds?(pos); end
522
- def switch_to_frame(frame); end
523
- end
524
- class Byebug::DownCommand < Byebug::Command
525
- def execute; end
526
- def self.description; end
527
- def self.regexp; end
528
- def self.short_description; end
529
- include Byebug::Helpers::FrameHelper
530
- include Byebug::Helpers::ParseHelper
531
- end
532
- class Byebug::EditCommand < Byebug::Command
533
- def edit_error(type, file); end
534
- def editor; end
535
- def execute; end
536
- def location(matched); end
537
- def self.description; end
538
- def self.regexp; end
539
- def self.short_description; end
540
- end
541
- class Byebug::EnableCommand < Byebug::Command
542
- def self.description; end
543
- def self.regexp; end
544
- def self.short_description; end
545
- extend Byebug::Subcommands::ClassMethods
546
- include Byebug::Subcommands
547
- end
548
- class Byebug::EnableCommand::BreakpointsCommand < Byebug::Command
549
- def execute; end
550
- def self.description; end
551
- def self.regexp; end
552
- def self.short_description; end
553
- include Byebug::Helpers::ToggleHelper
554
- end
555
- class Byebug::EnableCommand::DisplayCommand < Byebug::Command
556
- def execute; end
557
- def self.description; end
558
- def self.regexp; end
559
- def self.short_description; end
560
- include Byebug::Helpers::ToggleHelper
561
- end
562
- class Byebug::FinishCommand < Byebug::Command
563
- def execute; end
564
- def max_frames; end
565
- def self.description; end
566
- def self.regexp; end
567
- def self.short_description; end
568
- include Byebug::Helpers::ParseHelper
569
- end
570
- class Byebug::FrameCommand < Byebug::Command
571
- def execute; end
572
- def self.description; end
573
- def self.regexp; end
574
- def self.short_description; end
575
- include Byebug::Helpers::FrameHelper
576
- include Byebug::Helpers::ParseHelper
577
- end
578
- class Byebug::HelpCommand < Byebug::Command
579
- def command; end
580
- def execute; end
581
- def help_for(input, cmd); end
582
- def help_for_all; end
583
- def self.description; end
584
- def self.regexp; end
585
- def self.short_description; end
586
- def subcommand; end
587
- end
588
- class Byebug::HistoryCommand < Byebug::Command
589
- def execute; end
590
- def self.description; end
591
- def self.regexp; end
592
- def self.short_description; end
593
- include Byebug::Helpers::ParseHelper
594
- end
595
- class Byebug::InfoCommand < Byebug::Command
596
- def self.description; end
597
- def self.regexp; end
598
- def self.short_description; end
599
- extend Byebug::Subcommands::ClassMethods
600
- include Byebug::Subcommands
601
- end
602
- class Byebug::InfoCommand::BreakpointsCommand < Byebug::Command
603
- def execute; end
604
- def info_breakpoint(brkpt); end
605
- def self.description; end
606
- def self.regexp; end
607
- def self.short_description; end
608
- end
609
- class Byebug::InfoCommand::DisplayCommand < Byebug::Command
610
- def execute; end
611
- def self.description; end
612
- def self.regexp; end
613
- def self.short_description; end
614
- end
615
- class Byebug::InfoCommand::FileCommand < Byebug::Command
616
- def execute; end
617
- def info_file_basic(file); end
618
- def info_file_breakpoints(file); end
619
- def info_file_mtime(file); end
620
- def info_file_sha1(file); end
621
- def self.description; end
622
- def self.regexp; end
623
- def self.short_description; end
624
- include Byebug::Helpers::FileHelper
625
- include Byebug::Helpers::StringHelper
626
- end
627
- class Byebug::InfoCommand::LineCommand < Byebug::Command
628
- def execute; end
629
- def self.description; end
630
- def self.regexp; end
631
- def self.short_description; end
632
- end
633
- class Byebug::InfoCommand::ProgramCommand < Byebug::Command
634
- def execute; end
635
- def format_stop_reason(stop_reason); end
636
- def self.description; end
637
- def self.regexp; end
638
- def self.short_description; end
639
- end
640
- class Byebug::InterruptCommand < Byebug::Command
641
- def execute; end
642
- def self.description; end
643
- def self.regexp; end
644
- def self.short_description; end
645
- end
646
- class Byebug::IrbCommand < Byebug::Command
647
- def execute; end
648
- def self.description; end
649
- def self.regexp; end
650
- def self.short_description; end
651
- def with_clean_argv; end
652
- end
653
- class Byebug::KillCommand < Byebug::Command
654
- def execute; end
655
- def self.description; end
656
- def self.regexp; end
657
- def self.short_description; end
658
- end
659
- class Byebug::ListCommand < Byebug::Command
660
- def amend_final(*args, &block); end
661
- def auto_range(direction); end
662
- def display_lines(min, max); end
663
- def execute; end
664
- def lower_bound(range); end
665
- def max_line(*args, &block); end
666
- def move(line, size, direction = nil); end
667
- def parse_range(input); end
668
- def range(input); end
669
- def self.description; end
670
- def self.regexp; end
671
- def self.short_description; end
672
- def size(*args, &block); end
673
- def source_file_formatter; end
674
- def split_range(str); end
675
- def upper_bound(range); end
676
- def valid_range?(first, last); end
677
- extend Forwardable
678
- include Byebug::Helpers::FileHelper
679
- include Byebug::Helpers::ParseHelper
680
- end
681
- class Byebug::MethodCommand < Byebug::Command
682
- def execute; end
683
- def self.description; end
684
- def self.regexp; end
685
- def self.short_description; end
686
- include Byebug::Helpers::EvalHelper
687
- end
688
- class Byebug::NextCommand < Byebug::Command
689
- def execute; end
690
- def self.description; end
691
- def self.regexp; end
692
- def self.short_description; end
693
- include Byebug::Helpers::ParseHelper
694
- end
695
- class Byebug::PryCommand < Byebug::Command
696
- def execute; end
697
- def self.description; end
698
- def self.regexp; end
699
- def self.short_description; end
700
- end
701
- class Byebug::QuitCommand < Byebug::Command
702
- def execute; end
703
- def self.description; end
704
- def self.regexp; end
705
- def self.short_description; end
706
- end
707
- module Byebug::Helpers::BinHelper
708
- def executable_file_extensions; end
709
- def find_executable(path, cmd); end
710
- def real_executable?(file); end
711
- def search_paths; end
712
- def which(cmd); end
713
- end
714
- class Byebug::RestartCommand < Byebug::Command
715
- def execute; end
716
- def prepend_byebug_bin(cmd); end
717
- def prepend_ruby_bin(cmd); end
718
- def self.description; end
719
- def self.regexp; end
720
- def self.short_description; end
721
- include Byebug::Helpers::BinHelper
722
- include Byebug::Helpers::PathHelper
723
- end
724
- class Byebug::SaveCommand < Byebug::Command
725
- def execute; end
726
- def save_breakpoints(file); end
727
- def save_catchpoints(file); end
728
- def save_displays(file); end
729
- def save_settings(file); end
730
- def self.description; end
731
- def self.regexp; end
732
- def self.short_description; end
733
- end
734
- class Byebug::SetCommand < Byebug::Command
735
- def execute; end
736
- def get_onoff(arg, default); end
737
- def self.description; end
738
- def self.help; end
739
- def self.regexp; end
740
- def self.short_description; end
741
- include Byebug::Helpers::ParseHelper
742
- end
743
- class Byebug::ShowCommand < Byebug::Command
744
- def execute; end
745
- def self.description; end
746
- def self.help; end
747
- def self.regexp; end
748
- def self.short_description; end
749
- end
750
- class Byebug::SkipCommand < Byebug::Command
751
- def auto_run; end
752
- def execute; end
753
- def initialize_attributes; end
754
- def keep_execution; end
755
- def reset_attributes; end
756
- def self.description; end
757
- def self.file_line; end
758
- def self.file_line=(arg0); end
759
- def self.file_path; end
760
- def self.file_path=(arg0); end
761
- def self.previous_autolist; end
762
- def self.regexp; end
763
- def self.restore_autolist; end
764
- def self.setup_autolist(value); end
765
- def self.short_description; end
766
- include Byebug::Helpers::ParseHelper
767
- end
768
- class Byebug::SourceCommand < Byebug::Command
769
- def execute; end
770
- def self.description; end
771
- def self.regexp; end
772
- def self.short_description; end
773
- end
774
- class Byebug::StepCommand < Byebug::Command
775
- def execute; end
776
- def self.description; end
777
- def self.regexp; end
778
- def self.short_description; end
779
- include Byebug::Helpers::ParseHelper
780
- end
781
- module Byebug::Helpers::ThreadHelper
782
- def context_from_thread(thnum); end
783
- def current_thread?(ctx); end
784
- def debug_flag(ctx); end
785
- def display_context(ctx); end
786
- def location(ctx); end
787
- def status_flag(ctx); end
788
- def thread_arguments(ctx); end
789
- end
790
- class Byebug::ThreadCommand < Byebug::Command
791
- def self.description; end
792
- def self.regexp; end
793
- def self.short_description; end
794
- extend Byebug::Subcommands::ClassMethods
795
- include Byebug::Subcommands
796
- end
797
- class Byebug::ThreadCommand::CurrentCommand < Byebug::Command
798
- def execute; end
799
- def self.description; end
800
- def self.regexp; end
801
- def self.short_description; end
802
- include Byebug::Helpers::ThreadHelper
803
- end
804
- class Byebug::ThreadCommand::ListCommand < Byebug::Command
805
- def execute; end
806
- def self.description; end
807
- def self.regexp; end
808
- def self.short_description; end
809
- include Byebug::Helpers::ThreadHelper
810
- end
811
- class Byebug::ThreadCommand::ResumeCommand < Byebug::Command
812
- def execute; end
813
- def self.description; end
814
- def self.regexp; end
815
- def self.short_description; end
816
- include Byebug::Helpers::ThreadHelper
817
- end
818
- class Byebug::ThreadCommand::StopCommand < Byebug::Command
819
- def execute; end
820
- def self.description; end
821
- def self.regexp; end
822
- def self.short_description; end
823
- include Byebug::Helpers::ThreadHelper
824
- end
825
- class Byebug::ThreadCommand::SwitchCommand < Byebug::Command
826
- def execute; end
827
- def self.description; end
828
- def self.regexp; end
829
- def self.short_description; end
830
- include Byebug::Helpers::ThreadHelper
831
- end
832
- class Byebug::TracevarCommand < Byebug::Command
833
- def execute; end
834
- def on_change(name, value, stop); end
835
- def self.description; end
836
- def self.regexp; end
837
- def self.short_description; end
838
- end
839
- class Byebug::UndisplayCommand < Byebug::Command
840
- def execute; end
841
- def self.description; end
842
- def self.regexp; end
843
- def self.short_description; end
844
- include Byebug::Helpers::ParseHelper
845
- end
846
- class Byebug::UntracevarCommand < Byebug::Command
847
- def execute; end
848
- def self.description; end
849
- def self.regexp; end
850
- def self.short_description; end
851
- end
852
- class Byebug::UpCommand < Byebug::Command
853
- def execute; end
854
- def self.description; end
855
- def self.regexp; end
856
- def self.short_description; end
857
- include Byebug::Helpers::FrameHelper
858
- include Byebug::Helpers::ParseHelper
859
- end
860
- module Byebug::Helpers::VarHelper
861
- def var_args; end
862
- def var_global; end
863
- def var_instance(str); end
864
- def var_list(ary, binding = nil); end
865
- def var_local; end
866
- include Byebug::Helpers::EvalHelper
867
- end
868
- class Byebug::VarCommand < Byebug::Command
869
- def self.description; end
870
- def self.regexp; end
871
- def self.short_description; end
872
- extend Byebug::Subcommands::ClassMethods
873
- include Byebug::Subcommands
874
- end
875
- class Byebug::VarCommand::AllCommand < Byebug::Command
876
- def execute; end
877
- def self.description; end
878
- def self.regexp; end
879
- def self.short_description; end
880
- include Byebug::Helpers::VarHelper
881
- end
882
- class Byebug::VarCommand::ArgsCommand < Byebug::Command
883
- def execute; end
884
- def self.description; end
885
- def self.regexp; end
886
- def self.short_description; end
887
- include Byebug::Helpers::VarHelper
888
- end
889
- class Byebug::VarCommand::ConstCommand < Byebug::Command
890
- def execute; end
891
- def self.description; end
892
- def self.regexp; end
893
- def self.short_description; end
894
- def str_obj; end
895
- include Byebug::Helpers::EvalHelper
896
- end
897
- class Byebug::VarCommand::InstanceCommand < Byebug::Command
898
- def execute; end
899
- def self.description; end
900
- def self.regexp; end
901
- def self.short_description; end
902
- include Byebug::Helpers::VarHelper
903
- end
904
- class Byebug::VarCommand::LocalCommand < Byebug::Command
905
- def execute; end
906
- def self.description; end
907
- def self.regexp; end
908
- def self.short_description; end
909
- include Byebug::Helpers::VarHelper
910
- end
911
- class Byebug::VarCommand::GlobalCommand < Byebug::Command
912
- def execute; end
913
- def self.description; end
914
- def self.regexp; end
915
- def self.short_description; end
916
- include Byebug::Helpers::VarHelper
917
- end
918
- class Byebug::WhereCommand < Byebug::Command
919
- def execute; end
920
- def print_backtrace; end
921
- def self.description; end
922
- def self.regexp; end
923
- def self.short_description; end
924
- include Byebug::Helpers::FrameHelper
925
- end
926
- class Byebug::ControlProcessor < Byebug::CommandProcessor
927
- def commands; end
928
- def prompt; end
929
- end
930
- module Byebug::Remote
931
- end
932
- class Byebug::Remote::Server
933
- def actual_port; end
934
- def initialize(wait_connection:, &block); end
935
- def start(host, port); end
936
- def wait_connection; end
937
- end
938
- class Byebug::Remote::Client
939
- def connect_at(host, port); end
940
- def initialize(interface); end
941
- def interface; end
942
- def socket; end
943
- def start(host = nil, port = nil); end
944
- def started?; end
945
- end
946
- module Byebug::Printers
947
- end
948
- class Byebug::Printers::Base
949
- def array_of_args(collection, &_block); end
950
- def contents; end
951
- def contents_files; end
952
- def locate(path); end
953
- def parts(path); end
954
- def translate(string, args = nil); end
955
- def type; end
956
- end
957
- class Byebug::Printers::Base::MissedPath < StandardError
958
- end
959
- class Byebug::Printers::Base::MissedArgument < StandardError
960
- end
961
- class Byebug::Printers::Plain < Byebug::Printers::Base
962
- def contents_files; end
963
- def print(path, args = nil); end
964
- def print_collection(path, collection, &block); end
965
- def print_variables(variables, *_unused); end
966
- end
967
- class Byebug::AutoprySetting < Byebug::Setting
968
- def banner; end
969
- def initialize; end
970
- def value; end
971
- def value=(val); end
972
- end
973
- class Byebug::StackOnErrorSetting < Byebug::Setting
974
- def banner; end
975
- end
976
- class Byebug::HistfileSetting < Byebug::Setting
977
- def banner; end
978
- def to_s; end
979
- end
980
- class Byebug::WidthSetting < Byebug::Setting
981
- def banner; end
982
- def to_s; end
983
- end
984
- class Byebug::SavefileSetting < Byebug::Setting
985
- def banner; end
986
- def to_s; end
987
- end
988
- class Byebug::FullpathSetting < Byebug::Setting
989
- def banner; end
990
- end
991
- class Byebug::BasenameSetting < Byebug::Setting
992
- def banner; end
993
- end
994
- class Byebug::ListsizeSetting < Byebug::Setting
995
- def banner; end
996
- def to_s; end
997
- end
998
- class Byebug::AutolistSetting < Byebug::Setting
999
- def banner; end
1000
- def initialize; end
1001
- def value; end
1002
- def value=(val); end
1003
- end
1004
- class Byebug::AutosaveSetting < Byebug::Setting
1005
- def banner; end
1006
- end
1007
- class Byebug::CallstyleSetting < Byebug::Setting
1008
- def banner; end
1009
- def to_s; end
1010
- end
1011
- class Byebug::PostMortemSetting < Byebug::Setting
1012
- def banner; end
1013
- def initialize; end
1014
- def value; end
1015
- def value=(val); end
1016
- end
1017
- class Byebug::HistsizeSetting < Byebug::Setting
1018
- def banner; end
1019
- def to_s; end
1020
- end
1021
- class Byebug::AutoirbSetting < Byebug::Setting
1022
- def banner; end
1023
- def initialize; end
1024
- def value; end
1025
- def value=(val); end
1026
- end
1027
- class Byebug::LinetraceSetting < Byebug::Setting
1028
- def banner; end
1029
- def value; end
1030
- def value=(val); end
1031
- end
1032
- class Exception
1033
- def __bb_context; end
1034
- end
1035
- module Kernel
1036
- def byebug; end
1037
- def debugger; end
1038
- def remote_byebug(host = nil, port = nil); end
1039
- end