Class: SyntaxTree::RBS::Visitor
- Inherits:
-
Object
- Object
- SyntaxTree::RBS::Visitor
- Defined in:
- lib/syntax_tree/rbs.rb
Overview
This is the parent class of any of the visitors that we define in this module. It is used to walk through the tree.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#visit(node) ⇒ Object
12 13 14 |
# File 'lib/syntax_tree/rbs.rb', line 12 def visit(node) node&.accept(self) end |