Search


Search something to see results

GenericVisitorSyncHandler

GenericVisitorSyncHandler: (
    arena: AstArena,
    node: T,
) => GenericVisitorSyncResult<T>

Generic visitor handler. it is called with the arena and the node id. the other properties of the node are read from the arena: arena.getParent(node), arena.toObject(node), ...

Type Parameters

  • T

Type Declaration