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

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
« runtime/vm/service/message.dart ('K') | « runtime/vm/service/message.dart ('k') | no next file » | 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..8dbb8db76c81e4616b20d8f5024a617806f6cd46 100644
--- a/runtime/vm/service/service.idl
+++ b/runtime/vm/service/service.idl
@@ -75,6 +75,11 @@ interface Service {
limit int) InboundReferences
getClassList(isolateId string) ClassList
+
+ // When onlyWithInstantiations is true, the list only includes type arguments
+ // with instantiations. Otherwise, all type arguments are returned.
turnidge 2015/02/03 21:09:35 I've been using <code/> around argument names. No
Cutch 2015/02/03 21:35:53 Done.
+ getTypeArgumentsList(isolateId string,
+ onlyWithInstantiations bool) TypeArgumentsList
}
@@ -139,6 +144,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 +178,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 +304,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 {
« runtime/vm/service/message.dart ('K') | « runtime/vm/service/message.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698