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 import 'package:kernel/frontend/accessors.dart' | 6 import 'package:kernel/frontend/accessors.dart' |
7 show | 7 show |
8 Accessor, | 8 Accessor, |
9 IndexAccessor, | 9 IndexAccessor, |
10 NullAwarePropertyAccessor, | 10 NullAwarePropertyAccessor, |
(...skipping 13 matching lines...) Expand all Loading... |
24 import '../common.dart'; | 24 import '../common.dart'; |
25 import '../common/names.dart'; | 25 import '../common/names.dart'; |
26 import '../constants/expressions.dart' | 26 import '../constants/expressions.dart' |
27 show | 27 show |
28 BoolFromEnvironmentConstantExpression, | 28 BoolFromEnvironmentConstantExpression, |
29 ConstantExpression, | 29 ConstantExpression, |
30 ConstructedConstantExpression, | 30 ConstructedConstantExpression, |
31 IntFromEnvironmentConstantExpression, | 31 IntFromEnvironmentConstantExpression, |
32 StringFromEnvironmentConstantExpression, | 32 StringFromEnvironmentConstantExpression, |
33 TypeConstantExpression; | 33 TypeConstantExpression; |
34 import '../elements/resolution_types.dart' | |
35 show ResolutionDartType, ResolutionInterfaceType; | |
36 import '../diagnostics/spannable.dart' show Spannable; | 34 import '../diagnostics/spannable.dart' show Spannable; |
37 import '../elements/elements.dart' | 35 import '../elements/elements.dart' |
38 show | 36 show |
39 AstElement, | 37 AstElement, |
40 AsyncMarker, | 38 AsyncMarker, |
41 ClassElement, | 39 ClassElement, |
42 ConstructorElement, | 40 ConstructorElement, |
43 Element, | 41 Element, |
44 FieldElement, | 42 FieldElement, |
45 FunctionElement, | 43 FunctionElement, |
46 FunctionSignature, | 44 FunctionSignature, |
47 GetterElement, | 45 GetterElement, |
48 InitializingFormalElement, | 46 InitializingFormalElement, |
49 JumpTarget, | 47 JumpTarget, |
50 LibraryElement, | 48 LibraryElement, |
51 LocalElement, | 49 LocalElement, |
52 LocalFunctionElement, | 50 LocalFunctionElement, |
53 LocalVariableElement, | 51 LocalVariableElement, |
54 MethodElement, | 52 MethodElement, |
55 Name, | 53 Name, |
56 ParameterElement, | 54 ParameterElement, |
57 PrefixElement, | 55 PrefixElement, |
58 TypeVariableElement; | 56 TypeVariableElement; |
59 import '../resolution/operators.dart' | 57 import '../elements/operators.dart' |
60 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator; | 58 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator; |
| 59 import '../elements/resolution_types.dart' |
| 60 show ResolutionDartType, ResolutionInterfaceType; |
61 import '../resolution/semantic_visitor.dart' | 61 import '../resolution/semantic_visitor.dart' |
62 show | 62 show |
63 BaseImplementationOfCompoundsMixin, | 63 BaseImplementationOfCompoundsMixin, |
64 BaseImplementationOfLocalsMixin, | 64 BaseImplementationOfLocalsMixin, |
65 BaseImplementationOfSetIfNullsMixin, | 65 BaseImplementationOfSetIfNullsMixin, |
66 BaseImplementationOfStaticsMixin, | 66 BaseImplementationOfStaticsMixin, |
67 CompoundGetter, | 67 CompoundGetter, |
68 CompoundKind, | 68 CompoundKind, |
69 CompoundRhs, | 69 CompoundRhs, |
70 CompoundSetter, | 70 CompoundSetter, |
(...skipping 2895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2966 : this(null, true, node, initializers); | 2966 : this(null, true, node, initializers); |
2967 | 2967 |
2968 accept(ir.Visitor v) => throw "unsupported"; | 2968 accept(ir.Visitor v) => throw "unsupported"; |
2969 | 2969 |
2970 visitChildren(ir.Visitor v) => throw "unsupported"; | 2970 visitChildren(ir.Visitor v) => throw "unsupported"; |
2971 | 2971 |
2972 String toString() { | 2972 String toString() { |
2973 return "IrFunction($kind, $isConstructor, $node, $initializers)"; | 2973 return "IrFunction($kind, $isConstructor, $node, $initializers)"; |
2974 } | 2974 } |
2975 } | 2975 } |
OLD | NEW |