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 '../constants/expressions.dart'; | 7 import '../constants/expressions.dart'; |
8 import '../dart2jslib.dart' show invariant; | |
9 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
| 9 import '../diagnostics/invariant.dart' show |
| 10 invariant; |
| 11 import '../diagnostics/spannable.dart' show |
| 12 Spannable, |
| 13 SpannableAssertionFailure; |
10 import '../elements/elements.dart'; | 14 import '../elements/elements.dart'; |
11 import '../messages.dart' show MessageKind; | 15 import '../messages.dart' show |
| 16 MessageKind; |
12 import '../tree/tree.dart'; | 17 import '../tree/tree.dart'; |
13 import '../universe/universe.dart'; | 18 import '../universe/universe.dart'; |
14 import '../util/util.dart' show Spannable, SpannableAssertionFailure; | 19 |
15 import 'access_semantics.dart'; | 20 import 'access_semantics.dart'; |
16 import 'operators.dart'; | 21 import 'operators.dart'; |
17 import 'resolution.dart'; | 22 import 'resolution.dart'; |
18 import 'send_structure.dart'; | 23 import 'send_structure.dart'; |
19 | 24 |
20 part 'semantic_visitor_mixins.dart'; | 25 part 'semantic_visitor_mixins.dart'; |
21 part 'send_resolver.dart'; | 26 part 'send_resolver.dart'; |
22 | 27 |
23 /// Mixin that couples a [SendResolverMixin] to a [SemanticSendVisitor] in a | 28 /// Mixin that couples a [SendResolverMixin] to a [SemanticSendVisitor] in a |
24 /// [Visitor]. | 29 /// [Visitor]. |
(...skipping 5130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5155 /// C() : this._(42); | 5160 /// C() : this._(42); |
5156 /// } | 5161 /// } |
5157 /// | 5162 /// |
5158 R errorUnresolvedThisConstructorInvoke( | 5163 R errorUnresolvedThisConstructorInvoke( |
5159 Send node, | 5164 Send node, |
5160 Element element, | 5165 Element element, |
5161 NodeList arguments, | 5166 NodeList arguments, |
5162 Selector selector, | 5167 Selector selector, |
5163 A arg); | 5168 A arg); |
5164 } | 5169 } |
OLD | NEW |