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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java

Issue 23578028: Fix for issue 13272 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added missed file Created 7 years, 3 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/internal/constant/EvaluationResultImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java
index e2f1bbbcbd106803db8745bd8d07e4080b8a2e5c..35b9c7ff500de6dd9cbd83f1cb6142eb384d2937 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/constant/EvaluationResultImpl.java
@@ -24,6 +24,14 @@ import com.google.dart.engine.ast.Expression;
public abstract class EvaluationResultImpl {
public abstract EvaluationResultImpl add(BinaryExpression node, EvaluationResultImpl rightOperand);
+ /**
+ * Return the result of applying boolean conversion to this result.
+ *
+ * @param node the node against which errors should be reported
+ * @return the result of applying boolean conversion to the given value
+ */
+ public abstract EvaluationResultImpl applyBooleanConversion(ASTNode node);
+
public abstract EvaluationResultImpl bitAnd(BinaryExpression node,
EvaluationResultImpl rightOperand);

Powered by Google App Engine
This is Rietveld 408576698