Search


Search something to see results

GenericVisitorSyncResult

GenericVisitorSyncResult:
    | T
    | T[]
    | AstArenaNode
    | PlainAstNode
    | PlainToken
    | (T | AstArenaNode | PlainAstNode | PlainToken)[]
    | null
    | void

Generic visitor result: a node id, an object or an array of node ids and objects. the object views of the arena (arena.toObject()) are not copied, the other objects are imported into the arena with arena.fromObject(). null (or nothing) keeps the node

Type Parameters

  • T