summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-09-22 11:33:20 -0400
committerKevin Newton <kddnewton@gmail.com>2023-09-27 12:10:23 -0400
commitaeb53cb50e75f01c7e77b0f789cd94a38ff580ab (patch)
tree6a6dbc38cbee169d86f074aa13bd97876ae2ad4c
parentb18e05b18f5987cd5ce506af380558fd192d2d1c (diff)
[ruby/yarp] More documentation for desugar compiler
https://github.com/ruby/yarp/commit/4a6df3c2a4
-rw-r--r--lib/yarp/desugar_compiler.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yarp/desugar_compiler.rb b/lib/yarp/desugar_compiler.rb
index 2cf5fb701a..b86e8518c6 100644
--- a/lib/yarp/desugar_compiler.rb
+++ b/lib/yarp/desugar_compiler.rb
@@ -1,6 +1,8 @@
# frozen_string_literal: true
module YARP
+ # DesugarCompiler is a compiler that desugars Ruby code into a more primitive
+ # form. This is useful for consumers that want to deal with fewer node types.
class DesugarCompiler < MutationCompiler
# @@foo &&= bar
#