parameters: (self, name)
return_statement: return False
docstring: @rtype:  bool
          @return:
              C{True} if the given name could refer to this module.
              It may not be exactly the same returned by L{get_name}.
function: def match_name(self, name):
          """
          @rtype:  bool
          @return:
              C{True} if the given name could refer to this module.
              It may not be exactly the same returned by L{get_name}.
          """
  
          # If the given name is exactly our name, return True.
          # Comparison is case insensitive.
          my_name = self.get_name().lower()
          if name.lower() == my_name:
              return True
  
          # If the given name is a base address, compare it with ours.
          try:
              base = HexInput.integer(name)
          except ValueError:
              base = None
          if base is not None and base == self.get_base():
              return True
  
          # If the given name is a filename, convert it to a module name.
          # Then compare it with ours, case insensitive.
          modName = self.__filename_to_modname(name)
          if modName.lower() == my_name:
              return True
  
          # No match.
          return False
function_tokens: def match_name ( self , name ) : # If the given name is exactly our name, return True. # Comparison is case insensitive. my_name = self . get_name ( ) . lower ( ) if name . lower ( ) == my_name : return True # If the given name is a base address, compare it with ours. try : base = HexInput . integer ( name ) except ValueError : base = None if base is not None and base == self . get_base ( ) : return True # If the given name is a filename, convert it to a module name. # Then compare it with ours, case insensitive. modName = self . __filename_to_modname ( name ) if modName . lower ( ) == my_name : return True # No match. return False