Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java |
index a5d6a4f667a906fcbb7af533d7a74da2df7cc910..deb886c345aa6bc1d4434952c9d48ed1244de213 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/object/DartObjectImpl.java |
@@ -325,6 +325,13 @@ public class DartObjectImpl implements DartObject { |
} |
/** |
+ * Return true if this object represents an unknown value. |
+ */ |
+ public boolean isUnknown() { |
+ return state.isUnknown(); |
+ } |
+ |
+ /** |
* Return {@code true} if this object represents an instance of a user-defined class. |
* |
* @return {@code true} if this object represents an instance of a user-defined class |