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

Side by Side Diff: utils/apidoc/html_diff.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « utils/apidoc/apidoc.dart ('k') | utils/apidoc/lib/metadata.dart » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * A script to assist in documenting the difference between the dart:html API 6 * A script to assist in documenting the difference between the dart:html API
7 * and the old DOM API. 7 * and the old DOM API.
8 */ 8 */
9 library html_diff; 9 library html_diff;
10 10
11 import 'dart:async'; 11 import 'dart:async';
12 12
13 import 'lib/metadata.dart'; 13 import 'lib/metadata.dart';
14 14
15 // TODO(rnystrom): Use "package:" URL (#4968). 15 // TODO(rnystrom): Use "package:" URL (#4968).
16 import '../../sdk/lib/_internal/compiler/implementation/mirrors/analyze.dart'; 16 import '../../pkg/compiler/lib/src/mirrors/analyze.dart';
17 import '../../sdk/lib/_internal/compiler/implementation/mirrors/source_mirrors.d art'; 17 import '../../pkg/compiler/lib/src/mirrors/source_mirrors.dart';
18 import '../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dar t'; 18 import '../../pkg/compiler/lib/src/mirrors/mirrors_util.dart';
19 import '../../sdk/lib/_internal/compiler/implementation/source_file_provider.dar t'; 19 import '../../pkg/compiler/lib/src/source_file_provider.dart';
20 20
21 // TODO(amouravski): There is currently magic that looks at dart:* libraries 21 // TODO(amouravski): There is currently magic that looks at dart:* libraries
22 // rather than the declared library names. This changed due to recent syntax 22 // rather than the declared library names. This changed due to recent syntax
23 // changes. We should only need to look at the library 'html'. 23 // changes. We should only need to look at the library 'html'.
24 final List<Uri> HTML_LIBRARY_URIS = [ 24 final List<Uri> HTML_LIBRARY_URIS = [
25 new Uri(scheme: 'dart', path: 'html'), 25 new Uri(scheme: 'dart', path: 'html'),
26 new Uri(scheme: 'dart', path: 'indexed_db'), 26 new Uri(scheme: 'dart', path: 'indexed_db'),
27 new Uri(scheme: 'dart', path: 'svg'), 27 new Uri(scheme: 'dart', path: 'svg'),
28 new Uri(scheme: 'dart', path: 'web_audio')]; 28 new Uri(scheme: 'dart', path: 'web_audio')];
29 29
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 return members; 222 return members;
223 } 223 }
224 224
225 if (name.split('.').length != 2) { 225 if (name.split('.').length != 2) {
226 warn('invalid member name ${name}'); 226 warn('invalid member name ${name}');
227 return new Set(); 227 return new Set();
228 } 228 }
229 return new Set.from([name]); 229 return new Set.from([name]);
230 } 230 }
231 } 231 }
OLDNEW
« no previous file with comments | « utils/apidoc/apidoc.dart ('k') | utils/apidoc/lib/metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698