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

Side by Side Diff: tools/dom/docs/lib/docs.dart

Issue 690103004: 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 | « tools/create_sdk.py ('k') | utils/apidoc/apidoc.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library for extracting the documentation from the various HTML libraries 6 * A library for extracting the documentation from the various HTML libraries
7 * ([dart:html], [dart:svg], [dart:web_audio], [dart:indexed_db]) and saving 7 * ([dart:html], [dart:svg], [dart:web_audio], [dart:indexed_db]) and saving
8 * those documentation comments to a JSON file. 8 * those documentation comments to a JSON file.
9 */ 9 */
10 10
11 library docs; 11 library docs;
12 12
13 import '../../../../sdk/lib/_internal/dartdoc/lib/src/dart2js_mirrors.dart'; 13 import '../../../../sdk/lib/_internal/dartdoc/lib/src/dart2js_mirrors.dart';
14 import '../../../../sdk/lib/_internal/compiler/implementation/mirrors/source_mir rors.dart'; 14 import '../../../../pkg/compiler/lib/src/mirrors/source_mirrors.dart';
15 import '../../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_ut il.dart'; 15 import '../../../../pkg/compiler/lib/src/mirrors/mirrors_util.dart';
16 import '../../../../sdk/lib/_internal/dartdoc/lib/dartdoc.dart'; 16 import '../../../../sdk/lib/_internal/dartdoc/lib/dartdoc.dart';
17 import '../../../../sdk/lib/_internal/dartdoc/lib/src/json_serializer.dart'; 17 import '../../../../sdk/lib/_internal/dartdoc/lib/src/json_serializer.dart';
18 import '../../../../utils/apidoc/lib/metadata.dart'; 18 import '../../../../utils/apidoc/lib/metadata.dart';
19 import 'dart:async'; 19 import 'dart:async';
20 import 'dart:io'; 20 import 'dart:io';
21 21
22 /// The various HTML libraries. 22 /// The various HTML libraries.
23 const List<String> HTML_LIBRARY_NAMES = const ['dart:html', 23 const List<String> HTML_LIBRARY_NAMES = const ['dart:html',
24 'dart:indexed_db', 24 'dart:indexed_db',
25 'dart:svg', 25 'dart:svg',
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 for (var s in tags.reflectee.split(',')) { 188 for (var s in tags.reflectee.split(',')) {
189 domNames.add(s.trim()); 189 domNames.add(s.trim());
190 } 190 }
191 191
192 if (domNames.length == 1 && domNames[0] == 'none') return <String>[]; 192 if (domNames.length == 1 && domNames[0] == 'none') return <String>[];
193 return domNames; 193 return domNames;
194 } else { 194 } else {
195 return <String>[]; 195 return <String>[];
196 } 196 }
197 } 197 }
OLDNEW
« no previous file with comments | « tools/create_sdk.py ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698