• 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
8// Include a dummy provide statement so that closurebuilder.py does not skip over this
9// file.
10goog.provide('jspb.Export');
11
12goog.require('goog.object');
13goog.require('jspb.BinaryReader');
14goog.require('jspb.BinaryWriter');
15goog.require('jspb.ExtensionFieldBinaryInfo');
16goog.require('jspb.ExtensionFieldInfo');
17goog.require('jspb.Message');
18goog.require('jspb.Map');
19
20exports.Map = jspb.Map;
21exports.Message = jspb.Message;
22exports.BinaryReader = jspb.BinaryReader;
23exports.BinaryWriter = jspb.BinaryWriter;
24exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo;
25exports.ExtensionFieldBinaryInfo = jspb.ExtensionFieldBinaryInfo;
26
27// These are used by generated code but should not be used directly by clients.
28exports.exportSymbol = goog.exportSymbol;
29exports.inherits = goog.inherits;
30exports.object = {extend: goog.object.extend};
31exports.typeOf = goog.typeOf;
32