Traqula docs
    Preparing search index...

    Interface VisitContext<Obj>

    interface VisitContext<Obj = object> {
        continue?: boolean;
        ignoreKeys?: Set<ObjectKeyHint<Obj>>;
        shortcut?: boolean;
        visitChildren?: (
            this: void,
            object: Obj,
            helpers: VisitChildrenHelpers,
        ) => void;
    }

    Type Parameters

    • Obj = object

      The object this context applies to, its keys are suggested by the IDE.

    Hierarchy (View Summary)

    Index

    Properties

    continue?: boolean

    Whether you should continue iterating deeper with this object. Default true.

    ignoreKeys?: Set<ObjectKeyHint<Obj>>

    Object keys that can be ignored, meaning they do not get visited.

    shortcut?: boolean

    Whether you should stop iterating after this object. Default false.

    visitChildren?: (this: void, object: Obj, helpers: VisitChildrenHelpers) => void

    Visits the children of this object instead of its keys, replacing the visitChildren of a default. A callback visiting no children in the default context makes a transformer only visit what nodes allow.