3.1.10. Node Helper

The tool is located in tools/waf-tools.

Helper methods to work with waf node objects

f_node_helper.convert_to_node(self, _node, path=None)

Convert input to node object

f_node_helper.convert_to_nodes(self, lst, path=None)

Flatten the input list of string/nodes/lists into a list of nodes (based on TaskGen.to_nodes, but for any node type, see 3536dfecf8061c6d99bac338837997c4862ee89b/waflib/TaskGen.py#L495-527)