| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2017, 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 /// Entity interfaces for modeling elements derived from Kernel IR. | |
| 6 | |
| 7 import '../elements/entities.dart'; | |
| 8 | |
| 9 abstract class IndexedLibrary implements LibraryEntity { | |
| 10 /// Library index used for fast lookup in [KernelToElementMapBase]. | |
| 11 int get libraryIndex; | |
| 12 } | |
| 13 | |
| 14 abstract class IndexedClass implements ClassEntity { | |
| 15 /// Class index used for fast lookup in [KernelToElementMapBase]. | |
| 16 int get classIndex; | |
| 17 } | |
| 18 | |
| 19 abstract class IndexedMember implements MemberEntity { | |
| 20 /// Member index used for fast lookup in [KernelToElementMapBase]. | |
| 21 int get memberIndex; | |
| 22 } | |
| 23 | |
| 24 abstract class IndexedFunction implements IndexedMember, FunctionEntity {} | |
| 25 | |
| 26 abstract class IndexedConstructor | |
| 27 implements IndexedFunction, ConstructorEntity {} | |
| 28 | |
| 29 abstract class IndexedField implements IndexedMember, FieldEntity {} | |
| 30 | |
| 31 abstract class IndexedTypeVariable implements TypeVariableEntity { | |
| 32 /// Type variable index used for fast lookup in [KernelToElementMapBase]. | |
| 33 int get typeVariableIndex; | |
| 34 } | |
| 35 | |
| 36 abstract class IndexedTypedef implements TypedefEntity { | |
| 37 /// Typedef index used for fast lookup in [KernelToElementMapBase]. | |
| 38 int get typedefIndex; | |
| 39 } | |
| OLD | NEW |