Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getVisitFn

deprecated

Given a visitor instance, if it is leaving or not, and a node kind, return the function the visitor runtime should call.

@deprecated

Please use getEnterLeaveForKind instead. Will be removed in v17

function getVisitFn(
visitor: ASTVisitor,
kind: Kind,
isLeaving: boolean,
): ASTVisitFn<ASTNode> | undefined;
§
getVisitFn(visitor: ASTVisitor, kind: Kind, isLeaving: boolean): ASTVisitFn<ASTNode> | undefined
[src]

§Parameters

§
isLeaving: boolean
[src]

§Return Type