Index: pkg/analyzer/lib/src/summary/resynthesize.dart |
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart |
index a10840fbfe7b32c7d8379f409fd3d052260b4d52..b0c72b6c735f4655e25d3b0156c48e0a701f807c 100644 |
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart |
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart |
@@ -1535,13 +1535,6 @@ class _ResynthesizerContext implements ResynthesizerContext { |
} |
@override |
- FunctionElementImpl buildVariableInitializer( |
- VariableElementImpl variable, UnlinkedExecutable serializedInitializer) { |
- return _unitResynthesizer.buildVariableInitializer( |
- variable, serializedInitializer); |
- } |
- |
- @override |
DartType resolveLinkedType( |
int slot, TypeParameterizedElementMixin typeParameterContext) { |
return _unitResynthesizer.buildLinkedType(slot, typeParameterContext); |
@@ -1799,27 +1792,6 @@ class _UnitResynthesizer { |
} |
/** |
- * Resynthesize a [NamespaceCombinator]. |
- */ |
- NamespaceCombinator buildCombinator(UnlinkedCombinator serializedCombinator) { |
- if (serializedCombinator.shows.isNotEmpty) { |
- ShowElementCombinatorImpl combinator = new ShowElementCombinatorImpl(); |
- // Note: we call toList() so that we don't retain a reference to the |
- // deserialized data structure. |
- combinator.shownNames = serializedCombinator.shows.toList(); |
- combinator.offset = serializedCombinator.offset; |
- combinator.end = serializedCombinator.end; |
- return combinator; |
- } else { |
- HideElementCombinatorImpl combinator = new HideElementCombinatorImpl(); |
- // Note: we call toList() so that we don't retain a reference to the |
- // deserialized data structure. |
- combinator.hiddenNames = serializedCombinator.hides.toList(); |
- return combinator; |
- } |
- } |
- |
- /** |
* Resynthesize a [ConstructorElement] and place it in the given [holder]. |
* [classElement] is the element of the class for which this element is a |
* constructor. |
@@ -2273,21 +2245,6 @@ class _UnitResynthesizer { |
} |
/** |
- * If the given [serializedInitializer] is not `null`, return the |
- * corresponding [FunctionElementImpl], otherwise return `null`. |
- */ |
- FunctionElementImpl buildVariableInitializer( |
- VariableElementImpl variable, UnlinkedExecutable serializedInitializer) { |
- if (serializedInitializer == null) { |
- return null; |
- } |
- FunctionElementImpl initializerElement = |
- new FunctionElementImpl.forSerialized(serializedInitializer, variable); |
- initializerElement.synthetic = true; |
- return initializerElement; |
- } |
- |
- /** |
* Return [_ReferenceInfo] with the given [index], lazily resolving it. |
*/ |
_ReferenceInfo getReferenceInfo(int index) { |