| OLD | NEW |
| 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 library entities; | 5 library entities; |
| 6 | 6 |
| 7 import 'elements.dart' show Entity; | 7 import 'elements.dart' show Entity; |
| 8 | 8 |
| 9 /// Stripped down super interface for library like entities. | 9 /// Stripped down super interface for library like entities. |
| 10 /// | 10 /// |
| 11 /// Currently only [LibraryElement] but later also kernel based Dart classes | 11 /// Currently only [LibraryElement] but later also kernel based Dart classes |
| 12 /// and/or Dart-in-JS classes. | 12 /// and/or Dart-in-JS classes. |
| 13 abstract class LibraryEntity extends Entity { | 13 abstract class LibraryEntity extends Entity {} |
| 14 } | |
| 15 | 14 |
| 16 /// Stripped down super interface for class like entities. | 15 /// Stripped down super interface for class like entities. |
| 17 /// | 16 /// |
| 18 /// Currently only [ClassElement] but later also kernel based Dart classes | 17 /// Currently only [ClassElement] but later also kernel based Dart classes |
| 19 /// and/or Dart-in-JS classes. | 18 /// and/or Dart-in-JS classes. |
| 20 abstract class ClassEntity extends Entity { | 19 abstract class ClassEntity extends Entity { |
| 21 bool get isClosure; | 20 bool get isClosure; |
| 22 } | 21 } |
| 23 | 22 |
| 24 abstract class TypeVariableEntity extends Entity { | 23 abstract class TypeVariableEntity extends Entity { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 45 /// | 44 /// |
| 46 /// Currently only [FieldElement] but later also kernel based Dart fields | 45 /// Currently only [FieldElement] but later also kernel based Dart fields |
| 47 /// and/or Dart-in-JS field-like properties. | 46 /// and/or Dart-in-JS field-like properties. |
| 48 abstract class FieldEntity extends MemberEntity {} | 47 abstract class FieldEntity extends MemberEntity {} |
| 49 | 48 |
| 50 /// Stripped down super interface for function like entities. | 49 /// Stripped down super interface for function like entities. |
| 51 /// | 50 /// |
| 52 /// Currently only [FieldElement] but later also kernel based Dart constructors | 51 /// Currently only [FieldElement] but later also kernel based Dart constructors |
| 53 /// and methods and/or Dart-in-JS function-like properties. | 52 /// and methods and/or Dart-in-JS function-like properties. |
| 54 abstract class FunctionEntity extends MemberEntity {} | 53 abstract class FunctionEntity extends MemberEntity {} |
| OLD | NEW |