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

Unified Diff: runtime/vm/service/service.idl

Issue 887413003: Port type arguments to new RPC protocol (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « runtime/vm/service/message.dart ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/service.idl
diff --git a/runtime/vm/service/service.idl b/runtime/vm/service/service.idl
index 91aa7f373ab25c6a17efbae3ad208560dd5e6640..80d43c590dd02f6583b354157132b292a7d40ef7 100644
--- a/runtime/vm/service/service.idl
+++ b/runtime/vm/service/service.idl
@@ -75,6 +75,12 @@ interface Service {
limit int) InboundReferences
getClassList(isolateId string) ClassList
+
+ // When <code>onlyWithInstantiations</code> is true, the list only includes
+ // type arguments with instantiations. Otherwise, all type arguments are
+ // returned.
+ getTypeArgumentsList(isolateId string,
+ onlyWithInstantiations bool) TypeArgumentsList
}
@@ -139,6 +145,11 @@ struct ClassRef extends ObjectRef {
}
+struct TypeArgumentsRef extends ObjectRef {
+ placeholder int
+}
+
+
// A <code>FunctionRef</code> encodes a reference to a <code>Function</code> object.
struct FunctionRef extends ObjectRef {
placeholder int
@@ -168,6 +179,11 @@ struct Class extends Object {
}
+struct TypeArguments extends Object {
+ placeholder int
+}
+
+
// A <code>Location</code> encodes a location withing a dart script.
//
// TODO(turnidge): Should this really be broken out as its own type?
@@ -289,6 +305,13 @@ struct ClassList {
}
+struct TypeArgumentsList {
+ tableSize int
+ tableUsed int
+ typeArguments []TypeArgumentsRef
+}
+
+
// A <code>GCOption</code> is used to indicate which form of garbage
// collection is requested.
enum GCOption {
« no previous file with comments | « runtime/vm/service/message.dart ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698