parameters: (self, inlst)
return_statement: return lst
docstring: Task generator method provided to convert a list of string/nodes into a list of includes folders.
  
  	The paths are assumed to be relative to the task generator path, except if they begin by **#**
  	in which case they are searched from the top-level directory (``bld.srcnode``).
  	The folders are simply assumed to be existing.
  
  	The node objects in the list are returned in the output list. The strings are converted
  	into node objects if possible. The node is searched from the source directory, and if a match is found,
  	the equivalent build directory is created and added to the returned list too. When a folder cannot be found, it is ignored.
  
  	:param inlst: list of folders
  	:type inlst: space-delimited string or a list of string/nodes
  	:rtype: list of :py:class:`waflib.Node.Node`
  	:return: list of include folders as nodes
docstring_summary: Task generator method provided to convert a list of string/nodes into a list of includes folders.
docstring_tokens: Task generator method provided to convert a list of string / nodes into a list of includes folders .
function: def to_incnodes(self, inlst):
  	"""
  	Task generator method provided to convert a list of string/nodes into a list of includes folders.
  
  	The paths are assumed to be relative to the task generator path, except if they begin by **#**
  	in which case they are searched from the top-level directory (``bld.srcnode``).
  	The folders are simply assumed to be existing.
  
  	The node objects in the list are returned in the output list. The strings are converted
  	into node objects if possible. The node is searched from the source directory, and if a match is found,
  	the equivalent build directory is created and added to the returned list too. When a folder cannot be found, it is ignored.
  
  	:param inlst: list of folders
  	:type inlst: space-delimited string or a list of string/nodes
  	:rtype: list of :py:class:`waflib.Node.Node`
  	:return: list of include folders as nodes
  	"""
  	lst = []
  	seen = set()
  	for x in self.to_list(inlst):
  		if x in seen or not x:
  			continue
  		seen.add(x)
  
  		# with a real lot of targets, it is sometimes interesting to cache the results below
  		if isinstance(x, Node.Node):
  			lst.append(x)
  		else:
  			if os.path.isabs(x):
  				lst.append(self.bld.root.make_node(x) or x)
  			else:
  				if x[0] == '#':
  					p = self.bld.bldnode.make_node(x[1:])
  					v = self.bld.srcnode.make_node(x[1:])
  				else:
  					p = self.path.get_bld().make_node(x)
  					v = self.path.make_node(x)
  				if p.is_child_of(self.bld.bldnode):
  					p.mkdir()
  				lst.append(p)
  				lst.append(v)
  	return lst
function_tokens: def to_incnodes ( self , inlst ) : lst = [ ] seen = set ( ) for x in self . to_list ( inlst ) : if x in seen or not x : continue seen . add ( x ) # with a real lot of targets, it is sometimes interesting to cache the results below if isinstance ( x , Node . Node ) : lst . append ( x ) else : if os . path . isabs ( x ) : lst . append ( self . bld . root . make_node ( x ) or x ) else : if x [ 0 ] == '#' : p = self . bld . bldnode . make_node ( x [ 1 : ] ) v = self . bld . srcnode . make_node ( x [ 1 : ] ) else : p = self . path . get_bld ( ) . make_node ( x ) v = self . path . make_node ( x ) if p . is_child_of ( self . bld . bldnode ) : p . mkdir ( ) lst . append ( p ) lst . append ( v ) return lst