Index: pkg/compiler/lib/src/resolution/semantic_visitor.dart |
diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor.dart b/pkg/compiler/lib/src/resolution/semantic_visitor.dart |
index 131f52dacf80454bd26d2499b76b3e9b08af7a3f..ed565d6dac9be8a9988f1514592de860b72239fd 100644 |
--- a/pkg/compiler/lib/src/resolution/semantic_visitor.dart |
+++ b/pkg/compiler/lib/src/resolution/semantic_visitor.dart |
@@ -4055,6 +4055,21 @@ abstract class SemanticSendVisitor<R, A> { |
NodeList arguments, |
CallStructure callStructure, |
A arg); |
+ |
+ /// Access of library through a deferred [prefix]. |
+ /// |
+ /// For instance |
+ /// import 'lib.dart' deferred as prefix; |
+ /// |
+ /// m() => prefix.foo; |
+ /// |
+ /// This visit method is special in that it is called as a pre-step to calling |
+ /// the visit method for the actual access. Therefore this method cannot |
+ /// return a result to its caller. |
+ void visitDeferredAccess( |
+ Send node, |
+ PrefixElement prefix, |
+ A arg); |
} |
abstract class SemanticDeclarationVisitor<R, A> { |