Class: Predicator::Visitors::Visitor
- Inherits:
-
Object
- Object
- Predicator::Visitors::Visitor
- Defined in:
- lib/predicator/visitors/visitor.rb
Direct Known Subclasses
Constant Summary collapse
- DISPATCH_CACHE =
Hash.new { |h,k| h[k] = "visit_#{k}" }
Instance Method Summary collapse
Instance Method Details
#accept(node) ⇒ Object
8 9 10 |
# File 'lib/predicator/visitors/visitor.rb', line 8 def accept node visit node end |