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

Unified Diff: runtime/include/dart_debugger_api.h

Issue 22909009: Evaluate expression in context of an object (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « no previous file | runtime/vm/compiler.h » ('j') | runtime/vm/compiler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_debugger_api.h
===================================================================
--- runtime/include/dart_debugger_api.h (revision 26007)
+++ runtime/include/dart_debugger_api.h (working copy)
@@ -472,6 +472,20 @@
/**
+ * Execute the expression given is string \expr in the context
+ * of \object.
+ *
+ * Requires there to be a current isolate.
+ *
+ * \return A handle to the computed value, or an error object if
+ * the compilation of the expression fails, or the evaluation throws
+ * an error.
+ */
+DART_EXPORT Dart_Handle Dart_EvaluateExpr(Dart_Handle object,
Ivan Posva 2013/08/19 21:32:18 object -> target to match other functions in dart_
hausner 2013/08/19 22:47:38 Done. Also added TODOs in the wire protocol code t
+ Dart_Handle expr);
+
+
+/**
* Returns the class of the given \object.
*
* Requires there to be a current isolate.
« no previous file with comments | « no previous file | runtime/vm/compiler.h » ('j') | runtime/vm/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698