Austin Schuh | 40c1652 | 2018-10-28 20:27:54 -0700 | [diff] [blame^] | 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. |
| 10 | goog.provide('jspb.Export'); |
| 11 | |
| 12 | goog.require('goog.object'); |
| 13 | goog.require('jspb.BinaryReader'); |
| 14 | goog.require('jspb.BinaryWriter'); |
| 15 | goog.require('jspb.ExtensionFieldBinaryInfo'); |
| 16 | goog.require('jspb.ExtensionFieldInfo'); |
| 17 | goog.require('jspb.Message'); |
| 18 | goog.require('jspb.Map'); |
| 19 | |
| 20 | exports.Map = jspb.Map; |
| 21 | exports.Message = jspb.Message; |
| 22 | exports.BinaryReader = jspb.BinaryReader; |
| 23 | exports.BinaryWriter = jspb.BinaryWriter; |
| 24 | exports.ExtensionFieldInfo = jspb.ExtensionFieldInfo; |
| 25 | exports.ExtensionFieldBinaryInfo = jspb.ExtensionFieldBinaryInfo; |
| 26 | |
| 27 | // These are used by generated code but should not be used directly by clients. |
| 28 | exports.exportSymbol = goog.exportSymbol; |
| 29 | exports.inherits = goog.inherits; |
| 30 | exports.object = {extend: goog.object.extend}; |
| 31 | exports.typeOf = goog.typeOf; |