GenericVisitorSyncResult
GenericVisitorSyncResult:
| T
| T[]
| AstArenaNode
| PlainAstNode
| PlainToken
| (T | AstArenaNode | PlainAstNode | PlainToken)[]
| null
| void
| T
| T[]
| AstArenaNode
| PlainAstNode
| PlainToken
| (T | AstArenaNode | PlainAstNode | PlainToken)[]
| null
| void
Type Parameters
- T
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 witharena.fromObject(). null (or nothing) keeps the node