code: static void update(AbstractCompiler compiler, Node externs, Node root) {
      compiler.setExternGetterAndSetterProperties(gather(compiler, externs));
      compiler.setSourceGetterAndSetterProperties(gather(compiler, root));
    }
docs: Gathers all getters and setters in the AST.