File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -385,4 +385,106 @@ def full_message_loc
385385 attribute_write? ? message_loc &.adjoin ( "=" ) : message_loc
386386 end
387387 end
388+
389+ class InNode < Node
390+ #: () -> String
391+ def in # :nodoc
392+ in_keyword
393+ end
394+
395+ #: () -> Location
396+ def in_loc # :nodoc
397+ in_keyword_loc
398+ end
399+
400+ #: () -> String?
401+ def then # :nodoc
402+ then_keyword
403+ end
404+
405+ #: () -> Location?
406+ def then_loc # :nodoc
407+ then_keyword_loc
408+ end
409+ end
410+
411+ class MatchPredicateNode < Node
412+ #: () -> String
413+ def operator # :nodoc
414+ keyword
415+ end
416+
417+ #: () -> Location
418+ def operator_loc # :nodoc
419+ keyword_loc
420+ end
421+ end
422+
423+ class UnlessNode < Node
424+ #: () -> String
425+ def keyword # :nodoc
426+ unless_keyword
427+ end
428+
429+ #: () -> Location
430+ def keyword_loc # :nodoc
431+ unless_keyword_loc
432+ end
433+ end
434+
435+ class UntilNode < Node
436+ #: () -> String
437+ def keyword # :nodoc
438+ until_keyword
439+ end
440+
441+ #: () -> Location
442+ def keyword_loc # :nodoc
443+ until_keyword_loc
444+ end
445+
446+ #: () -> String?
447+ def closing # :nodoc
448+ end_keyword
449+ end
450+
451+ #: () -> Location?
452+ def closing_loc # :nodoc
453+ end_keyword_loc
454+ end
455+ end
456+
457+ class WhenNode < Node
458+ #: () -> String
459+ def keyword # :nodoc
460+ when_keyword
461+ end
462+
463+ #: () -> Location
464+ def keyword_loc # :nodoc
465+ when_keyword_loc
466+ end
467+ end
468+
469+ class WhileNode < Node
470+ #: () -> String
471+ def keyword # :nodoc
472+ while_keyword
473+ end
474+
475+ #: () -> Location
476+ def keyword_loc # :nodoc
477+ while_keyword_loc
478+ end
479+
480+ #: () -> String?
481+ def closing # :nodoc
482+ end_keyword
483+ end
484+
485+ #: () -> Location?
486+ def closing_loc # :nodoc
487+ end_keyword_loc
488+ end
489+ end
388490end
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ Gem::Specification.new do |spec|
109109 "include/prism/version.h" ,
110110 "lib/prism.rb" ,
111111 "lib/prism/compiler.rb" ,
112- "lib/prism/deprecated.rb" ,
113112 "lib/prism/desugar_compiler.rb" ,
114113 "lib/prism/dispatcher.rb" ,
115114 "lib/prism/dot_visitor.rb" ,
@@ -179,7 +178,6 @@ Gem::Specification.new do |spec|
179178 "rbi/rubyvm/node_find.rbi" ,
180179 "sig/generated/prism.rbs" ,
181180 "sig/generated/prism/compiler.rbs" ,
182- "sig/generated/prism/deprecated.rbs" ,
183181 "sig/generated/prism/desugar_compiler.rbs" ,
184182 "sig/generated/prism/dispatcher.rbs" ,
185183 "sig/generated/prism/dot_visitor.rbs" ,
You can’t perform that action at this time.
0 commit comments