Latest
type alias VisitFn
import { type VisitFn } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/language/index.d.ts";

A visitor is comprised of visit functions, which are called on each node during the visitor's traversal.

Type Parameters

TAnyNode
optional
TVisitedNode = TAnyNode
definition: (
key: string | number | undefined,
parent: TAnyNode | ReadonlyArray<TAnyNode> | undefined,
path: ReadonlyArray<string | number>,
ancestors: ReadonlyArray<TAnyNode | ReadonlyArray<TAnyNode>>,
) => any