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..3c265cc097ada4d20dc7a1e88160acc172212ba8 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 previsitDeferredAccess( |
+ Send node, |
+ PrefixElement prefix, |
+ A arg); |
} |
abstract class SemanticDeclarationVisitor<R, A> { |