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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java

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
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java
index 6712ce956b9c521b5479384b2c0ed0ee9fa9e6b4..82ef3adacb252246b943ceb08a675383af7366b1 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/source/Source.java
@@ -15,6 +15,7 @@ package com.google.dart.engine.source;
import com.google.dart.engine.context.AnalysisContext;
import com.google.dart.engine.internal.context.TimestampedData;
+import com.google.dart.engine.utilities.translation.DartOmit;
import java.net.URI;
@@ -83,13 +84,14 @@ public interface Source {
* Get the contents of this source and pass it to the given content receiver.
* <p>
* Clients should consider using the the method
- * {@link AnalysisContext#getContentsToReceiver(Source, ContentReceiver)} because contexts can have local
- * overrides of the content of a source that the source is not aware of.
+ * {@link AnalysisContext#getContentsToReceiver(Source, ContentReceiver)} because contexts can
+ * have local overrides of the content of a source that the source is not aware of.
*
* @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
*/
@Deprecated
+ @DartOmit
public void getContentsToReceiver(ContentReceiver receiver) throws Exception;
/**

Powered by Google App Engine
This is Rietveld 408576698