File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed
Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ Gem::Specification.new do |spec|
9696 "lib/prism/translation/parser.rb" ,
9797 "lib/prism/translation/parser33.rb" ,
9898 "lib/prism/translation/parser34.rb" ,
99+ "lib/prism/translation/parser35.rb" ,
99100 "lib/prism/translation/parser/compiler.rb" ,
100101 "lib/prism/translation/parser/lexer.rb" ,
101102 "lib/prism/translation/ripper.rb" ,
@@ -116,6 +117,7 @@ Gem::Specification.new do |spec|
116117 "rbi/prism/translation/parser.rbi" ,
117118 "rbi/prism/translation/parser33.rbi" ,
118119 "rbi/prism/translation/parser34.rbi" ,
120+ "rbi/prism/translation/parser35.rbi" ,
119121 "rbi/prism/translation/ripper.rbi" ,
120122 "rbi/prism/visitor.rbi" ,
121123 "sig/prism.rbs" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ module Translation # steep:ignore
77 autoload :Parser , "prism/translation/parser"
88 autoload :Parser33 , "prism/translation/parser33"
99 autoload :Parser34 , "prism/translation/parser34"
10+ autoload :Parser35 , "prism/translation/parser35"
1011 autoload :Ripper , "prism/translation/ripper"
1112 autoload :RubyParser , "prism/translation/ruby_parser"
1213 end
Original file line number Diff line number Diff line change @@ -292,6 +292,8 @@ def convert_for_prism(version)
292292 "3.3.1"
293293 when 34
294294 "3.4.0"
295+ when 35
296+ "3.5.0"
295297 else
296298 "latest"
297299 end
Original file line number Diff line number Diff line change 1+ # frozen_string_literal: true
2+
3+ module Prism
4+ module Translation
5+ # This class is the entry-point for Ruby 3.5 of `Prism::Translation::Parser`.
6+ class Parser35 < Parser
7+ def version # :nodoc:
8+ 35
9+ end
10+ end
11+ end
12+ end
You can’t perform that action at this time.
0 commit comments