dear_inventory 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +2 -0
  3. data/.gitignore +15 -0
  4. data/.rspec +5 -0
  5. data/.rubocop.yml +84 -0
  6. data/.travis.yml +7 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +6 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +69 -0
  11. data/Rakefile +8 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/dear_inventory.gemspec +45 -0
  15. data/lib/dear_inventory.rb +79 -0
  16. data/lib/dear_inventory/config.rb +55 -0
  17. data/lib/dear_inventory/environment.rb +54 -0
  18. data/lib/dear_inventory/error.rb +16 -0
  19. data/lib/dear_inventory/errors/request.rb +40 -0
  20. data/lib/dear_inventory/errors/validation.rb +6 -0
  21. data/lib/dear_inventory/lib/date_time.rb +18 -0
  22. data/lib/dear_inventory/lib/endpoint_class.rb +57 -0
  23. data/lib/dear_inventory/lib/is_a_subclass.rb +19 -0
  24. data/lib/dear_inventory/model.rb +98 -0
  25. data/lib/dear_inventory/models/additional_attributes.rb +53 -0
  26. data/lib/dear_inventory/models/additional_charge.rb +45 -0
  27. data/lib/dear_inventory/models/address.rb +45 -0
  28. data/lib/dear_inventory/models/attachment.rb +33 -0
  29. data/lib/dear_inventory/models/inventory_movement.rb +29 -0
  30. data/lib/dear_inventory/models/sale.rb +217 -0
  31. data/lib/dear_inventory/models/sale_list.rb +133 -0
  32. data/lib/dear_inventory/models/sale_lists.rb +26 -0
  33. data/lib/dear_inventory/models/sales/credit_note.rb +75 -0
  34. data/lib/dear_inventory/models/sales/fulfilment.rb +46 -0
  35. data/lib/dear_inventory/models/sales/fulfilments/pick_pack.rb +26 -0
  36. data/lib/dear_inventory/models/sales/fulfilments/pick_pack_line.rb +57 -0
  37. data/lib/dear_inventory/models/sales/fulfilments/ship.rb +35 -0
  38. data/lib/dear_inventory/models/sales/fulfilments/ship_line.rb +45 -0
  39. data/lib/dear_inventory/models/sales/invoice.rb +86 -0
  40. data/lib/dear_inventory/models/sales/invoice_line.rb +19 -0
  41. data/lib/dear_inventory/models/sales/line.rb +59 -0
  42. data/lib/dear_inventory/models/sales/manual_journal.rb +24 -0
  43. data/lib/dear_inventory/models/sales/manual_journal_line.rb +35 -0
  44. data/lib/dear_inventory/models/sales/order.rb +49 -0
  45. data/lib/dear_inventory/models/sales/payment_line.rb +43 -0
  46. data/lib/dear_inventory/models/sales/quote.rb +50 -0
  47. data/lib/dear_inventory/models/shipping_address.rb +25 -0
  48. data/lib/dear_inventory/models/transaction.rb +41 -0
  49. data/lib/dear_inventory/parameters.rb +209 -0
  50. data/lib/dear_inventory/parameters/sale/index.rb +35 -0
  51. data/lib/dear_inventory/parameters/sale_list/index.rb +119 -0
  52. data/lib/dear_inventory/resource.rb +59 -0
  53. data/lib/dear_inventory/resources/sale.rb +22 -0
  54. data/lib/dear_inventory/resources/sale_list.rb +24 -0
  55. data/lib/dear_inventory/response.rb +75 -0
  56. data/lib/dear_inventory/validator.rb +61 -0
  57. data/lib/dear_inventory/validators/boolean.rb +18 -0
  58. data/lib/dear_inventory/validators/enum.rb +23 -0
  59. data/lib/dear_inventory/validators/guid.rb +27 -0
  60. data/lib/dear_inventory/validators/integer.rb +19 -0
  61. data/lib/dear_inventory/validators/required.rb +17 -0
  62. data/lib/dear_inventory/validators/string.rb +35 -0
  63. data/lib/dear_inventory/validators/time.rb +21 -0
  64. data/lib/dear_inventory/version.rb +6 -0
  65. data/sorbet/config +2 -0
  66. data/sorbet/rbi/gems/addressable.rbi +199 -0
  67. data/sorbet/rbi/gems/ast.rbi +48 -0
  68. data/sorbet/rbi/gems/byebug.rbi +1040 -0
  69. data/sorbet/rbi/gems/coderay.rbi +92 -0
  70. data/sorbet/rbi/gems/crack.rbi +48 -0
  71. data/sorbet/rbi/gems/domain_name.rbi +52 -0
  72. data/sorbet/rbi/gems/dotenv.rbi +68 -0
  73. data/sorbet/rbi/gems/ffi-compiler.rbi +27 -0
  74. data/sorbet/rbi/gems/ffi.rbi +560 -0
  75. data/sorbet/rbi/gems/hashdiff.rbi +66 -0
  76. data/sorbet/rbi/gems/http-cookie.rbi +93 -0
  77. data/sorbet/rbi/gems/http-form_data.rbi +76 -0
  78. data/sorbet/rbi/gems/http-parser.rbi +121 -0
  79. data/sorbet/rbi/gems/http.rbi +616 -0
  80. data/sorbet/rbi/gems/jaro_winkler.rbi +15 -0
  81. data/sorbet/rbi/gems/method_source.rbi +64 -0
  82. data/sorbet/rbi/gems/parallel.rbi +82 -0
  83. data/sorbet/rbi/gems/parser.rbi +857 -0
  84. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  85. data/sorbet/rbi/gems/pry.rbi +1965 -0
  86. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  87. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  88. data/sorbet/rbi/gems/rake.rbi +646 -0
  89. data/sorbet/rbi/gems/rspec-core.rbi +1732 -0
  90. data/sorbet/rbi/gems/rspec-expectations.rbi +388 -0
  91. data/sorbet/rbi/gems/rspec-mocks.rbi +820 -0
  92. data/sorbet/rbi/gems/rspec-support.rbi +269 -0
  93. data/sorbet/rbi/gems/rspec.rbi +15 -0
  94. data/sorbet/rbi/gems/rubocop-performance.rbi +277 -0
  95. data/sorbet/rbi/gems/rubocop-rspec.rbi +887 -0
  96. data/sorbet/rbi/gems/rubocop.rbi +6952 -0
  97. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  98. data/sorbet/rbi/gems/unf.rbi +19 -0
  99. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  100. data/sorbet/rbi/gems/vcr.rbi +572 -0
  101. data/sorbet/rbi/gems/webmock.rbi +569 -0
  102. data/sorbet/rbi/hidden-definitions/errors.txt +11809 -0
  103. data/sorbet/rbi/hidden-definitions/hidden.rbi +20627 -0
  104. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  105. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  106. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  107. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  108. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  109. data/sorbet/rbi/todo.rbi +11 -0
  110. metadata +339 -0
