code: private void markGoogModuleExportsAsConst(Module googModule) {
      for (Binding binding : googModule.namespace().values()) {
        Node exportedNode = binding.originatingExport().exportNode();
        undeclaredNamesForClosure.add(exportedNode);
      }
    }
docs: Adds nodes representing goog.module exports to a list, to treat them as @const.
  
  <p>This method handles the following styles of exports:
  
  <ul>
  <li>{@code exports = class {}} adds the NAME node `exports`
  <li>{@code exports = {Foo};} adds the NAME node `exports` and the STRING_KEY node `Foo`
  <li>{@code exports.Foo = Foo;} adds the GETPROP node `exports.Foo`
  </ul>