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

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

Issue 1208153002: Include pattern and functions for RegExps over the service protocol. Remove quadratic behavior from… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | 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.0 (Draft 1) 1 # Dart VM Service Protocol 1.0 (Draft 1)
2 2
3 > Please post feedback to the [observatory-discuss group][discuss-list] 3 > Please post feedback to the [observatory-discuss group][discuss-list]
4 4
5 This document describes _draft 1_ of _version 1.0_ of the Dart VM 5 This document describes _draft 1_ of _version 1.0_ of the Dart VM
6 Service Protocol. This protocol is used to communicate with a running 6 Service Protocol. This protocol is used to communicate with a running
7 Dart Virtual Machine. 7 Dart Virtual Machine.
8 8
9 To use the Service Protocol, start the VM with the *--observe* flag. 9 To use the Service Protocol, start the VM with the *--observe* flag.
10 The VM will start a webserver which services protocol requests via WebSocket. 10 The VM will start a webserver which services protocol requests via WebSocket.
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 // 1256 //
1257 // Provided for instance kinds: 1257 // Provided for instance kinds:
1258 // Type 1258 // Type
1259 @Class typeClass [optional]; 1259 @Class typeClass [optional];
1260 1260
1261 // The parameterized class of a type parameter: 1261 // The parameterized class of a type parameter:
1262 // 1262 //
1263 // Provided for instance kinds: 1263 // Provided for instance kinds:
1264 // TypeParameter 1264 // TypeParameter
1265 @Class parameterizedClass [optional]; 1265 @Class parameterizedClass [optional];
1266
1267
1268 // The pattern of a RegExp instance.
1269 //
1270 // Provided for instance kinds:
1271 // RegExp
1272 @String pattern [optional];
1266 } 1273 }
1267 ``` 1274 ```
1268 1275
1269 _@Instance_ is a reference to an _Instance_. 1276 _@Instance_ is a reference to an _Instance_.
1270 1277
1271 ``` 1278 ```
1272 class Instance extends Object { 1279 class Instance extends Object {
1273 // What kind of instance is this? 1280 // What kind of instance is this?
1274 InstanceKind kind; 1281 InstanceKind kind;
1275 1282
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 // 1379 //
1373 // Provided for instance kinds: 1380 // Provided for instance kinds:
1374 // Closure 1381 // Closure
1375 @Function closureContext [optional]; 1382 @Function closureContext [optional];
1376 1383
1377 // The referent of a MirrorReference instance. 1384 // The referent of a MirrorReference instance.
1378 // 1385 //
1379 // Provided for instance kinds: 1386 // Provided for instance kinds:
1380 // MirrorReference 1387 // MirrorReference
1381 @Instance mirrorReferent [optional]; 1388 @Instance mirrorReferent [optional];
1389
1390 // The pattern of a RegExp instance.
1391 //
1392 // Provided for instance kinds:
1393 // RegExp
1394 @String pattern [optional];
1382 1395
1383 // The key for a WeakProperty instance. 1396 // The key for a WeakProperty instance.
1384 // 1397 //
1385 // Provided for instance kinds: 1398 // Provided for instance kinds:
1386 // WeakProperty 1399 // WeakProperty
1387 @Instance propertyKey [optional]; 1400 @Instance propertyKey [optional];
1388 1401
1389 // The key for a WeakProperty instance. 1402 // The key for a WeakProperty instance.
1390 // 1403 //
1391 // Provided for instance kinds: 1404 // Provided for instance kinds:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 Float32x4List, 1490 Float32x4List,
1478 Float64x2List, 1491 Float64x2List,
1479 1492
1480 // An instance of the built-in VM Closure implementation. User-defined 1493 // An instance of the built-in VM Closure implementation. User-defined
1481 // Closures will be PlainInstance. 1494 // Closures will be PlainInstance.
1482 Closure, 1495 Closure,
1483 1496
1484 // An instance of the Dart class MirrorReference. 1497 // An instance of the Dart class MirrorReference.
1485 MirrorReference, 1498 MirrorReference,
1486 1499
1500 // An instance of the Dart class RegExp.
1501 RegExp,
1502
1487 // An instance of the Dart class WeakProperty. 1503 // An instance of the Dart class WeakProperty.
1488 WeakProperty, 1504 WeakProperty,
1489 1505
1490 // An instance of the Dart class Type 1506 // An instance of the Dart class Type
1491 Type, 1507 Type,
1492 1508
1493 // An instance of the Dart class TypeParamer 1509 // An instance of the Dart class TypeParamer
1494 TypeParameter, 1510 TypeParameter,
1495 1511
1496 // An instance of the Dart class TypeRef 1512 // An instance of the Dart class TypeRef
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 ``` 1961 ```
1946 1962
1947 ## Revision History 1963 ## Revision History
1948 1964
1949 version | comments 1965 version | comments
1950 ------- | -------- 1966 ------- | --------
1951 1.0 draft 1 | initial revision 1967 1.0 draft 1 | initial revision
1952 1968
1953 1969
1954 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss 1970 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698