class Prism::InspectVisitor
This visitor is responsible for composing the strings that get returned by the various inspect methods defined on each of the nodes.
Attributes
The list of commands that we need to execute in order to compose the final string. : stopdoc:
Public Class Methods
Source
# File lib/prism/inspect_visitor.rb, line 54 def self.compose(node) visitor = new node.accept(visitor) visitor.compose end
Compose an inspect string for the given node.