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

Side by Side Diff: pkg/analyzer/lib/src/string_source.dart

Issue 45573002: Rename analyzer_experimental to analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks before publishing. Created 7 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 | « pkg/analyzer/lib/src/services/writer.dart ('k') | pkg/analyzer/pubspec.yaml » ('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 library analyzer.string_source; 5 library analyzer.string_source;
6 6
7 import 'generated/source.dart'; 7 import 'generated/source.dart';
8 8
9 /// An implementation of [Source] that's based on an in-memory Dart string. 9 /// An implementation of [Source] that's based on an in-memory Dart string.
10 class StringSource implements Source { 10 class StringSource implements Source {
(...skipping 25 matching lines...) Expand all
36 UriKind get uriKind => throw new UnsupportedError("StringSource doesn't suppor t " 36 UriKind get uriKind => throw new UnsupportedError("StringSource doesn't suppor t "
37 "uriKind."); 37 "uriKind.");
38 38
39 int get hashCode => _contents.hashCode ^ fullName.hashCode; 39 int get hashCode => _contents.hashCode ^ fullName.hashCode;
40 40
41 bool get isInSystemLibrary => false; 41 bool get isInSystemLibrary => false;
42 42
43 Source resolveRelative(Uri relativeUri) => throw new UnsupportedError( 43 Source resolveRelative(Uri relativeUri) => throw new UnsupportedError(
44 "StringSource doesn't support resolveRelative."); 44 "StringSource doesn't support resolveRelative.");
45 } 45 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/services/writer.dart ('k') | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698