Class: ActionDispatch::Journey::Visitors::Each

Inherits:
FunctionalVisitor show all
Defined in:
lib/action_dispatch/journey/visitors.rb

Overview

Loop through the requirements AST.

Constant Summary collapse

INSTANCE =
new

Constants inherited from FunctionalVisitor

FunctionalVisitor::DISPATCH_CACHE

Instance Method Summary collapse

Methods inherited from FunctionalVisitor

#accept, #binary, #nary, #terminal, #unary, #visit_CAT, #visit_DOT, #visit_GROUP, #visit_LITERAL, #visit_OR, #visit_SLASH, #visit_STAR, #visit_SYMBOL

Instance Method Details

#visit(node, block) ⇒ Object

:nodoc:



161
162
163
164
# File 'lib/action_dispatch/journey/visitors.rb', line 161

def visit(node, block)
  block.call(node)
  super
end