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

Unified Diff: pkg/analyzer/lib/src/generated/source_io.dart

Issue 189433006: Support for DartBlockBody, DartExpressionBody, DartOmit in java2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments. Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/lib/src/string_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/source_io.dart
diff --git a/pkg/analyzer/lib/src/generated/source_io.dart b/pkg/analyzer/lib/src/generated/source_io.dart
index b8a5630c29c0807fb8dc429afcebf41e89003a26..5858ab30e9fd372dc267bf676548bc70336bf146 100644
--- a/pkg/analyzer/lib/src/generated/source_io.dart
+++ b/pkg/analyzer/lib/src/generated/source_io.dart
@@ -107,15 +107,6 @@ class FileBasedSource implements Source {
}
}
- void getContentsToReceiver(Source_ContentReceiver receiver) {
- TimeCounter_TimeCounterHandle handle = PerformanceStatistics.io.start();
- try {
- getContentsFromFileToReceiver(receiver);
- } finally {
- handle.stop();
- }
- }
-
String get encoding {
if (_encoding == null) {
_encoding = "${_uriKind.encoding}${_file.toURI().toString()}";
@@ -167,17 +158,6 @@ class FileBasedSource implements Source {
}
/**
- * Get the contents of underlying file and pass it to the given receiver.
- *
- * @param receiver the content receiver to which the content of this source will be passed
- * @throws Exception if the contents of this source could not be accessed
- * @see #getContentsToReceiver(ContentReceiver)
- */
- void getContentsFromFileToReceiver(Source_ContentReceiver receiver) {
- throw new UnsupportedOperationException();
- }
-
- /**
* Return the file represented by this source. This is an internal method that is only intended to
* be used by subclasses of [UriResolver] that are designed to work with file-based sources.
*
« no previous file with comments | « pkg/analyzer/lib/src/generated/source.dart ('k') | pkg/analyzer/lib/src/string_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698