OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 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 | 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 /// Entity interfaces for modeling elements derived from Kernel IR. | 5 /// Entity interfaces for modeling elements derived from Kernel IR. |
6 | 6 |
7 import '../elements/entities.dart'; | 7 import '../elements/entities.dart'; |
8 | 8 |
9 abstract class IndexedLibrary implements LibraryEntity { | 9 abstract class IndexedLibrary implements LibraryEntity { |
10 /// Library index used for fast lookup in [KernelToElementMapBase]. | 10 /// Library index used for fast lookup in [KernelToElementMapBase]. |
(...skipping 10 matching lines...) Expand all Loading... |
21 int get memberIndex; | 21 int get memberIndex; |
22 } | 22 } |
23 | 23 |
24 abstract class IndexedFunction implements IndexedMember, FunctionEntity {} | 24 abstract class IndexedFunction implements IndexedMember, FunctionEntity {} |
25 | 25 |
26 abstract class IndexedConstructor | 26 abstract class IndexedConstructor |
27 implements IndexedFunction, ConstructorEntity {} | 27 implements IndexedFunction, ConstructorEntity {} |
28 | 28 |
29 abstract class IndexedField implements IndexedMember, FieldEntity {} | 29 abstract class IndexedField implements IndexedMember, FieldEntity {} |
30 | 30 |
31 // TODO(johnniwinther): Add and use [typeVariableIndex]. | 31 abstract class IndexedTypeVariable implements TypeVariableEntity { |
32 abstract class IndexedTypeVariable implements TypeVariableEntity {} | 32 /// Type variable index used for fast lookup in [KernelToElementMapBase]. |
| 33 int get typeVariableIndex; |
| 34 } |
OLD | NEW |