| Index: runtime/vm/service/service.md
|
| diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md
|
| index 647beb4263f3bab1ac9bf63bc95d3aca34cf523c..f0bbf8fc16c2b6f205bfd2771ec48644907c8f19 100644
|
| --- a/runtime/vm/service/service.md
|
| +++ b/runtime/vm/service/service.md
|
| @@ -838,7 +838,7 @@ class @Code extends @Object {
|
| _@Code_ is a reference to a _Code_ object.
|
|
|
| ```
|
| -class @Code extends @Object {
|
| +class Code extends @Object {
|
| // A name for this code object.
|
| string name;
|
|
|
| @@ -1144,10 +1144,10 @@ A _Flag_ represents a single VM command line flag.
|
| ```
|
| class FlagList extends Response {
|
| // A list of all flags which are set to default values.
|
| - unmodifiedFlags []Flag
|
| + Flag[] unmodifiedFlags;
|
|
|
| // A list of all flags which have been modified by the user.
|
| - modifiedFlags []Flag
|
| + Flag[] modifiedFlags;
|
| }
|
| ```
|
|
|
| @@ -1178,11 +1178,10 @@ class @Function extends @Object {
|
| @Library|@Class|@Function owner;
|
|
|
| // Is this function static?
|
| - bool static
|
| + bool static;
|
|
|
| // Is this function const?
|
| bool const;
|
| -
|
| }
|
| ```
|
|
|
| @@ -1190,7 +1189,6 @@ An _@Function_ is a reference to a _Function_.
|
|
|
|
|
| ```
|
| -// A Dart language function.
|
| class Function extends Object {
|
| // The name of this function.
|
| string name;
|
| @@ -1277,7 +1275,7 @@ class @Instance extends @Object {
|
| //
|
| // Provided for instance kinds:
|
| // RegExp
|
| - @String pattern [optional];
|
| + String pattern [optional];
|
| }
|
| ```
|
|
|
| @@ -1399,14 +1397,14 @@ class Instance extends Object {
|
| //
|
| // Provided for instance kinds:
|
| // RegExp
|
| - @String pattern [optional];
|
| -
|
| + String pattern [optional];
|
| +
|
| // The key for a WeakProperty instance.
|
| //
|
| // Provided for instance kinds:
|
| // WeakProperty
|
| @Instance propertyKey [optional];
|
| -
|
| +
|
| // The key for a WeakProperty instance.
|
| //
|
| // Provided for instance kinds:
|
| @@ -1454,7 +1452,7 @@ An _Instance_ represents an instance of the Dart language class _Object_.
|
| ### InstanceKind
|
|
|
| ```
|
| -enum {
|
| +enum InstanceKind {
|
| // A general instance of the Dart class Object.
|
| PlainInstance,
|
|
|
| @@ -1706,7 +1704,7 @@ A _Null_ object represents the Dart language value null.
|
| class @Object extends Response {
|
| // A unique identifier for an Object. Passed to the
|
| // getObject RPC to load this Object.
|
| - string id
|
| + string id;
|
| }
|
| ```
|
|
|
| @@ -1840,7 +1838,7 @@ tokenPos | line | column
|
|
|
| ```
|
| class SourceLocation extends Response {
|
| - // The script contaiinging the source location.
|
| + // The script containing the source location.
|
| @Script script;
|
|
|
| // The first token of the location.
|
| @@ -1857,7 +1855,7 @@ some script.
|
| ### Stack
|
|
|
| ```
|
| -class Stack {
|
| +class Stack extends Response {
|
| Frame[] frames;
|
| Message[] messages;
|
| }
|
| @@ -1964,10 +1962,10 @@ class VM extends Response {
|
| // The time that the VM started in milliseconds since the epoch.
|
| //
|
| // Suitable to pass to DateTime.fromMillisecondsSinceEpoch.
|
| - int startTime
|
| + int startTime;
|
|
|
| // A list of isolates running in the VM.
|
| - @Isolate[] isolates
|
| + @Isolate[] isolates;
|
| }
|
| ```
|
|
|
|
|