parameters: (self, env, libnode, **kw)
return_statement: return name
docstring: Returns "demangled" library name
docstring_summary: Returns "demangled" library name
docstring_tokens: Returns demangled library name
function: def __call__(self, env, libnode, **kw):
          """Returns "demangled" library name"""
          Verbose = False
  
          if libnode and 'target' not in kw:
              kw2 = kw.copy()
              kw2['target'] = libnode
          else:
              kw2 = kw
  
          if Verbose:
              print "_LibNameGenerator: libnode=%r" % libnode.get_path()
  
          version = self.get_lib_version(env, **kw2)
          if Verbose:
              print '_LibNameGenerator: version=%r' % version
  
          name = None
          if version:
              prefix = self.get_lib_prefix(env,**kw2)
              suffix = self.get_lib_suffix(env,**kw2)
              name = self.generate_versioned_lib_info(env, [libnode, version, prefix, suffix], **kw2)
  
          if not name:
              name = os.path.basename(libnode.get_path())
  
          if Verbose:
              print '_LibNameGenerator: return name=%r' % name
  
          return name
function_tokens: def __call__ ( self , env , libnode , * * kw ) : Verbose = False if libnode and 'target' not in kw : kw2 = kw . copy ( ) kw2 [ 'target' ] = libnode else : kw2 = kw if Verbose : print "_LibNameGenerator: libnode=%r" % libnode . get_path ( ) version = self . get_lib_version ( env , * * kw2 ) if Verbose : print '_LibNameGenerator: version=%r' % version name = None if version : prefix = self . get_lib_prefix ( env , * * kw2 ) suffix = self . get_lib_suffix ( env , * * kw2 ) name = self . generate_versioned_lib_info ( env , [ libnode , version , prefix , suffix ] , * * kw2 ) if not name : name = os . path . basename ( libnode . get_path ( ) ) if Verbose : print '_LibNameGenerator: return name=%r' % name return name