OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'package:kernel/ast.dart' as ir; | 5 import 'package:kernel/ast.dart' as ir; |
6 | 6 |
7 import "../elements/resolution_types.dart" | |
8 show ResolutionDartType, ResolutionInterfaceType; | |
9 import "../elements/elements.dart" | 7 import "../elements/elements.dart" |
10 show | 8 show |
11 AstElement, | 9 AstElement, |
12 ConstructorElement, | 10 ConstructorElement, |
13 Element, | 11 Element, |
14 ErroneousElement, | 12 ErroneousElement, |
15 FunctionElement, | 13 FunctionElement, |
16 MethodElement; | 14 MethodElement; |
17 import "../resolution/operators.dart" | 15 import "../elements/operators.dart" |
18 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator; | 16 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator; |
| 17 import "../elements/resolution_types.dart" |
| 18 show ResolutionDartType, ResolutionInterfaceType; |
19 import "../tree/tree.dart" show Expression, NewExpression, Node, NodeList, Send; | 19 import "../tree/tree.dart" show Expression, NewExpression, Node, NodeList, Send; |
20 import "../universe/call_structure.dart" show CallStructure; | 20 import "../universe/call_structure.dart" show CallStructure; |
21 import "../universe/selector.dart" show Selector; | 21 import "../universe/selector.dart" show Selector; |
22 import 'accessors.dart'; | 22 import 'accessors.dart'; |
23 import "kernel.dart" show Kernel; | 23 import "kernel.dart" show Kernel; |
24 | 24 |
25 abstract class UnresolvedVisitor { | 25 abstract class UnresolvedVisitor { |
26 Kernel get kernel; | 26 Kernel get kernel; |
27 | 27 |
28 // Implemented in KernelVisitor | 28 // Implemented in KernelVisitor |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 return buildUnresolvedSuperIndexAccessor(index, element) | 584 return buildUnresolvedSuperIndexAccessor(index, element) |
585 .buildNullAwareAssignment(visitForValue(rhs), null); | 585 .buildNullAwareAssignment(visitForValue(rhs), null); |
586 } | 586 } |
587 | 587 |
588 ir.Expression visitUnresolvedSuperSet( | 588 ir.Expression visitUnresolvedSuperSet( |
589 Send node, Element element, Node rhs, _) { | 589 Send node, Element element, Node rhs, _) { |
590 return buildThrowUnresolvedSuperSetter( | 590 return buildThrowUnresolvedSuperSetter( |
591 '${node.selector}', visitForValue(rhs)); | 591 '${node.selector}', visitForValue(rhs)); |
592 } | 592 } |
593 } | 593 } |
OLD | NEW |