public default R visit (Directive d, P p)

Visits any directive as if by passing itself to that directive's accept method. The invocation v.visit(d, p) is equivalent to d.accept(v, p).

Parameters:
d    the directive to visit
p    a visitor-specified parameter

Returns:  a visitor-specified result