parameters: (lst)
return_statement: return ret
docstring: :param lst: files to process
  	:list lst: list of string or :py:class:`waflib.Node.Node`
  	:return: list of file extensions
  	:rtype: list of string
docstring_summary: :param lst: files to process
  	:list lst: list of string or :py:class:`waflib.Node.Node`
  	:return: list of file extensions
  	:rtype: list of string
docstring_tokens: : param lst : files to process : list lst : list of string or : py : class : waflib . Node . Node : return : list of file extensions : rtype : list of string
function: def get_extensions(lst):
  	"""
  	:param lst: files to process
  	:list lst: list of string or :py:class:`waflib.Node.Node`
  	:return: list of file extensions
  	:rtype: list of string
  	"""
  	ret = []
  	for x in Utils.to_list(lst):
  		try:
  			if not isinstance(x, str):
  				x = x.name
  			ret.append(x[x.rfind('.') + 1:])
  		except Exception:
  			pass
  	return ret
function_tokens: def get_extensions ( lst ) : ret = [ ] for x in Utils . to_list ( lst ) : try : if not isinstance ( x , str ) : x = x . name ret . append ( x [ x . rfind ( '.' ) + 1 : ] ) except Exception : pass return ret