| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /* This library defines runtime operations on objects used by the code | 5 /* This library defines runtime operations on objects used by the code |
| 6 * generator. | 6 * generator. |
| 7 */ | 7 */ |
| 8 dart_library.library('dart/_operations', null, /* Imports */[ | 8 dart_library.library('dart/_operations', null, /* Imports */[ |
| 9 ], /* Lazy Imports */[ | 9 ], /* Lazy Imports */[ |
| 10 'dart/_utils', |
| 10 'dart/async', | 11 'dart/async', |
| 11 'dart/collection', | 12 'dart/collection', |
| 12 'dart/core', | 13 'dart/core', |
| 13 'dart/_js_helper', | 14 'dart/_js_helper', |
| 14 'dart/_classes', | 15 'dart/_classes', |
| 15 'dart/_errors', | 16 'dart/_errors', |
| 16 'dart/_rtti', | 17 'dart/_rtti', |
| 17 'dart/_types' | 18 'dart/_types' |
| 18 ], function(exports, async, collection, core, _js_helper, classes, errors, rtti, | 19 ], function(exports, dart_utils, async, collection, core, _js_helper, classes, e
rrors, rtti, |
| 19 types) { | 20 types) { |
| 20 'use strict'; | 21 'use strict'; |
| 21 | 22 |
| 22 const getOwnNamesAndSymbols = dart_utils.getOwnNamesAndSymbols; | 23 const getOwnNamesAndSymbols = dart_utils.getOwnNamesAndSymbols; |
| 23 const throwError = dart_utils.throwError; | 24 const throwError = dart_utils.throwError; |
| 24 | 25 |
| 25 const getOwnPropertyNames = Object.getOwnPropertyNames; | 26 const getOwnPropertyNames = Object.getOwnPropertyNames; |
| 26 const hasOwnProperty = Object.prototype.hasOwnProperty; | 27 const hasOwnProperty = Object.prototype.hasOwnProperty; |
| 27 | 28 |
| 28 function _canonicalFieldName(obj, name, args, displayName) { | 29 function _canonicalFieldName(obj, name, args, displayName) { |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 next() { | 454 next() { |
| 454 let i = this.dartIterator; | 455 let i = this.dartIterator; |
| 455 let done = !i.moveNext(); | 456 let done = !i.moveNext(); |
| 456 return { done: done, value: done ? void 0 : i.current }; | 457 return { done: done, value: done ? void 0 : i.current }; |
| 457 } | 458 } |
| 458 } | 459 } |
| 459 exports.JsIterator = JsIterator; | 460 exports.JsIterator = JsIterator; |
| 460 | 461 |
| 461 | 462 |
| 462 }); | 463 }); |
| OLD | NEW |