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

Side by Side Diff: lib/src/dart_sdk.dart

Issue 1644823002: Remove library tags, they aren't needed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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) 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 /// Common logic needed to provide a Dart SDK to the analyzer's resolver. This 5 /// Common logic needed to provide a Dart SDK to the analyzer's resolver. This
6 /// includes logic to determine where the sdk is located in the filesystem, and 6 /// includes logic to determine where the sdk is located in the filesystem, and
7 /// definitions to provide mock sdks. 7 /// definitions to provide mock sdks.
8 library dev_compiler.src.dart_sdk;
9 8
10 import 'package:analyzer/src/generated/engine.dart' 9 import 'package:analyzer/src/generated/engine.dart'
11 show AnalysisContext, TimestampedData; 10 show AnalysisContext, TimestampedData;
12 import 'package:analyzer/src/generated/sdk.dart'; 11 import 'package:analyzer/src/generated/sdk.dart';
13 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
14 import 'package:analyzer/src/context/context.dart'; 13 import 'package:analyzer/src/context/context.dart';
15 14
16 /// Dart SDK which contains a mock implementation of the SDK libraries. May be 15 /// Dart SDK which contains a mock implementation of the SDK libraries. May be
17 /// used to speed up execution when most of the core libraries is not needed. 16 /// used to speed up execution when most of the core libraries is not needed.
18 class MockDartSdk implements DartSdk { 17 class MockDartSdk implements DartSdk {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ''', 173 ''',
175 'dart:math': ''' 174 'dart:math': '''
176 library dart.math; 175 library dart.math;
177 class Random { 176 class Random {
178 bool nextBool() {} 177 bool nextBool() {}
179 } 178 }
180 num min(num x, num y) {} 179 num min(num x, num y) {}
181 num max(num x, num y) {} 180 num max(num x, num y) {}
182 ''', 181 ''',
183 }; 182 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698