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

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

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code 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 ClassRef extends ObjectRef { 7 abstract class ClassRef extends ObjectRef {
8 /// The name of this class. 8 /// The name of this class.
9 String get name; 9 String get name;
10 } 10 }
11 11
12 abstract class Class extends Object implements ClassRef { 12 abstract class Class extends Object implements ClassRef {
13 /// The error which occurred during class finalization, if it exists. 13 /// The error which occurred during class finalization, if it exists.
14 /// [optional] 14 /// [optional]
15 ErrorRef get error; 15 ErrorRef get error;
16 16
17 /// Is this an abstract class? 17 /// Is this an abstract class?
18 bool get isAbstract; 18 bool get isAbstract;
19 19
20 /// Is this a const class? 20 /// Is this a const class?
21 bool get isConst; 21 bool get isConst;
22 22
23 /// [internal]
24 bool get isPatch;
25
23 /// The library which contains this class. 26 /// The library which contains this class.
24 LibraryRef get library; 27 LibraryRef get library;
25 28
26 /// The location of this class in the source code.[optional] 29 /// The location of this class in the source code.[optional]
27 SourceLocation get location; 30 SourceLocation get location;
28 31
29 /// The superclass of this class, if any. [optional] 32 /// The superclass of this class, if any. [optional]
30 ClassRef get superclass; 33 ClassRef get superclass;
31 34
32 /// The supertype for this class, if any. 35 /// The supertype for this class, if any.
(...skipping 15 matching lines...) Expand all
48 /// superclasses. 51 /// superclasses.
49 //List<FieldRef> get fields; 52 //List<FieldRef> get fields;
50 53
51 /// A list of functions in this class. Does not include functions 54 /// A list of functions in this class. Does not include functions
52 /// from superclasses. 55 /// from superclasses.
53 //List<FunctionRef> get functions; 56 //List<FunctionRef> get functions;
54 57
55 // A list of subclasses of this class. 58 // A list of subclasses of this class.
56 Iterable<ClassRef> get subclasses; 59 Iterable<ClassRef> get subclasses;
57 } 60 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/css/shared.css ('k') | runtime/observatory/lib/src/models/objects/instance.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698