Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: lib/runtime/dart/_operations.js

Issue 1486473002: Convert dart_utils.js to input_sdk/lib/_internal/utils.dart (#310) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/_classes.js ('k') | lib/runtime/dart/_rtti.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 next() { 448 next() {
448 let i = this.dartIterator; 449 let i = this.dartIterator;
449 let done = !i.moveNext(); 450 let done = !i.moveNext();
450 return { done: done, value: done ? void 0 : i.current }; 451 return { done: done, value: done ? void 0 : i.current };
451 } 452 }
452 } 453 }
453 exports.JsIterator = JsIterator; 454 exports.JsIterator = JsIterator;
454 455
455 456
456 }); 457 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/_classes.js ('k') | lib/runtime/dart/_rtti.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698