OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 173 |
174 /** | 174 /** |
175 * @param {T} value | 175 * @param {T} value |
176 * @param {number} start | 176 * @param {number} start |
177 * @param {number=} end | 177 * @param {number=} end |
178 * @this {!Array.<T>} | 178 * @this {!Array.<T>} |
179 * @template T | 179 * @template T |
180 */ | 180 */ |
181 Array.prototype.fill = function(value, start, end) {} | 181 Array.prototype.fill = function(value, start, end) {} |
182 | 182 |
| 183 /** |
| 184 * @param {function(this:S,T,number,!Array<T>)} callback |
| 185 * @param {?S=} thisArg |
| 186 * @this {!Array<T>} |
| 187 * @template T,S |
| 188 */ |
| 189 Array.prototype.find = function(callback, thisArg) {} |
| 190 |
183 // File System API | 191 // File System API |
184 /** | 192 /** |
185 * @constructor | 193 * @constructor |
186 */ | 194 */ |
187 function DOMFileSystem() {} | 195 function DOMFileSystem() {} |
188 | 196 |
189 /** | 197 /** |
190 * @type {DirectoryEntry} | 198 * @type {DirectoryEntry} |
191 */ | 199 */ |
192 DOMFileSystem.prototype.root = null; | 200 DOMFileSystem.prototype.root = null; |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 * @extends {ESTree.Node} | 706 * @extends {ESTree.Node} |
699 * @constructor | 707 * @constructor |
700 */ | 708 */ |
701 ESTree.TemplateLiteralNode = function() | 709 ESTree.TemplateLiteralNode = function() |
702 { | 710 { |
703 /** @type {!Array.<!ESTree.Node>} */ | 711 /** @type {!Array.<!ESTree.Node>} */ |
704 this.quasis; | 712 this.quasis; |
705 /** @type {!Array.<!ESTree.Node>} */ | 713 /** @type {!Array.<!ESTree.Node>} */ |
706 this.expressions; | 714 this.expressions; |
707 } | 715 } |
OLD | NEW |