@@ -0,0 +1,15 @@
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/jaro_winkler/all/jaro_winkler.rbi
9
+ #
10
+ # jaro_winkler-1.5.4
11
+
12
+ module JaroWinkler
13
+ def self.distance(*arg0); end
14
+ def self.jaro_distance(*arg0); end
15
+ end
@@ -0,0 +1,64 @@
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/method_source/all/method_source.rbi
9
+ #
10
+ # method_source-0.9.2
11
+
12
+ module MethodSource
13
+ def self.comment_helper(source_location, name = nil); end
14
+ def self.extract_code(source_location); end
15
+ def self.lines_for(file_name, name = nil); end
16
+ def self.source_helper(source_location, name = nil); end
17
+ def self.valid_expression?(str); end
18
+ extend MethodSource::CodeHelpers
19
+ end
20
+ module MethodSource::ReeSourceLocation
21
+ def source_location; end
22
+ end
23
+ module MethodSource::SourceLocation
24
+ end
25
+ module MethodSource::SourceLocation::MethodExtensions
26
+ def source_location; end
27
+ def trace_func(event, file, line, id, binding, classname); end
28
+ end
29
+ module MethodSource::SourceLocation::ProcExtensions
30
+ def source_location; end
31
+ end
32
+ module MethodSource::SourceLocation::UnboundMethodExtensions
33
+ def source_location; end
34
+ end
35
+ module MethodSource::CodeHelpers
36
+ def comment_describing(file, line_number); end
37
+ def complete_expression?(str); end
38
+ def expression_at(file, line_number, options = nil); end
39
+ def extract_first_expression(lines, consume = nil, &block); end
40
+ def extract_last_comment(lines); end
41
+ end
42
+ module MethodSource::CodeHelpers::IncompleteExpression
43
+ def self.===(ex); end
44
+ def self.rbx?; end
45
+ end
46
+ class MethodSource::SourceNotFoundError < StandardError
47
+ end
48
+ module MethodSource::MethodExtensions
49
+ def comment; end
50
+ def self.included(klass); end
51
+ def source; end
52
+ end
53
+ class Method
54
+ include MethodSource::MethodExtensions
55
+ include MethodSource::SourceLocation::MethodExtensions
56
+ end
57
+ class UnboundMethod
58
+ include MethodSource::MethodExtensions
59
+ include MethodSource::SourceLocation::UnboundMethodExtensions
60
+ end
61
+ class Proc
62
+ include MethodSource::MethodExtensions
63
+ include MethodSource::SourceLocation::ProcExtensions
64
+ end
@@ -0,0 +1,82 @@
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/parallel/all/parallel.rbi
9
+ #
10
+ # parallel-1.19.1
11
+
12
+ module Parallel
13
+ def self.add_progress_bar!(job_factory, options); end
14
+ def self.all?(*args, &block); end
15
+ def self.any?(*args, &block); end
16
+ def self.call_with_index(item, index, options, &block); end
17
+ def self.create_workers(job_factory, options, &block); end
18
+ def self.each(array, options = nil, &block); end
19
+ def self.each_with_index(array, options = nil, &block); end
20
+ def self.extract_count_from_options(options); end
21
+ def self.flat_map(*args, &block); end
22
+ def self.handle_exception(exception, results); end
23
+ def self.in_processes(options = nil, &block); end
24
+ def self.in_threads(options = nil); end
25
+ def self.map(source, options = nil, &block); end
26
+ def self.map_with_index(array, options = nil, &block); end
27
+ def self.process_incoming_jobs(read, write, job_factory, options, &block); end
28
+ def self.replace_worker(job_factory, workers, i, options, blk); end
29
+ def self.with_instrumentation(item, index, options); end
30
+ def self.work_direct(job_factory, options, &block); end
31
+ def self.work_in_processes(job_factory, options, &blk); end
32
+ def self.work_in_threads(job_factory, options, &block); end
33
+ def self.worker(job_factory, options, &block); end
34
+ def self.worker_number; end
35
+ def self.worker_number=(worker_num); end
36
+ extend Parallel::ProcessorCount
37
+ end
38
+ module Parallel::ProcessorCount
39
+ def physical_processor_count; end
40
+ def processor_count; end
41
+ end
42
+ class Parallel::DeadWorker < StandardError
43
+ end
44
+ class Parallel::Break < StandardError
45
+ end
46
+ class Parallel::Kill < StandardError
47
+ end
48
+ class Parallel::UndumpableException < StandardError
49
+ def backtrace; end
50
+ def initialize(original); end
51
+ end
52
+ class Parallel::ExceptionWrapper
53
+ def exception; end
54
+ def initialize(exception); end
55
+ end
56
+ class Parallel::Worker
57
+ def close_pipes; end
58
+ def initialize(read, write, pid); end
59
+ def pid; end
60
+ def read; end
61
+ def stop; end
62
+ def thread; end
63
+ def thread=(arg0); end
64
+ def wait; end
65
+ def work(data); end
66
+ def write; end
67
+ end
68
+ class Parallel::JobFactory
69
+ def initialize(source, mutex); end
70
+ def next; end
71
+ def pack(item, index); end
72
+ def producer?; end
73
+ def queue_wrapper(array); end
74
+ def size; end
75
+ def unpack(data); end
76
+ end
77
+ class Parallel::UserInterruptHandler
78
+ def self.kill(thing); end
79
+ def self.kill_on_ctrl_c(pids, options); end
80
+ def self.restore_interrupt(old, signal); end
81
+ def self.trap_interrupt(signal); end
82
+ end
@@ -0,0 +1,857 @@
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/parser/all/parser.rbi
9
+ #
10
+ # parser-2.6.5.0
11
+
12
+ module Parser
13
+ end
14
+ module Parser::Deprecation
15
+ def warn_of_deprecation; end
16
+ def warned_of_deprecation=(arg0); end
17
+ end
18
+ module Parser::AST
19
+ end
20
+ class Parser::AST::Node < AST::Node
21
+ def assign_properties(properties); end
22
+ def loc; end
23
+ def location; end
24
+ end
25
+ class Parser::AST::Processor < AST::Processor
26
+ def on_alias(node); end
27
+ def on_and(node); end
28
+ def on_and_asgn(node); end
29
+ def on_arg(node); end
30
+ def on_arg_expr(node); end
31
+ def on_args(node); end
32
+ def on_argument(node); end
33
+ def on_array(node); end
34
+ def on_back_ref(node); end
35
+ def on_begin(node); end
36
+ def on_block(node); end
37
+ def on_block_pass(node); end
38
+ def on_blockarg(node); end
39
+ def on_blockarg_expr(node); end
40
+ def on_break(node); end
41
+ def on_case(node); end
42
+ def on_casgn(node); end
43
+ def on_class(node); end
44
+ def on_const(node); end
45
+ def on_csend(node); end
46
+ def on_cvar(node); end
47
+ def on_cvasgn(node); end
48
+ def on_def(node); end
49
+ def on_defined?(node); end
50
+ def on_defs(node); end
51
+ def on_dstr(node); end
52
+ def on_dsym(node); end
53
+ def on_eflipflop(node); end
54
+ def on_ensure(node); end
55
+ def on_erange(node); end
56
+ def on_for(node); end
57
+ def on_gvar(node); end
58
+ def on_gvasgn(node); end
59
+ def on_hash(node); end
60
+ def on_if(node); end
61
+ def on_iflipflop(node); end
62
+ def on_index(node); end
63
+ def on_indexasgn(node); end
64
+ def on_irange(node); end
65
+ def on_ivar(node); end
66
+ def on_ivasgn(node); end
67
+ def on_kwarg(node); end
68
+ def on_kwbegin(node); end
69
+ def on_kwoptarg(node); end
70
+ def on_kwrestarg(node); end
71
+ def on_kwsplat(node); end
72
+ def on_lambda(node); end
73
+ def on_lvar(node); end
74
+ def on_lvasgn(node); end
75
+ def on_masgn(node); end
76
+ def on_match_current_line(node); end
77
+ def on_match_with_lvasgn(node); end
78
+ def on_mlhs(node); end
79
+ def on_module(node); end
80
+ def on_next(node); end
81
+ def on_not(node); end
82
+ def on_nth_ref(node); end
83
+ def on_numblock(node); end
84
+ def on_op_asgn(node); end
85
+ def on_optarg(node); end
86
+ def on_or(node); end
87
+ def on_or_asgn(node); end
88
+ def on_pair(node); end
89
+ def on_postexe(node); end
90
+ def on_preexe(node); end
91
+ def on_procarg0(node); end
92
+ def on_redo(node); end
93
+ def on_regexp(node); end
94
+ def on_resbody(node); end
95
+ def on_rescue(node); end
96
+ def on_restarg(node); end
97
+ def on_restarg_expr(node); end
98
+ def on_retry(node); end
99
+ def on_return(node); end
100
+ def on_sclass(node); end
101
+ def on_send(node); end
102
+ def on_shadowarg(node); end
103
+ def on_splat(node); end
104
+ def on_super(node); end
105
+ def on_undef(node); end
106
+ def on_until(node); end
107
+ def on_until_post(node); end
108
+ def on_var(node); end
109
+ def on_vasgn(node); end
110
+ def on_when(node); end
111
+ def on_while(node); end
112
+ def on_while_post(node); end
113
+ def on_xstr(node); end
114
+ def on_yield(node); end
115
+ def process_argument_node(node); end
116
+ def process_regular_node(node); end
117
+ def process_var_asgn_node(node); end
118
+ def process_variable_node(node); end
119
+ end
120
+ module Parser::Meta
121
+ end
122
+ module Parser::Source
123
+ end
124
+ class Parser::Source::Buffer
125
+ def column_for_position(position); end
126
+ def decompose_position(position); end
127
+ def first_line; end
128
+ def initialize(name, first_line = nil); end
129
+ def last_line; end
130
+ def line_begins; end
131
+ def line_for(position); end
132
+ def line_for_position(position); end
133
+ def line_range(lineno); end
134
+ def name; end
135
+ def raw_source=(input); end
136
+ def read; end
137
+ def self.recognize_encoding(string); end
138
+ def self.reencode_string(input); end
139
+ def slice(range); end
140
+ def source; end
141
+ def source=(input); end
142
+ def source_line(lineno); end
143
+ def source_lines; end
144
+ def source_range; end
145
+ end
146
+ class Parser::Source::Range
147
+ def <=>(other); end
148
+ def adjust(begin_pos: nil, end_pos: nil); end
149
+ def begin; end
150
+ def begin_pos; end
151
+ def column; end
152
+ def column_range; end
153
+ def contained?(other); end
154
+ def contains?(other); end
155
+ def crossing?(other); end
156
+ def disjoint?(other); end
157
+ def empty?; end
158
+ def end; end
159
+ def end_pos; end
160
+ def first_line; end
161
+ def initialize(source_buffer, begin_pos, end_pos); end
162
+ def inspect; end
163
+ def intersect(other); end
164
+ def is?(*what); end
165
+ def join(other); end
166
+ def last_column; end
167
+ def last_line; end
168
+ def length; end
169
+ def line; end
170
+ def overlaps?(other); end
171
+ def resize(new_size); end
172
+ def size; end
173
+ def source; end
174
+ def source_buffer; end
175
+ def source_line; end
176
+ def to_a; end
177
+ def to_s; end
178
+ def with(begin_pos: nil, end_pos: nil); end
179
+ include Comparable
180
+ end
181
+ class Parser::Source::Comment
182
+ def ==(other); end
183
+ def document?; end
184
+ def initialize(range); end
185
+ def inline?; end
186
+ def inspect; end
187
+ def loc; end
188
+ def location; end
189
+ def self.associate(ast, comments); end
190
+ def self.associate_locations(ast, comments); end
191
+ def text; end
192
+ def type; end
193
+ end
194
+ class Parser::Source::Comment::Associator
195
+ def advance_comment; end
196
+ def advance_through_directives; end
197
+ def associate; end
198
+ def associate_and_advance_comment(node); end
199
+ def associate_locations; end
200
+ def current_comment_before?(node); end
201
+ def current_comment_before_end?(node); end
202
+ def current_comment_decorates?(node); end
203
+ def do_associate; end
204
+ def initialize(ast, comments); end
205
+ def process_leading_comments(node); end
206
+ def process_trailing_comments(node); end
207
+ def skip_directives; end
208
+ def skip_directives=(arg0); end
209
+ def visit(node); end
210
+ end
211
+ class Parser::Source::Rewriter
212
+ def active_clobber; end
213
+ def active_clobber=(value); end
214
+ def active_insertions; end
215
+ def active_insertions=(value); end
216
+ def active_queue; end
217
+ def adjacent?(range1, range2); end
218
+ def adjacent_insertion_mask(range); end
219
+ def adjacent_insertions?(range); end
220
+ def adjacent_position_mask(range); end
221
+ def adjacent_updates?(range); end
222
+ def append(action); end
223
+ def can_merge?(action, existing); end
224
+ def clobbered_insertion?(insertion); end
225
+ def clobbered_position_mask(range); end
226
+ def diagnostics; end
227
+ def in_transaction?; end
228
+ def initialize(source_buffer); end
229
+ def insert_after(range, content); end
230
+ def insert_after_multi(range, content); end
231
+ def insert_before(range, content); end
232
+ def insert_before_multi(range, content); end
233
+ def merge_actions!(action, existing); end
234
+ def merge_actions(action, existing); end
235
+ def merge_replacements(actions); end
236
+ def process; end
237
+ def raise_clobber_error(action, existing); end
238
+ def record_insertion(range); end
239
+ def record_replace(range); end
240
+ def remove(range); end
241
+ def replace(range, content); end
242
+ def replace_actions(old, updated); end
243
+ def replace_compatible_with_insertion?(replace, insertion); end
244
+ def source_buffer; end
245
+ def transaction; end
246
+ def wrap(range, before, after); end
247
+ extend Parser::Deprecation
248
+ end
249
+ class Parser::Source::Rewriter::Action
250
+ def <=>(other); end
251
+ def allow_multiple_insertions; end
252
+ def allow_multiple_insertions?; end
253
+ def initialize(range, replacement = nil, allow_multiple_insertions = nil, order = nil); end
254
+ def order; end
255
+ def range; end
256
+ def replacement; end
257
+ def to_s; end
258
+ include Comparable
259
+ end
260
+ class Parser::Source::TreeRewriter
261
+ def check_policy_validity; end
262
+ def check_range_validity(range); end
263
+ def combine(range, attributes); end
264
+ def diagnostics; end
265
+ def enforce_policy(event); end
266
+ def in_transaction?; end
267
+ def initialize(source_buffer, crossing_deletions: nil, different_replacements: nil, swallowed_insertions: nil); end
268
+ def insert_after(range, content); end
269
+ def insert_after_multi(range, text); end
270
+ def insert_before(range, content); end
271
+ def insert_before_multi(range, text); end
272
+ def process; end
273
+ def remove(range); end
274
+ def replace(range, content); end
275
+ def source_buffer; end
276
+ def transaction; end
277
+ def trigger_policy(event, range: nil, conflict: nil, **arguments); end
278
+ def wrap(range, insert_before, insert_after); end
279
+ extend Parser::Deprecation
280
+ end
281
+ class Parser::Source::TreeRewriter::Action
282
+ def call_enforcer_for_merge(action); end
283
+ def combine(action); end
284
+ def do_combine(action); end
285
+ def fuse_deletions(action, fusible, other_sibblings); end
286
+ def initialize(range, enforcer, insert_before: nil, replacement: nil, insert_after: nil, children: nil); end
287
+ def insert_after; end
288
+ def insert_before; end
289
+ def insertion?; end
290
+ def merge(action); end
291
+ def ordered_replacements; end
292
+ def place_in_hierachy(action); end
293
+ def range; end
294
+ def relationship_with(action); end
295
+ def replacement; end
296
+ def swallow(children); end
297
+ def with(range: nil, children: nil, insert_before: nil, replacement: nil, insert_after: nil); end
298
+ end
299
+ class Parser::Source::Map
300
+ def ==(other); end
301
+ def column; end
302
+ def expression; end
303
+ def first_line; end
304
+ def initialize(expression); end
305
+ def initialize_copy(other); end
306
+ def last_column; end
307
+ def last_line; end
308
+ def line; end
309
+ def node; end
310
+ def node=(node); end
311
+ def to_hash; end
312
+ def update_expression(expression_l); end
313
+ def with(&block); end
314
+ def with_expression(expression_l); end
315
+ end
316
+ class Parser::Source::Map::Operator < Parser::Source::Map
317
+ def initialize(operator, expression); end
318
+ def operator; end
319
+ end
320
+ class Parser::Source::Map::Collection < Parser::Source::Map
321
+ def begin; end
322
+ def end; end
323
+ def initialize(begin_l, end_l, expression_l); end
324
+ end
325
+ class Parser::Source::Map::Constant < Parser::Source::Map
326
+ def double_colon; end
327
+ def initialize(double_colon, name, expression); end
328
+ def name; end
329
+ def operator; end
330
+ def update_operator(operator_l); end
331
+ def with_operator(operator_l); end
332
+ end
333
+ class Parser::Source::Map::Variable < Parser::Source::Map
334
+ def initialize(name_l, expression_l = nil); end
335
+ def name; end
336
+ def operator; end
337
+ def update_operator(operator_l); end
338
+ def with_operator(operator_l); end
339
+ end
340
+ class Parser::Source::Map::Keyword < Parser::Source::Map
341
+ def begin; end
342
+ def end; end
343
+ def initialize(keyword_l, begin_l, end_l, expression_l); end
344
+ def keyword; end
345
+ end
346
+ class Parser::Source::Map::Definition < Parser::Source::Map
347
+ def end; end
348
+ def initialize(keyword_l, operator_l, name_l, end_l); end
349
+ def keyword; end
350
+ def name; end
351
+ def operator; end
352
+ end
353
+ class Parser::Source::Map::Send < Parser::Source::Map
354
+ def begin; end
355
+ def dot; end
356
+ def end; end
357
+ def initialize(dot_l, selector_l, begin_l, end_l, expression_l); end
358
+ def operator; end
359
+ def selector; end
360
+ def update_operator(operator_l); end
361
+ def with_operator(operator_l); end
362
+ end
363
+ class Parser::Source::Map::Index < Parser::Source::Map
364
+ def begin; end
365
+ def end; end
366
+ def initialize(begin_l, end_l, expression_l); end
367
+ def operator; end
368
+ def update_operator(operator_l); end
369
+ def with_operator(operator_l); end
370
+ end
371
+ class Parser::Source::Map::Condition < Parser::Source::Map
372
+ def begin; end
373
+ def else; end
374
+ def end; end
375
+ def initialize(keyword_l, begin_l, else_l, end_l, expression_l); end
376
+ def keyword; end
377
+ end
378
+ class Parser::Source::Map::Ternary < Parser::Source::Map
379
+ def colon; end
380
+ def initialize(question_l, colon_l, expression_l); end
381
+ def question; end
382
+ end
383
+ class Parser::Source::Map::For < Parser::Source::Map
384
+ def begin; end
385
+ def end; end
386
+ def in; end
387
+ def initialize(keyword_l, in_l, begin_l, end_l, expression_l); end
388
+ def keyword; end
389
+ end
390
+ class Parser::Source::Map::RescueBody < Parser::Source::Map
391
+ def assoc; end
392
+ def begin; end
393
+ def initialize(keyword_l, assoc_l, begin_l, expression_l); end
394
+ def keyword; end
395
+ end
396
+ class Parser::Source::Map::Heredoc < Parser::Source::Map
397
+ def heredoc_body; end
398
+ def heredoc_end; end
399
+ def initialize(begin_l, body_l, end_l); end
400
+ end
401
+ class Parser::Source::Map::ObjcKwarg < Parser::Source::Map
402
+ def argument; end
403
+ def initialize(keyword_l, operator_l, argument_l, expression_l); end
404
+ def keyword; end
405
+ def operator; end
406
+ end
407
+ class Parser::SyntaxError < StandardError
408
+ def diagnostic; end
409
+ def initialize(diagnostic); end
410
+ end
411
+ class Parser::ClobberingError < RuntimeError
412
+ end
413
+ class Parser::Diagnostic
414
+ def arguments; end
415
+ def first_line_only(range); end
416
+ def highlights; end
417
+ def initialize(level, reason, arguments, location, highlights = nil); end
418
+ def last_line_only(range); end
419
+ def level; end
420
+ def location; end
421
+ def message; end
422
+ def reason; end
423
+ def render; end
424
+ def render_line(range, ellipsis = nil, range_end = nil); end
425
+ end
426
+ class Parser::Diagnostic::Engine
427
+ def all_errors_are_fatal; end
428
+ def all_errors_are_fatal=(arg0); end
429
+ def consumer; end
430
+ def consumer=(arg0); end
431
+ def ignore?(diagnostic); end
432
+ def ignore_warnings; end
433
+ def ignore_warnings=(arg0); end
434
+ def initialize(consumer = nil); end
435
+ def process(diagnostic); end
436
+ def raise?(diagnostic); end
437
+ end
438
+ class Parser::StaticEnvironment
439
+ def declare(name); end
440
+ def declared?(name); end
441
+ def extend_dynamic; end
442
+ def extend_static; end
443
+ def initialize; end
444
+ def reset; end
445
+ def unextend; end
446
+ end
447
+ class Parser::Lexer
448
+ def advance; end
449
+ def arg_or_cmdarg(cmd_state); end
450
+ def cmdarg; end
451
+ def cmdarg=(arg0); end
452
+ def comments; end
453
+ def comments=(arg0); end
454
+ def cond; end
455
+ def cond=(arg0); end
456
+ def context; end
457
+ def context=(arg0); end
458
+ def dedent_level; end
459
+ def diagnostic(type, reason, arguments = nil, location = nil, highlights = nil); end
460
+ def diagnostics; end
461
+ def diagnostics=(arg0); end
462
+ def emit(type, value = nil, s = nil, e = nil); end
463
+ def emit_comment(s = nil, e = nil); end
464
+ def emit_do(do_block = nil); end
465
+ def emit_table(table, s = nil, e = nil); end
466
+ def encode_escape(ord); end
467
+ def encoding; end
468
+ def eof_codepoint?(point); end
469
+ def force_utf32; end
470
+ def force_utf32=(arg0); end
471
+ def in_kwarg; end
472
+ def in_kwarg=(arg0); end
473
+ def initialize(version); end
474
+ def literal; end
475
+ def max_numparam; end
476
+ def max_numparam_stack; end
477
+ def next_state_for_literal(literal); end
478
+ def pop_cmdarg; end
479
+ def pop_cond; end
480
+ def pop_literal; end
481
+ def push_cmdarg; end
482
+ def push_cond; end
483
+ def push_literal(*args); end
484
+ def range(s = nil, e = nil); end
485
+ def reset(reset_state = nil); end
486
+ def self._lex_eof_trans; end
487
+ def self._lex_eof_trans=(arg0); end
488
+ def self._lex_from_state_actions; end
489
+ def self._lex_from_state_actions=(arg0); end
490
+ def self._lex_index_offsets; end
491
+ def self._lex_index_offsets=(arg0); end
492
+ def self._lex_indicies; end
493
+ def self._lex_indicies=(arg0); end
494
+ def self._lex_key_spans; end
495
+ def self._lex_key_spans=(arg0); end
496
+ def self._lex_to_state_actions; end
497
+ def self._lex_to_state_actions=(arg0); end
498
+ def self._lex_trans_actions; end
499
+ def self._lex_trans_actions=(arg0); end
500
+ def self._lex_trans_keys; end
501
+ def self._lex_trans_keys=(arg0); end
502
+ def self._lex_trans_targs; end
503
+ def self._lex_trans_targs=(arg0); end
504
+ def self.lex_en_expr_arg; end
505
+ def self.lex_en_expr_arg=(arg0); end
506
+ def self.lex_en_expr_beg; end
507
+ def self.lex_en_expr_beg=(arg0); end
508
+ def self.lex_en_expr_cmdarg; end
509
+ def self.lex_en_expr_cmdarg=(arg0); end
510
+ def self.lex_en_expr_dot; end
511
+ def self.lex_en_expr_dot=(arg0); end
512
+ def self.lex_en_expr_end; end
513
+ def self.lex_en_expr_end=(arg0); end
514
+ def self.lex_en_expr_endarg; end
515
+ def self.lex_en_expr_endarg=(arg0); end
516
+ def self.lex_en_expr_endfn; end
517
+ def self.lex_en_expr_endfn=(arg0); end
518
+ def self.lex_en_expr_fname; end
519
+ def self.lex_en_expr_fname=(arg0); end
520
+ def self.lex_en_expr_labelarg; end
521
+ def self.lex_en_expr_labelarg=(arg0); end
522
+ def self.lex_en_expr_mid; end
523
+ def self.lex_en_expr_mid=(arg0); end
524
+ def self.lex_en_expr_value; end
525
+ def self.lex_en_expr_value=(arg0); end
526
+ def self.lex_en_expr_variable; end
527
+ def self.lex_en_expr_variable=(arg0); end
528
+ def self.lex_en_interp_backslash_delimited; end
529
+ def self.lex_en_interp_backslash_delimited=(arg0); end
530
+ def self.lex_en_interp_backslash_delimited_words; end
531
+ def self.lex_en_interp_backslash_delimited_words=(arg0); end
532
+ def self.lex_en_interp_string; end
533
+ def self.lex_en_interp_string=(arg0); end
534
+ def self.lex_en_interp_words; end
535
+ def self.lex_en_interp_words=(arg0); end
536
+ def self.lex_en_leading_dot; end
537
+ def self.lex_en_leading_dot=(arg0); end
538
+ def self.lex_en_line_begin; end
539
+ def self.lex_en_line_begin=(arg0); end
540
+ def self.lex_en_line_comment; end
541
+ def self.lex_en_line_comment=(arg0); end
542
+ def self.lex_en_plain_backslash_delimited; end
543
+ def self.lex_en_plain_backslash_delimited=(arg0); end
544
+ def self.lex_en_plain_backslash_delimited_words; end
545
+ def self.lex_en_plain_backslash_delimited_words=(arg0); end
546
+ def self.lex_en_plain_string; end
547
+ def self.lex_en_plain_string=(arg0); end
548
+ def self.lex_en_plain_words; end
549
+ def self.lex_en_plain_words=(arg0); end
550
+ def self.lex_en_regexp_modifiers; end
551
+ def self.lex_en_regexp_modifiers=(arg0); end
552
+ def self.lex_error; end
553
+ def self.lex_error=(arg0); end
554
+ def self.lex_start; end
555
+ def self.lex_start=(arg0); end
556
+ def source_buffer; end
557
+ def source_buffer=(source_buffer); end
558
+ def stack_pop; end
559
+ def state; end
560
+ def state=(state); end
561
+ def static_env; end
562
+ def static_env=(arg0); end
563
+ def tok(s = nil, e = nil); end
564
+ def tokens; end
565
+ def tokens=(arg0); end
566
+ def version?(*versions); end
567
+ end
568
+ class Parser::Lexer::Literal
569
+ def backslash_delimited?; end
570
+ def clear_buffer; end
571
+ def coerce_encoding(string); end
572
+ def dedent_level; end
573
+ def delimiter?(delimiter); end
574
+ def emit(token, type, s, e); end
575
+ def emit_start_tok; end
576
+ def end_interp_brace_and_try_closing; end
577
+ def extend_content; end
578
+ def extend_space(ts, te); end
579
+ def extend_string(string, ts, te); end
580
+ def flush_string; end
581
+ def heredoc?; end
582
+ def heredoc_e; end
583
+ def infer_indent_level(line); end
584
+ def initialize(lexer, str_type, delimiter, str_s, heredoc_e = nil, indent = nil, dedent_body = nil, label_allowed = nil); end
585
+ def interpolate?; end
586
+ def munge_escape?(character); end
587
+ def nest_and_try_closing(delimiter, ts, te, lookahead = nil); end
588
+ def plain_heredoc?; end
589
+ def regexp?; end
590
+ def saved_herebody_s; end
591
+ def saved_herebody_s=(arg0); end
592
+ def squiggly_heredoc?; end
593
+ def start_interp_brace; end
594
+ def str_s; end
595
+ def supports_line_continuation_via_slash?; end
596
+ def type; end
597
+ def words?; end
598
+ end
599
+ class Parser::Lexer::StackState
600
+ def active?; end
601
+ def clear; end
602
+ def empty?; end
603
+ def initialize(name); end
604
+ def inspect; end
605
+ def lexpop; end
606
+ def pop; end
607
+ def push(bit); end
608
+ def to_s; end
609
+ end
610
+ class Parser::Lexer::Dedenter
611
+ def dedent(string); end
612
+ def initialize(dedent_level); end
613
+ def interrupt; end
614
+ end
615
+ class Parser::Lexer::MaxNumparamStack
616
+ def can_have_numparams?; end
617
+ def cant_have_numparams!; end
618
+ def initialize; end
619
+ def pop; end
620
+ def push; end
621
+ def register(numparam); end
622
+ def set(value); end
623
+ def top; end
624
+ end
625
+ class Parser::Builders::Default
626
+ def __ENCODING__(__ENCODING__t); end
627
+ def __FILE__(__FILE__t); end
628
+ def __LINE__(__LINE__t); end
629
+ def accessible(node); end
630
+ def alias(alias_t, to, from); end
631
+ def arg(name_t); end
632
+ def arg_expr(expr); end
633
+ def arg_name_collides?(this_name, that_name); end
634
+ def arg_prefix_map(op_t, name_t = nil); end
635
+ def args(begin_t, args, end_t, check_args = nil); end
636
+ def array(begin_t, elements, end_t); end
637
+ def assign(lhs, eql_t, rhs); end
638
+ def assignable(node); end
639
+ def associate(begin_t, pairs, end_t); end
640
+ def attr_asgn(receiver, dot_t, selector_t); end
641
+ def back_ref(token); end
642
+ def begin(begin_t, body, end_t); end
643
+ def begin_body(compound_stmt, rescue_bodies = nil, else_t = nil, else_ = nil, ensure_t = nil, ensure_ = nil); end
644
+ def begin_keyword(begin_t, body, end_t); end
645
+ def binary_op(receiver, operator_t, arg); end
646
+ def binary_op_map(left_e, op_t, right_e); end
647
+ def block(method_call, begin_t, args, body, end_t); end
648
+ def block_map(receiver_l, begin_t, end_t); end
649
+ def block_pass(amper_t, arg); end
650
+ def blockarg(amper_t, name_t); end
651
+ def blockarg_expr(amper_t, expr); end
652
+ def call_lambda(lambda_t); end
653
+ def call_method(receiver, dot_t, selector_t, lparen_t = nil, args = nil, rparen_t = nil); end
654
+ def call_type_for_dot(dot_t); end
655
+ def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
656
+ def character(char_t); end
657
+ def check_condition(cond); end
658
+ def check_duplicate_arg(this_arg, map = nil); end
659
+ def check_duplicate_args(args, map = nil); end
660
+ def collapse_string_parts?(parts); end
661
+ def collection_map(begin_t, parts, end_t); end
662
+ def complex(complex_t); end
663
+ def compstmt(statements); end
664
+ def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
665
+ def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
666
+ def condition_mod(if_true, if_false, cond_t, cond); end
667
+ def const(name_t); end
668
+ def const_fetch(scope, t_colon2, name_t); end
669
+ def const_global(t_colon3, name_t); end
670
+ def const_op_assignable(node); end
671
+ def constant_map(scope, colon2_t, name_t); end
672
+ def cvar(token); end
673
+ def dedent_string(node, dedent_level); end
674
+ def def_class(class_t, name, lt_t, superclass, body, end_t); end
675
+ def def_method(def_t, name_t, args, body, end_t); end
676
+ def def_module(module_t, name, body, end_t); end
677
+ def def_sclass(class_t, lshft_t, expr, body, end_t); end
678
+ def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
679
+ def definition_map(keyword_t, operator_t, name_t, end_t); end
680
+ def delimited_string_map(string_t); end
681
+ def diagnostic(type, reason, arguments, location, highlights = nil); end
682
+ def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
683
+ def emit_file_line_as_literals; end
684
+ def emit_file_line_as_literals=(arg0); end
685
+ def expr_map(loc); end
686
+ def false(false_t); end
687
+ def float(float_t); end
688
+ def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
689
+ def for_map(keyword_t, in_t, begin_t, end_t); end
690
+ def gvar(token); end
691
+ def ident(token); end
692
+ def index(receiver, lbrack_t, indexes, rbrack_t); end
693
+ def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
694
+ def index_map(receiver_e, lbrack_t, rbrack_t); end
695
+ def initialize; end
696
+ def integer(integer_t); end
697
+ def ivar(token); end
698
+ def join_exprs(left_expr, right_expr); end
699
+ def keyword_cmd(type, keyword_t, lparen_t = nil, args = nil, rparen_t = nil); end
700
+ def keyword_map(keyword_t, begin_t, args, end_t); end
701
+ def keyword_mod_map(pre_e, keyword_t, post_e); end
702
+ def kwarg(name_t); end
703
+ def kwarg_map(name_t, value_e = nil); end
704
+ def kwnilarg(dstar_t, nil_t); end
705
+ def kwoptarg(name_t, value); end
706
+ def kwrestarg(dstar_t, name_t = nil); end
707
+ def kwsplat(dstar_t, arg); end
708
+ def loc(token); end
709
+ def logical_op(type, lhs, op_t, rhs); end
710
+ def loop(type, keyword_t, cond, do_t, body, end_t); end
711
+ def loop_mod(type, body, keyword_t, cond); end
712
+ def match_op(receiver, match_t, arg); end
713
+ def method_ref(receiver, dot_t, selector_t); end
714
+ def module_definition_map(keyword_t, name_e, operator_t, end_t); end
715
+ def multi_assign(lhs, eql_t, rhs); end
716
+ def multi_lhs(begin_t, items, end_t); end
717
+ def n(type, children, source_map); end
718
+ def n0(type, source_map); end
719
+ def nil(nil_t); end
720
+ def not_op(not_t, begin_t = nil, receiver = nil, end_t = nil); end
721
+ def nth_ref(token); end
722
+ def numargs(max_numparam); end
723
+ def numeric(kind, token); end
724
+ def numparam(token); end
725
+ def objc_kwarg(kwname_t, assoc_t, name_t); end
726
+ def objc_restarg(star_t, name = nil); end
727
+ def objc_varargs(pair, rest_of_varargs); end
728
+ def op_assign(lhs, op_t, rhs); end
729
+ def optarg(name_t, eql_t, value); end
730
+ def pair(key, assoc_t, value); end
731
+ def pair_keyword(key_t, value); end
732
+ def pair_keyword_map(key_t, value_e); end
733
+ def pair_list_18(list); end
734
+ def pair_quoted(begin_t, parts, end_t, value); end
735
+ def pair_quoted_map(begin_t, end_t, value_e); end
736
+ def parser; end
737
+ def parser=(arg0); end
738
+ def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
739
+ def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
740
+ def prefix_string_map(symbol); end
741
+ def procarg0(arg); end
742
+ def range_exclusive(lhs, dot3_t, rhs); end
743
+ def range_inclusive(lhs, dot2_t, rhs); end
744
+ def range_map(start_e, op_t, end_e); end
745
+ def rational(rational_t); end
746
+ def regexp_compose(begin_t, parts, end_t, options); end
747
+ def regexp_map(begin_t, end_t, options_e); end
748
+ def regexp_options(regopt_t); end
749
+ def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
750
+ def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
751
+ def restarg(star_t, name_t = nil); end
752
+ def restarg_expr(star_t, expr = nil); end
753
+ def self(token); end
754
+ def self.emit_arg_inside_procarg0; end
755
+ def self.emit_arg_inside_procarg0=(arg0); end
756
+ def self.emit_encoding; end
757
+ def self.emit_encoding=(arg0); end
758
+ def self.emit_index; end
759
+ def self.emit_index=(arg0); end
760
+ def self.emit_lambda; end
761
+ def self.emit_lambda=(arg0); end
762
+ def self.emit_procarg0; end
763
+ def self.emit_procarg0=(arg0); end
764
+ def self.modernize; end
765
+ def send_binary_op_map(lhs_e, selector_t, rhs_e); end
766
+ def send_index_map(receiver_e, lbrack_t, rbrack_t); end
767
+ def send_map(receiver_e, dot_t, selector_t, begin_t = nil, args = nil, end_t = nil); end
768
+ def send_unary_op_map(selector_t, arg_e); end
769
+ def shadowarg(name_t); end
770
+ def splat(star_t, arg = nil); end
771
+ def static_regexp(parts, options); end
772
+ def static_regexp_node(node); end
773
+ def static_string(nodes); end
774
+ def string(string_t); end
775
+ def string_compose(begin_t, parts, end_t); end
776
+ def string_internal(string_t); end
777
+ def string_map(begin_t, parts, end_t); end
778
+ def string_value(token); end
779
+ def symbol(symbol_t); end
780
+ def symbol_compose(begin_t, parts, end_t); end
781
+ def symbol_internal(symbol_t); end
782
+ def symbols_compose(begin_t, parts, end_t); end
783
+ def ternary(cond, question_t, if_true, colon_t, if_false); end
784
+ def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
785
+ def token_map(token); end
786
+ def true(true_t); end
787
+ def unary_num(unary_t, numeric); end
788
+ def unary_op(op_t, receiver); end
789
+ def unary_op_map(op_t, arg_e = nil); end
790
+ def undef_method(undef_t, names); end
791
+ def unquoted_map(token); end
792
+ def value(token); end
793
+ def var_send_map(variable_e); end
794
+ def variable_map(name_t); end
795
+ def when(when_t, patterns, then_t, body); end
796
+ def word(parts); end
797
+ def words_compose(begin_t, parts, end_t); end
798
+ def xstring_compose(begin_t, parts, end_t); end
799
+ end
800
+ class Parser::Context
801
+ def class_definition_allowed?; end
802
+ def dynamic_const_definition_allowed?; end
803
+ def in_block?; end
804
+ def in_class?; end
805
+ def in_lambda?; end
806
+ def indirectly_in_def?; end
807
+ def initialize; end
808
+ def module_definition_allowed?; end
809
+ def pop; end
810
+ def push(state); end
811
+ def reset; end
812
+ def stack; end
813
+ end
814
+ class Parser::Base < Racc::Parser
815
+ def builder; end
816
+ def check_kwarg_name(name_t); end
817
+ def context; end
818
+ def diagnostic(level, reason, arguments, location_t, highlights_ts = nil); end
819
+ def diagnostics; end
820
+ def initialize(builder = nil); end
821
+ def next_token; end
822
+ def on_error(error_token_id, error_value, value_stack); end
823
+ def parse(source_buffer); end
824
+ def parse_with_comments(source_buffer); end
825
+ def reset; end
826
+ def self.default_parser; end
827
+ def self.parse(string, file = nil, line = nil); end
828
+ def self.parse_file(filename); end
829
+ def self.parse_file_with_comments(filename); end
830
+ def self.parse_with_comments(string, file = nil, line = nil); end
831
+ def self.setup_source_buffer(file, line, string, encoding); end
832
+ def source_buffer; end
833
+ def static_env; end
834
+ def tokenize(source_buffer, recover = nil); end
835
+ end
836
+ class Parser::Rewriter < Parser::AST::Processor
837
+ def assignment?(node); end
838
+ def initialize(*arg0); end
839
+ def insert_after(range, content); end
840
+ def insert_before(range, content); end
841
+ def remove(range); end
842
+ def replace(range, content); end
843
+ def rewrite(source_buffer, ast); end
844
+ def wrap(range, before, after); end
845
+ extend Parser::Deprecation
846
+ end
847
+ class Parser::TreeRewriter < Parser::AST::Processor
848
+ def assignment?(node); end
849
+ def insert_after(range, content); end
850
+ def insert_before(range, content); end
851
+ def remove(range); end
852
+ def replace(range, content); end
853
+ def rewrite(source_buffer, ast, **policy); end
854
+ def wrap(range, before, after); end
855
+ end
856
+ module Parser::Builders
857
+ end