Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1653)

Unified Diff: pkg/analyzer/lib/src/dart/analysis/file_state.dart

Issue 2980883003: Remove code associated with the old "kompile" functionality. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/fasta/analyzer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/analysis/file_state.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/file_state.dart b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
index bb60098ea492ecabb7aaa72168f9df05c9aa4a51..5db2c9281afeab51a9001d97e1bc0d8ee28d5617 100644
--- a/pkg/analyzer/lib/src/dart/analysis/file_state.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
@@ -16,7 +16,6 @@ import 'package:analyzer/src/dart/analysis/top_level_declaration.dart';
import 'package:analyzer/src/dart/scanner/reader.dart';
import 'package:analyzer/src/dart/scanner/scanner.dart';
import 'package:analyzer/src/fasta/ast_builder.dart' as fasta;
-import 'package:analyzer/src/fasta/element_store.dart' as fasta;
import 'package:analyzer/src/fasta/mock_element.dart' as fasta;
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/parser.dart';
@@ -585,10 +584,8 @@ class FileState {
new ErrorReporter(errorListener, source),
null,
null,
- new _FastaElementStoreProxy(),
new fasta.Scope.top(isModifiable: true),
true,
- false,
uri);
astBuilder.parseGenericMethodComments = analysisOptions.strongMode;
@@ -941,25 +938,3 @@ class KnownFilesSetChange {
KnownFilesSetChange(this.added, this.removed);
}
-
-class _FastaElementProxy implements fasta.KernelClassElement {
- @override
- final fasta.KernelInterfaceType rawType = new _FastaInterfaceTypeProxy();
-
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class _FastaElementStoreProxy implements fasta.ElementStore {
- final _elements = <fasta.Builder, _FastaElementProxy>{};
-
- @override
- _FastaElementProxy operator [](fasta.Builder builder) =>
- _elements.putIfAbsent(builder, () => new _FastaElementProxy());
-
- @override
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
-
-class _FastaInterfaceTypeProxy implements fasta.KernelInterfaceType {
- noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
-}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/fasta/analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698