parameters: (self)
return_statement: return missing_requires
docstring: Returns the set of missing required namespaces for the current file.
  
      For each non-private identifier used in the file, find either a
      goog.require, goog.provide or a created identifier that satisfies it.
      goog.require statements can satisfy the identifier by requiring either the
      namespace of the identifier or the identifier itself. goog.provide
      statements can satisfy the identifier by providing the namespace of the
      identifier. A created identifier can only satisfy the used identifier if
      it matches it exactly (necessary since things can be defined on a
      namespace in more than one file). Note that provided namespaces should be
      a subset of created namespaces, but we check both because in some cases we
      can't always detect the creation of the namespace.
  
      Returns:
        Returns a set of strings where each string is a namespace that should be
        required by this file, but is not.
docstring_summary: Returns the set of missing required namespaces for the current file.
docstring_tokens: Returns the set of missing required namespaces for the current file .
function: def GetMissingRequires(self):
      """Returns the set of missing required namespaces for the current file.
  
      For each non-private identifier used in the file, find either a
      goog.require, goog.provide or a created identifier that satisfies it.
      goog.require statements can satisfy the identifier by requiring either the
      namespace of the identifier or the identifier itself. goog.provide
      statements can satisfy the identifier by providing the namespace of the
      identifier. A created identifier can only satisfy the used identifier if
      it matches it exactly (necessary since things can be defined on a
      namespace in more than one file). Note that provided namespaces should be
      a subset of created namespaces, but we check both because in some cases we
      can't always detect the creation of the namespace.
  
      Returns:
        Returns a set of strings where each string is a namespace that should be
        required by this file, but is not.
      """
      if self._scopified_file:
        return set()
  
      external_dependencies = set(self._required_namespaces)
  
      # Assume goog namespace is always available.
      external_dependencies.add('goog')
  
      created_identifiers = set()
      for namespace, identifier in self._created_namespaces:
        created_identifiers.add(identifier)
  
      missing_requires = set()
      for namespace, identifier in self._used_namespaces:
        if (not self._IsPrivateIdentifier(identifier) and
            namespace not in external_dependencies and
            namespace not in self._provided_namespaces and
            identifier not in external_dependencies and
            identifier not in created_identifiers):
          missing_requires.add(namespace)
  
      return missing_requires
function_tokens: def GetMissingRequires ( self ) : if self . _scopified_file : return set ( ) external_dependencies = set ( self . _required_namespaces ) # Assume goog namespace is always available. external_dependencies . add ( 'goog' ) created_identifiers = set ( ) for namespace , identifier in self . _created_namespaces : created_identifiers . add ( identifier ) missing_requires = set ( ) for namespace , identifier in self . _used_namespaces : if ( not self . _IsPrivateIdentifier ( identifier ) and namespace not in external_dependencies and namespace not in self . _provided_namespaces and identifier not in external_dependencies and identifier not in created_identifiers ) : missing_requires . add ( namespace ) return missing_requires