aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-11-03 13:36:28 -0400
committergit <svn-admin@ruby-lang.org>2023-11-12 02:53:33 +0000
commit94f82a65f7b0b896c8cd44831c35c18661d0ecf2 (patch)
tree727df9d3c234a29c4d81136371ff51e32aec9532 /lib
parent2fb1d374393da45f4931cbbc7e573e37ca97e00a (diff)
downloadruby-94f82a65f7b0b896c8cd44831c35c18661d0ecf2.tar.gz
[ruby/prism] Add the ability to convert nodes to dot
https://github.com/ruby/prism/commit/3e4b4fb947
Diffstat (limited to 'lib')
-rw-r--r--lib/prism.rb1
-rw-r--r--lib/prism/prism.gemspec1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/prism.rb b/lib/prism.rb
index 350febcaa8..909b71d66d 100644
--- a/lib/prism.rb
+++ b/lib/prism.rb
@@ -16,6 +16,7 @@ module Prism
autoload :Debug, "prism/debug"
autoload :DesugarCompiler, "prism/desugar_compiler"
autoload :Dispatcher, "prism/dispatcher"
+ autoload :DotVisitor, "prism/dot_visitor"
autoload :DSL, "prism/dsl"
autoload :LexCompat, "prism/lex_compat"
autoload :LexRipper, "prism/lex_compat"
diff --git a/lib/prism/prism.gemspec b/lib/prism/prism.gemspec
index 23e7b3833b..65cc61a825 100644
--- a/lib/prism/prism.gemspec
+++ b/lib/prism/prism.gemspec
@@ -67,6 +67,7 @@ Gem::Specification.new do |spec|
"lib/prism/debug.rb",
"lib/prism/desugar_compiler.rb",
"lib/prism/dispatcher.rb",
+ "lib/prism/dot_visitor.rb",
"lib/prism/dsl.rb",
"lib/prism/ffi.rb",
"lib/prism/lex_compat.rb",