• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * @fileoverview Export symbols needed by generated code in CommonJS style.
3 *
4 * This effectively is our canonical list of what we publicly export from
5 * the google-protobuf.js file that we build at distribution time.
6 */
7
8goog.require('goog.object');
9goog.require('jspb.BinaryReader');
10goog.require('jspb.BinaryWriter');
11goog.require('jspb.ExtensionFieldInfo');
12goog.require('jspb.Message');
13
14exports.Message = jspb.Message;
15exports.BinaryReader = jspb.BinaryReader;
16exports.BinaryWriter = jspb.BinaryWriter;
17exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo;
18
19// These are used by generated code but should not be used directly by clients.
20exports.exportSymbol = goog.exportSymbol;
21exports.inherits = goog.inherits;
22exports.object = {extend: goog.object.extend};
23