class ActionDispatch::Journey::Visitors::Visitor

:nodoc:
:nodoc:

def accept(node)

def accept(node)
  visit(node)
end

def binary(node)

def binary(node)
  visit(node.left)
  visit(node.right)
end

def nary(node)

def nary(node)
  node.children.each { |c| visit(c) }
end

def terminal(node); end

def terminal(node); end

def unary(node)

def unary(node)
  visit(node.left)
end

def visit(node)

def visit(node)
  send(DISPATCH_CACHE[node.type], node)
end

def visit_CAT(n); binary(n); end

def visit_CAT(n); binary(n); end

def visit_DOT(n); terminal(n); end

def visit_DOT(n);     terminal(n); end

def visit_GROUP(n); unary(n); end

def visit_GROUP(n); unary(n); end

def visit_LITERAL(n); terminal(n); end

def visit_LITERAL(n); terminal(n); end

def visit_OR(n); nary(n); end

def visit_OR(n); nary(n); end

def visit_SLASH(n); terminal(n); end

def visit_SLASH(n);   terminal(n); end

def visit_STAR(n); unary(n); end

def visit_STAR(n); unary(n); end

def visit_SYMBOL(n); terminal(n); end

def visit_SYMBOL(n);  terminal(n); end