OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file |
| 4 |
| 5 part of models; |
| 6 |
| 7 abstract class ClassRef extends ObjectRef { |
| 8 /// The name of this class. |
| 9 String get name; |
| 10 } |
| 11 |
| 12 abstract class Class extends ObjectRef implements ClassRef { |
| 13 /// The error which occurred during class finalization, if it exists. |
| 14 /// [optional] |
| 15 ErrorRef get error; |
| 16 |
| 17 /// Is this an abstract class? |
| 18 bool get isAbstract; |
| 19 |
| 20 /// Is this a const class? |
| 21 bool get isConst; |
| 22 |
| 23 /// The library which contains this class. |
| 24 LibraryRef get library; |
| 25 |
| 26 /// The location of this class in the source code.[optional] |
| 27 SourceLocation get location; |
| 28 |
| 29 /// The superclass of this class, if any. [optional] |
| 30 ClassRef get superclass; |
| 31 |
| 32 /// The supertype for this class, if any. |
| 33 /// |
| 34 /// The value will be of the kind: Type. [optional] |
| 35 InstanceRef get superType; |
| 36 |
| 37 /// A list of interface types for this class. |
| 38 /// |
| 39 /// The values will be of the kind: Type. |
| 40 Iterable<InstanceRef> get interfaces; |
| 41 |
| 42 /// The mixin type for this class, if any. |
| 43 /// |
| 44 /// The value will be of the kind: Type. [optional] |
| 45 Iterable<InstanceRef> get mixin; |
| 46 |
| 47 /// A list of fields in this class. Does not include fields from |
| 48 /// superclasses. |
| 49 //List<FieldRef> get fields; |
| 50 |
| 51 /// A list of functions in this class. Does not include functions |
| 52 /// from superclasses. |
| 53 //List<FunctionRef> get functions; |
| 54 |
| 55 // A list of subclasses of this class. |
| 56 Iterable<ClassRef> get subclasses; |
| 57 } |
OLD | NEW |