Chromium Code Reviews| Index: pkg/compiler/lib/src/common/backend_api.dart |
| diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart |
| index 197df20cee1153748656e8d8a8d6eed9afe081dc..eba852c3fe5b45cf2da3dd9b4549fcff0cb3ddae 100644 |
| --- a/pkg/compiler/lib/src/common/backend_api.dart |
| +++ b/pkg/compiler/lib/src/common/backend_api.dart |
| @@ -209,4 +209,17 @@ abstract class BackendClasses { |
| /// Returns `true` if [element] is a native member of a native class. |
| bool isNativeMember(MemberEntity element); |
| + |
| + /// Returns the type of the constant map implementation for a const map |
| + /// literal of [sourceType]. If [hasProtoKey] the map contains key of value |
| + /// '__proto__' and if [onlyStringKeys] all keys are string constants. |
| + InterfaceType getConstantMapTypeFor(InterfaceType sourceType, |
| + {bool hasProtoKey: false, bool onlyStringKeys: false}); |
| + |
| + /// Returns the type of the constant symbol implementation class. |
| + InterfaceType get symbolType; |
| + |
| + /// Returns the field of the constant symbol implementation class that hold |
|
Siggi Cherem (dart-lang)
2017/02/09 20:20:29
hold => holds
Johnni Winther
2017/02/10 09:22:11
Done.
|
| + /// its internal name. |
| + FieldEntity get symbolField; |
| } |