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

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

Issue 514833003: Add a new Sentinel type for sentinel responses. (They are not Null). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, fix tests Created 6 years, 3 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/service.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 NOTE: The service api is still changing rapidly. If you use the 3 NOTE: The service api is still changing rapidly. If you use the
4 service api, expect to encounter non-compatible changes. 4 service api, expect to encounter non-compatible changes.
5 5
6 Description 6 Description
7 How to start 7 How to start
8 JSON 8 JSON
9 Websocket 9 Websocket
10 10
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 *Token line format* 422 *Token line format*
423 | index | value | comments 423 | index | value | comments
424 | --- | --- | --- 424 | --- | --- | ---
425 | 0 | int | line number 425 | 0 | int | line number
426 | 1 | int | first token position 426 | 1 | int | first token position
427 | 2 | int | first column number 427 | 2 | int | first column number
428 | ... | ... | ... 428 | ... | ... | ...
429 | 1 + (2 * k) | int | kth token position 429 | 1 + (2 * k) | int | kth token position
430 | 2 + (2 * k) | int | kth column number 430 | 2 + (2 * k) | int | kth column number
431 431
432 ### <a name="Sentinel"></a>Sentinel
433
434 TODO: Enumerate known Sentinels
435 TODO: Should this even have an id? Maybe a *kind* instead.
436
437 | keys | values | comments
438 | --- | --- | ---
439 | type | "Sentinel" |
440 | id | String | |
441 | valueAsString | String |
442
432 ### <a name="VM"></a>VM 443 ### <a name="VM"></a>VM
433 444
434 | keys | values | comments 445 | keys | values | comments
435 | --- | --- | --- 446 | --- | --- | ---
436 | type | "VM" | 447 | type | "VM" |
437 | id | String | 448 | id | String |
438 | targetCPU | String | 449 | targetCPU | String |
439 | hostCPU | String | 450 | hostCPU | String |
440 | date | String | kill? | 451 | date | String | kill? |
441 | version | String | 452 | version | String |
442 | pid | int | 453 | pid | int |
443 | assertsEnabled | bool | TODO: move to features? | 454 | assertsEnabled | bool | TODO: move to features? |
444 | typeChecksEnabled | bool | TODO: move to features? | 455 | typeChecksEnabled | bool | TODO: move to features? |
445 | uptime | double | seconds since vm started | 456 | uptime | double | seconds since vm started |
446 | "isolates" | List of [@Isolate](#atIsolate) | 457 | "isolates" | List of [@Isolate](#atIsolate) |
447 458
OLDNEW
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698