Debian Codegraph @

lib/prism/translation/parser_versions.rb

raw symbols SCIP
1 # frozen_string_literal: true
2 # :markup: markdown
3
4 module Prism
5 module Translation
6 # This class is the entry-point for Ruby 3.3 of `Prism::Translation::Parser`.
7 class Parser33 < Parser
8 def version # :nodoc:
9 33
10 end
11 end
12
13 # This class is the entry-point for Ruby 3.4 of `Prism::Translation::Parser`.
14 class Parser34 < Parser
15 def version # :nodoc:
16 34
17 end
18 end
19
20 # This class is the entry-point for Ruby 4.0 of `Prism::Translation::Parser`.
21 class Parser40 < Parser
22 def version # :nodoc:
23 40
24 end
25 end
26
27 Parser35 = Parser40 # :nodoc:
28
29 # This class is the entry-point for Ruby 4.1 of `Prism::Translation::Parser`.
30 class Parser41 < Parser
31 def version # :nodoc:
32 41
33 end
34 end
35 end
36 end