OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library dart2js.semantics_visitor; | 5 library dart2js.semantics_visitor; |
6 | 6 |
7 import '../common.dart'; | 7 import '../common.dart'; |
8 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 9 import '../elements/elements.dart'; |
| 10 import '../elements/operators.dart'; |
9 import '../elements/resolution_types.dart'; | 11 import '../elements/resolution_types.dart'; |
10 import '../elements/elements.dart'; | |
11 import '../tree/tree.dart'; | 12 import '../tree/tree.dart'; |
12 import '../universe/call_structure.dart' show CallStructure; | 13 import '../universe/call_structure.dart' show CallStructure; |
13 import '../universe/selector.dart' show Selector; | 14 import '../universe/selector.dart' show Selector; |
14 import 'operators.dart'; | |
15 import 'send_resolver.dart'; | 15 import 'send_resolver.dart'; |
16 import 'send_structure.dart'; | 16 import 'send_structure.dart'; |
17 import 'tree_elements.dart'; | 17 import 'tree_elements.dart'; |
18 | 18 |
19 part 'semantic_visitor_mixins.dart'; | 19 part 'semantic_visitor_mixins.dart'; |
20 | 20 |
21 /// Mixin that couples a [SendResolverMixin] to a [SemanticSendVisitor] in a | 21 /// Mixin that couples a [SendResolverMixin] to a [SemanticSendVisitor] in a |
22 /// [Visitor]. | 22 /// [Visitor]. |
23 abstract class SemanticSendResolvedMixin<R, A> implements Visitor<R> { | 23 abstract class SemanticSendResolvedMixin<R, A> implements Visitor<R> { |
24 TreeElements get elements; | 24 TreeElements get elements; |
(...skipping 4686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4711 /// | 4711 /// |
4712 /// For instance `this._(42)` in: | 4712 /// For instance `this._(42)` in: |
4713 /// | 4713 /// |
4714 /// class C { | 4714 /// class C { |
4715 /// C() : this._(42); | 4715 /// C() : this._(42); |
4716 /// } | 4716 /// } |
4717 /// | 4717 /// |
4718 R errorUnresolvedThisConstructorInvoke( | 4718 R errorUnresolvedThisConstructorInvoke( |
4719 Send node, Element element, NodeList arguments, Selector selector, A arg); | 4719 Send node, Element element, NodeList arguments, Selector selector, A arg); |
4720 } | 4720 } |
OLD | NEW |