TraverseFlags

class TraverseFlags

Specifies which nodes are visited during several of the tree functions, including traverse() and find().

Fields

class TraverseFlags
ALL

All nodes should be visited.

LEAFS

Identical to LEAVES.

LEAVES

Only leaf nodes should be visited. This name has been introduced in 2.6, for older version use LEAFS.

MASK

A mask of all traverse flags.

NON_LEAFS

Identical to NON_LEAVES.

NON_LEAVES

Only non-leaf nodes should be visited. This name has been introduced in 2.6, for older version use NON_LEAFS.