| Index: chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/messageformat.js
|
| diff --git a/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/messageformat.js b/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/messageformat.js
|
| index 923af98b2185147c3a6f9a57840a209bdab64f56..f38f69c440cceebd4491819bb076356bcf75f040 100644
|
| --- a/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/messageformat.js
|
| +++ b/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/messageformat.js
|
| @@ -79,14 +79,14 @@ goog.i18n.MessageFormat = function(pattern) {
|
| /**
|
| * All encountered literals during parse stage. Indices tell us the order of
|
| * replacement.
|
| - * @type {!Array.<string>}
|
| + * @type {!Array<string>}
|
| * @private
|
| */
|
| this.literals_ = [];
|
|
|
| /**
|
| * Input pattern gets parsed into objects for faster formatting.
|
| - * @type {!Array.<!Object>}
|
| + * @type {!Array<!Object>}
|
| * @private
|
| */
|
| this.parsedPattern_ = [];
|
| @@ -227,13 +227,13 @@ goog.i18n.MessageFormat.prototype.format_ =
|
|
|
| /**
|
| * Parses generic block and returns a formatted string.
|
| - * @param {!Array.<!Object>} parsedPattern Holds parsed tree.
|
| + * @param {!Array<!Object>} parsedPattern Holds parsed tree.
|
| * @param {!Object} namedParameters Parameters that either influence
|
| * the formatting or are used as actual data.
|
| * @param {boolean} ignorePound If true, treat '#' in plural messages as a
|
| * literary character, else treat it as an ICU syntax character, resolving
|
| * to the number (plural_variable - offset).
|
| - * @param {!Array.<!string>} result Each formatting stage appends its product
|
| + * @param {!Array<!string>} result Each formatting stage appends its product
|
| * to the result.
|
| * @private
|
| */
|
| @@ -279,7 +279,7 @@ goog.i18n.MessageFormat.prototype.formatBlock_ = function(
|
| * Formats simple placeholder.
|
| * @param {!Object} parsedPattern JSON object containing placeholder info.
|
| * @param {!Object} namedParameters Parameters that are used as actual data.
|
| - * @param {!Array.<!string>} result Each formatting stage appends its product
|
| + * @param {!Array<!string>} result Each formatting stage appends its product
|
| * to the result.
|
| * @private
|
| */
|
| @@ -306,7 +306,7 @@ goog.i18n.MessageFormat.prototype.formatSimplePlaceholder_ = function(
|
| * @param {boolean} ignorePound If true, treat '#' in plural messages as a
|
| * literary character, else treat it as an ICU syntax character, resolving
|
| * to the number (plural_variable - offset).
|
| - * @param {!Array.<!string>} result Each formatting stage appends its product
|
| + * @param {!Array<!string>} result Each formatting stage appends its product
|
| * to the result.
|
| * @private
|
| */
|
| @@ -341,7 +341,7 @@ goog.i18n.MessageFormat.prototype.formatSelectBlock_ = function(
|
| * @param {boolean} ignorePound If true, treat '#' in plural messages as a
|
| * literary character, else treat it as an ICU syntax character, resolving
|
| * to the number (plural_variable - offset).
|
| - * @param {!Array.<!string>} result Each formatting stage appends its product
|
| + * @param {!Array<!string>} result Each formatting stage appends its product
|
| * to the result.
|
| * @private
|
| */
|
| @@ -442,7 +442,7 @@ goog.i18n.MessageFormat.prototype.insertPlaceholders_ = function(pattern) {
|
| /**
|
| * Breaks pattern into strings and top level {...} blocks.
|
| * @param {string} pattern (sub)Pattern to be broken.
|
| - * @return {!Array.<Object>} Each item is {type, value}.
|
| + * @return {!Array<Object>} Each item is {type, value}.
|
| * @private
|
| */
|
| goog.i18n.MessageFormat.prototype.extractParts_ = function(pattern) {
|
| @@ -561,7 +561,7 @@ goog.i18n.MessageFormat.prototype.parseBlockType_ = function(pattern) {
|
| /**
|
| * Parses generic block.
|
| * @param {string} pattern Content of the block to parse.
|
| - * @return {!Array.<!Object>} Subblocks marked as strings, select...
|
| + * @return {!Array<!Object>} Subblocks marked as strings, select...
|
| * @private
|
| */
|
| goog.i18n.MessageFormat.prototype.parseBlock_ = function(pattern) {
|
|
|