ConstructOrder

class constructs.ConstructOrder(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

In what order to return constructs.

Attributes

POSTORDER

Depth-first, post-order (leaf nodes first).

PREORDER

Depth-first, pre-order.