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

Side by Side Diff: pkg/compiler/lib/compiler.dart

Issue 2753253003: Change comments that are interpreted by analyzer. (Closed)
Patch Set: Created 3 years, 9 months 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 | « no previous file | pkg/compiler/lib/compiler_new.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 library compiler; 5 library compiler;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:package_config/packages.dart'; 9 import 'package:package_config/packages.dart';
10 10
(...skipping 11 matching lines...) Expand all
22 * The source can be represented either as a [:List<int>:] of UTF-8 bytes or as 22 * The source can be represented either as a [:List<int>:] of UTF-8 bytes or as
23 * a [String]. 23 * a [String].
24 * 24 *
25 * The following text is non-normative: 25 * The following text is non-normative:
26 * 26 *
27 * It is recommended to return a UTF-8 encoded list of bytes because the scanner 27 * It is recommended to return a UTF-8 encoded list of bytes because the scanner
28 * is more efficient in this case. In either case, the data structure is 28 * is more efficient in this case. In either case, the data structure is
29 * expected to hold a zero element at the last position. If this is not the 29 * expected to hold a zero element at the last position. If this is not the
30 * case, the entire data structure is copied before scanning. 30 * case, the entire data structure is copied before scanning.
31 */ 31 */
32 typedef Future/*<String | List<int>>*/ CompilerInputProvider(Uri uri); 32 typedef Future /* <String | List<int>> */ CompilerInputProvider(Uri uri);
33 33
34 /// Deprecated, please use [CompilerInputProvider] instead. 34 /// Deprecated, please use [CompilerInputProvider] instead.
35 typedef Future<String> ReadStringFromUri(Uri uri); 35 typedef Future<String> ReadStringFromUri(Uri uri);
36 36
37 /** 37 /**
38 * Returns an [EventSink] that will serve as compiler output for the given 38 * Returns an [EventSink] that will serve as compiler output for the given
39 * component. 39 * component.
40 * 40 *
41 * Components are identified by [name] and [extension]. By convention, 41 * Components are identified by [name] and [extension]. By convention,
42 * the empty string [:"":] will represent the main script 42 * the empty string [:"":] will represent the main script
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 final String name; 200 final String name;
201 201
202 /** 202 /**
203 * This constructor is not private to support user-defined 203 * This constructor is not private to support user-defined
204 * diagnostic kinds. 204 * diagnostic kinds.
205 */ 205 */
206 const Diagnostic(this.ordinal, this.name); 206 const Diagnostic(this.ordinal, this.name);
207 207
208 String toString() => name; 208 String toString() => name;
209 } 209 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/compiler_new.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698