Lines Matching refs:extension
51 * Stores information for a single extension field.
53 * For example, an extension field defined like so:
72 * If an extension field is primitive, ctor and toObjectFn will be null.
78 * this extension, and binaryMessageSerializeFn is a reference to the message
82 * @param {Object} fieldName This has the extension field name as a property.
195 * fields and extension message fields. Indexed by field number.
203 * The object that contains extension fields, if any. This is an object that
212 * Non-extension fields with a field number at or above the pivot are
213 * stored in the extension object (in addition to all extension fields).
290 * fields into the extension object. This is only used if data does not
291 * contain an extension object already. -1 if no extension object is
355 * Ensures that the array contains an extension object if necessary.
356 * If the array contains an extension object in its last position, then the
358 * create an extension object using suggestedPivot. If suggestedPivot is -1,
359 * we don't have an extension object at all, in which case all fields are stored
370 // object here, then it's the extension object. However, we must ensure that
380 // This complexity exists because we keep all extension fields in the
384 // TODO(jshneier): Should we just treat extension fields the same as
385 // non-extension fields, and select whether they appear in the object or in
444 * Adds a proto's extension data to a Soy rendering object.
446 * @param {!Object} obj The Soy object to add converted extension data to.
482 * Writes a proto's extension data to a binary-format output stream.
497 throw new Error('Message extension present that was generated ' +
503 // If the message type of the extension was generated without binary
513 throw new Error('Message extension present holding submessage ' +
526 * Reads an extension field from the given reader and, if a valid extension,
527 * sets the extension value.
542 throw new Error('Deserializing extension whose generated code does not ' +
570 * Gets the value of a non-extension field.
720 * Gets the value of a non-extension primitive field, with proto3 (non-nullable
741 * Sets the value of a non-extension field.
980 * Gets the value of the extension field from the extended object.
1022 * Sets the value of the extension field in the extended object.
1112 * Compares two message extension fields recursively.
1171 // optional extension objects at the end, which we compare separately.
1327 * The extensions registered on MessageSet. This is a map of extension