Skip to main content

Module object_walker

Module object_walker 

Source
Expand description

Object graph walker – iterative BFS traversal with cycle detection.

Provides a visitor pattern for traversing the PDF object graph starting from a root object. Uses BFS (breadth-first search) with a VecDeque work queue and HashSet for cycle detection. Never recurses on the call stack (WASM-safe).

Structs§

ObjectStats
A built-in visitor that collects object type statistics.
ObjectWalker
Iterative BFS walker for the PDF object graph.

Traits§

ObjectVisitor
Visitor trait for walking the PDF object graph.