def clear(self):
        for node in _all_nodes.itervalues():
            node.clear(self)

        self._incrementally_updated_nodes.clear()
        self._has_incrementally_updated_nodes = False
        
        self._nodes_requiring_set_date_callback.clear()
        self._has_nodes_requiring_set_date_callback = False

        # clear the shifted contexts
        for shifted_ctx in self._shifted_cache.itervalues():
            shifted_ctx.clear()

        # remove any references to shifted contexts
        self._shifted_cache.clear()
        self._shifted_contexts.clear()
        self._all_child_contexts.clear()
        self._is_shift_of_cache.clear()

        self._node_eval_stack = cqueue()
Return a list containing all items of paths_to_order ordered by list of prefix_paths, compared as strings
dataset/ETHPy150Open manahl/mdf/mdf/context.py/MDFContext.clear--crossover with--dataset/ETHPy150Open ros-infrastructure/catkin_pkg/src/catkin_pkg/workspaces.py/order_paths