dispatch

Static wrapping of the cursor followed by a passing it to the visitor.

The cursor is wrapped in the class that corresponds to the kind of the cursor.

Note that the mixins shall be ordered alphabetically.

trusted. seems to be a bug. it complains about visitor being assigned to this calling base_visitor.Visitor.this. But that can't be true because visit takes a scope cursor so...

@trusted
void
dispatch
(
VisitorT
)
(
scope const Cursor cursor
,
scope VisitorT visitor
)

Meta