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

Side by Side Diff: runtime/vm/service/protocol.md

Issue 487023003: vmservice protocol cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Dart VM Service Protocol 1 # Dart VM Service Protocol
2 2
3 Description 3 Description
4 How to start 4 How to start
5 JSON 5 JSON
6 Websocket 6 Websocket
7 7
8 ## Types 8 ## Types
9 9
10 Every response returned by the VM Service has the <code>type</code> property. T his allows the client distinguish between different kinds of responses. For exa mple, global information about the VM is encoded in an response of type [VM](#VM ) and information about an isolate is encoded in an response of type [Isolate](# Isolate). 10 Every response returned by the VM Service has the <code>type</code> property. T his allows the client distinguish between different kinds of responses. For exa mple, global information about the VM is encoded in an response of type [VM](#VM ) and information about an isolate is encoded in an response of type [Isolate](# Isolate).
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 | libs | List of [@Library](#atLibrary) | 104 | libs | List of [@Library](#atLibrary) |
105 | features | List of String | 105 | features | List of String |
106 106
107 107
108 ### <a name="atLibrary"></a>@Library 108 ### <a name="atLibrary"></a>@Library
109 109
110 | keys | values | comments 110 | keys | values | comments
111 | --- | --- | --- 111 | --- | --- | ---
112 | type | "@Library" | 112 | type | "@Library" |
113 | id | String | 113 | id | String |
114 | user_name | String | 114 | name | String |
115 | name | String 115 | vmName? | String | Internal vm name. Provided only when different from 'name' .
116 | url | String 116 | url | String
117 117
118 ### <a name="Library"></a>Library 118 ### <a name="Library"></a>Library
119 119
120 | keys | values | comments 120 | keys | values | comments
121 | --- | --- | --- 121 | --- | --- | ---
122 | type | "Library" | 122 | type | "Library" |
123 | id | String | 123 | id | String |
124 | user_name | String | 124 | name | String |
125 | name | String 125 | vmName? | String | Internal vm name. Provided only when different from 'name' .
126 | classes | List of [@Class](#atClass) | 126 | classes | List of [@Class](#atClass) |
127 | imports | List of [@Library](#atLibrary) | 127 | imports | List of [@Library](#atLibrary) |
128 | variables | List of ... | 128 | variables | List of ... |
129 | functions | List of [@Function](#atFunction) | 129 | functions | List of [@Function](#atFunction) |
130 | scripts | List of [@Script](#atScript) | 130 | scripts | List of [@Script](#atScript) |
131 131
132 ### <a name="atScript"></a>@Script 132 ### <a name="atScript"></a>@Script
133 | keys | values | comments | example | 133 | keys | values | comments | example |
134 | --- | --- | --- 134 | --- | --- | ---
135 | type | "@Script" | 135 | type | "@Script" |
136 | id | String 136 | id | String
137 | user_name | String
138 | name | String 137 | name | String
138 | vmName? | String | Internal vm name. Provided only when different from 'name' .
139 | kind | String 139 | kind | String
140 140
141 ### <a name="Script"></a>Script 141 ### <a name="Script"></a>Script
142 | keys | values | comments 142 | keys | values | comments
143 | --- | --- | --- 143 | --- | --- | ---
144 | type | "@Script" | 144 | type | "@Script" |
145 | id | String 145 | id | String
146 | user_name | String
147 | name | String 146 | name | String
147 | vmName? | String | Internal vm name. Provided only when different from 'name' .
148 | kind | String 148 | kind | String
149 | owningLibrary | [@Library](#atLibrary) | 149 | owningLibrary | [@Library](#atLibrary) |
150 | source | String 150 | source | String
151 | tokenPosTable | List of TokenLine 151 | tokenPosTable | List of TokenLine
152 152
153 ### <a name="TokenLine"></a>TokenLine 153 ### <a name="TokenLine"></a>TokenLine
154 | index | value | comments 154 | index | value | comments
155 | --- | --- | --- 155 | --- | --- | ---
156 | 0 | integer | line number 156 | 0 | integer | line number
157 | 1 | integer | first token position 157 | 1 | integer | first token position
158 | 2 | integer | first column number 158 | 2 | integer | first column number
159 | ... | ... | ... 159 | ... | ... | ...
160 | 1 + (2 * k) | integer | kth token position 160 | 1 + (2 * k) | integer | kth token position
161 | 2 + (2 * k) | integer | kth column number 161 | 2 + (2 * k) | integer | kth column number
OLDNEW
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698