Skip to main content

Interface: WalkVisit

Defined in: packages/core/src/core/walk.ts:16

One arrival at a node.

Properties​

address​

address: Address

Defined in: packages/core/src/core/walk.ts:19

The child ids from the walk's root down to this node; empty at the root.


first?​

optional first?: WalkVisit

Defined in: packages/core/src/core/walk.ts:32

Set when this node was reached before (shared by two parents, or a cycle): that first visit. A repeat arrival's children are not walked.


index​

index: number

Defined in: packages/core/src/core/walk.ts:25

Order of this node's first visit, from 0.


node​

node: Processable

Defined in: packages/core/src/core/walk.ts:17


parent?​

optional parent?: WalkVisit

Defined in: packages/core/src/core/walk.ts:23

The visit this node was reached from; absent at the root.


structure?​

optional structure?: ProcessableStructure

Defined in: packages/core/src/core/walk.ts:27

What the node's describe() answered; absent on a repeat arrival.


via?​

optional via?: ProcessableChild

Defined in: packages/core/src/core/walk.ts:21

The edge this node was reached by; absent at the root.