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

Unified Diff: runtime/observatory/lib/src/models/objects/class.dart

Issue 2165913004: Converted Observatory class-nav-menu element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Marged with master Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/models/objects/class.dart
diff --git a/runtime/observatory/lib/src/models/objects/class.dart b/runtime/observatory/lib/src/models/objects/class.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ed23902102c059344b92cc38552b9ef119b46307
--- /dev/null
+++ b/runtime/observatory/lib/src/models/objects/class.dart
@@ -0,0 +1,57 @@
+// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file
+
+part of models;
+
+abstract class ClassRef extends ObjectRef {
+ /// The name of this class.
+ String get name;
+}
+
+abstract class Class extends ObjectRef implements ClassRef {
+ /// The error which occurred during class finalization, if it exists.
+ /// [optional]
+ //ErrorRef get error;
+
+ /// Is this an abstract class?
+ bool get isAbstract;
+
+ /// Is this a const class?
+ bool get isConst;
+
+ /// The library which contains this class.
+ //LibraryRef get library;
+
+ /// The location of this class in the source code.[optional]
+ //SourceLocation get location;
+
+ /// The superclass of this class, if any. [optional]
+ ClassRef get superclass;
+
+ /// The supertype for this class, if any.
+ ///
+ /// The value will be of the kind: Type. [optional]
+ //InstanceRef get superType;
+
+ /// A list of interface types for this class.
+ ///
+ /// The values will be of the kind: Type.
+ //Iterable<InstanceRef> get interfaces;
+
+ /// The mixin type for this class, if any.
+ ///
+ /// The value will be of the kind: Type. [optional]
+ //Iterable<InstanceRef> get mixin;
+
+ /// A list of fields in this class. Does not include fields from
+ /// superclasses.
+ //List<FieldRef> get fields;
+
+ /// A list of functions in this class. Does not include functions
+ /// from superclasses.
+ //List<FunctionRef> get functions;
+
+ // A list of subclasses of this class.
+ Iterable<ClassRef> get subclasses;
+}
« no previous file with comments | « runtime/observatory/lib/src/mocks/objects/class.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698