findByType

fnauto findByType(ref CdmNode root, CdmNode.Type type) @safe

Finds all nodes of a specific type in a CDM tree.

Parameters

rootThe root node to search from.
typeThe CdmNode.Type to search for.

Returns

An array of CdmNode* pointers to all nodes of the

specified type, in depth-first traversal order.