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

Side by Side Diff: pkg/analyzer/lib/src/generated/sdk.dart

Issue 1890973002: Clean up hints after a new hint was introduced (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 analyzer.src.generated.sdk; 5 library analyzer.src.generated.sdk;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/visitor.dart'; 10 import 'package:analyzer/dart/ast/visitor.dart';
11 import 'package:analyzer/src/generated/engine.dart' 11 import 'package:analyzer/src/generated/engine.dart'
12 show AnalysisContext, AnalysisOptions; 12 show AnalysisContext, AnalysisOptions;
13 import 'package:analyzer/src/generated/source.dart' 13 import 'package:analyzer/src/generated/source.dart' show Source;
14 show ContentCache, Source, UriKind;
15 14
16 /** 15 /**
17 * A function used to create a new DartSdk with the given [options]. If the 16 * A function used to create a new DartSdk with the given [options]. If the
18 * passed [options] are `null`, then default options are used. 17 * passed [options] are `null`, then default options are used.
19 */ 18 */
20 typedef DartSdk SdkCreator(AnalysisOptions options); 19 typedef DartSdk SdkCreator(AnalysisOptions options);
21 20
22 /** 21 /**
23 * A Dart SDK installed in a specified location. 22 * A Dart SDK installed in a specified location.
24 */ 23 */
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 _platforms |= DART2JS_PLATFORM; 447 _platforms |= DART2JS_PLATFORM;
449 } 448 }
450 449
451 /** 450 /**
452 * Record that this library can be run on the VM. 451 * Record that this library can be run on the VM.
453 */ 452 */
454 void setVmLibrary() { 453 void setVmLibrary() {
455 _platforms |= VM_PLATFORM; 454 _platforms |= VM_PLATFORM;
456 } 455 }
457 } 456 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/lib/src/summary/summary_sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698