summaryrefslogtreecommitdiff
path: root/lib/prism/translation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prism/translation.rb')
-rw-r--r--lib/prism/translation.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/prism/translation.rb b/lib/prism/translation.rb
new file mode 100644
index 0000000000..9a7cedac46
--- /dev/null
+++ b/lib/prism/translation.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module Prism
+ # This module is responsible for converting the prism syntax tree into other
+ # syntax trees. At the moment it only supports converting to the
+ # whitequark/parser gem's syntax tree, but support is planned for the
+ # seattlerb/ruby_parser gem's syntax tree as well.
+ module Translation
+ autoload :Parser, "prism/translation/parser"
+ end
+end