Visits any directive as if by passing itself to that directive's accept method.
accept
Parameters:
d
p
Returns: a visitor-specified result
@implSpec The default implementation is d.accept(v, p).
d.accept(v, p)
Diagram: Element