Class: SyntaxTree::Haml::Visitor
- Inherits:
-
Object
- Object
- SyntaxTree::Haml::Visitor
- Defined in:
- lib/syntax_tree/haml.rb
Overview
This is the parent class of the various visitors that we provide to access the HAML syntax tree.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#visit(node) ⇒ Object
23 24 25 |
# File 'lib/syntax_tree/haml.rb', line 23 def visit(node) node&.accept(self) end |