jsdoc-type-pratt-parser
    Preparing search index...

    Type Alias NodeVisitor

    NodeVisitor: (
        node: NonRootResult,
        parentNode?: NonRootResult,
        property?: string,
        index?: number,
    ) => void

    A node visitor function.

    Type Declaration

      • (
            node: NonRootResult,
            parentNode?: NonRootResult,
            property?: string,
            index?: number,
        ): void
      • Parameters

        • node: NonRootResult

          the visited node.

        • OptionalparentNode: NonRootResult

          the parent node.

        • Optionalproperty: string

          the property on the parent node that contains the visited node. It can be the node itself or an array of nodes.

        • Optionalindex: number

        Returns void