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

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/mock_element.dart

Issue 2693303003: Implement CompilationUnitElement.lineInfo in MockCompilationUnitElement. (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/analyzer/mock_element.dart
diff --git a/pkg/front_end/lib/src/fasta/analyzer/mock_element.dart b/pkg/front_end/lib/src/fasta/analyzer/mock_element.dart
index e9ed649e4cf09548dcfe6c1d7cc520e5dab4f5bb..b56deac697bda4da0f199a8d37ccb63316bc3a19 100644
--- a/pkg/front_end/lib/src/fasta/analyzer/mock_element.dart
+++ b/pkg/front_end/lib/src/fasta/analyzer/mock_element.dart
@@ -13,6 +13,7 @@ import '../builder/builder.dart' show
import '../errors.dart' show
internalError;
+import 'package:analyzer/src/generated/source.dart';
abstract class MockElement extends Builder
implements Element, LocalElement {
@@ -211,6 +212,9 @@ abstract class MockCompilationUnitElement extends MockElement
bool get hasLoadLibraryFunction => internalError("not supported.");
+ @override
+ LineInfo get lineInfo => internalError("not supported.");
+
List<TopLevelVariableElement> get topLevelVariables {
return internalError("not supported.");
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698