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

Side by Side Diff: runtime/observatory/lib/src/models/objects/object.dart

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: All element tested Created 4 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of models; 5 part of models;
6 6
7 abstract class ObjectRef { 7 abstract class ObjectRef {
8 /// A unique identifier for an Object. 8 /// A unique identifier for an Object.
9 String get id; 9 String get id;
10 } 10 }
11 11
12 abstract class Object implements ObjectRef {} 12 abstract class Object implements ObjectRef {
13 /// [optional] If an object is allocated in the Dart heap, it will have
14 /// a corresponding class object.
15 ///
16 /// The class of a non-instance is not a Dart class, but is instead
17 /// an internal vm object.
18 ///
19 /// Moving an Object into or out of the heap is considered a
20 /// backwards compatible change for types other than Instance.
21 //ClassRef get clazz;
Cutch 2016/08/15 23:27:08 why is this commented out?
cbernaschina 2016/08/16 00:01:44 Done.
22
23 /// [optional] The size of this object in the heap.
24 ///
25 /// If an object is not heap-allocated, then this field is omitted.
26 ///
27 /// Note that the size can be zero for some objects. In the current
28 /// VM implementation, this occurs for small integers, which are
29 /// stored entirely within their object pointers.
30 //int get size;
Cutch 2016/08/15 23:27:08 why is this commented out?
cbernaschina 2016/08/16 00:01:44 Done.
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698