| Index: pkg/analyzer/lib/src/generated/element.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart
|
| index 807205902f3eb96572bc20d8bd3cc14a5c6d7280..eeb29b2099538191e14cb7a525cd4b62f860b0b9 100644
|
| --- a/pkg/analyzer/lib/src/generated/element.dart
|
| +++ b/pkg/analyzer/lib/src/generated/element.dart
|
| @@ -6384,6 +6384,15 @@ class InterfaceTypeImpl extends TypeImpl implements InterfaceType {
|
| InterfaceTypeImpl substitute4(List<DartType> argumentTypes) =>
|
| substitute2(argumentTypes, typeArguments);
|
|
|
| + /**
|
| + * Return `true` if the given element has an instance method named 'call'.
|
| + */
|
| + bool _hasCallMethod(ClassElement elementT) {
|
| + MethodElement method = elementT.lookUpMethod(
|
| + FunctionElement.CALL_METHOD_NAME, elementT.library);
|
| + return method != null && !method.isStatic;
|
| + }
|
| +
|
| bool _isMoreSpecificThan(InterfaceType s,
|
| HashSet<ClassElement> visitedClasses, bool withDynamic,
|
| Set<TypeImpl_TypePair> visitedTypePairs) {
|
| @@ -6515,15 +6524,6 @@ class InterfaceTypeImpl extends TypeImpl implements InterfaceType {
|
| }
|
|
|
| /**
|
| - * Return `true` if the given element has an instance method named 'call'.
|
| - */
|
| - bool _hasCallMethod(ClassElement elementT) {
|
| - MethodElement method = elementT.lookUpMethod(
|
| - FunctionElement.CALL_METHOD_NAME, elementT.library);
|
| - return method != null && !method.isStatic;
|
| - }
|
| -
|
| - /**
|
| * Return the length of the longest inheritance path from the given [type] to
|
| * Object.
|
| *
|
| @@ -6714,6 +6714,12 @@ abstract class LibraryElement implements Element {
|
| List<LibraryElement> get exportedLibraries;
|
|
|
| /**
|
| + * The export [Namespace] of this library, `null` if it has not been
|
| + * computed yet.
|
| + */
|
| + Namespace get exportNamespace;
|
| +
|
| + /**
|
| * Return a list containing all of the exports defined in this library.
|
| */
|
| List<ExportElement> get exports;
|
| @@ -6781,6 +6787,12 @@ abstract class LibraryElement implements Element {
|
| List<PrefixElement> get prefixes;
|
|
|
| /**
|
| + * The public [Namespace] of this library, `null` if it has not been
|
| + * computed yet.
|
| + */
|
| + Namespace get publicNamespace;
|
| +
|
| + /**
|
| * Return a list containing all of the compilation units this library consists
|
| * of. This includes the defining compilation unit and units included using
|
| * the `part` directive.
|
| @@ -6862,6 +6874,20 @@ class LibraryElementImpl extends ElementImpl implements LibraryElement {
|
| FunctionElement _loadLibraryFunction;
|
|
|
| /**
|
| + * The export [Namespace] of this library, `null` if it has not been
|
| + * computed yet.
|
| + */
|
| + @override
|
| + Namespace exportNamespace;
|
| +
|
| + /**
|
| + * The public [Namespace] of this library, `null` if it has not been
|
| + * computed yet.
|
| + */
|
| + @override
|
| + Namespace publicNamespace;
|
| +
|
| + /**
|
| * Initialize a newly created library element in the given [context] to have
|
| * the given [name] and [offset].
|
| */
|
|
|