OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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.ir_builder; | 5 library dart2js.ir_builder; |
6 | 6 |
| 7 import '../constants/constant_system.dart'; |
7 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
8 import '../constants/values.dart' show PrimitiveConstantValue; | 9 import '../constants/values.dart' show PrimitiveConstantValue; |
9 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
10 import '../dart2jslib.dart'; | 11 import '../dart2jslib.dart'; |
11 import '../elements/elements.dart'; | 12 import '../elements/elements.dart'; |
12 import '../io/source_information.dart'; | 13 import '../io/source_information.dart'; |
13 import '../tree/tree.dart' as ast; | 14 import '../tree/tree.dart' as ast; |
14 import '../closure.dart' hide ClosureScope; | 15 import '../closure.dart' hide ClosureScope; |
15 import '../universe/universe.dart' show SelectorKind; | 16 import '../universe/universe.dart' show SelectorKind; |
16 import 'cps_ir_nodes.dart' as ir; | 17 import 'cps_ir_nodes.dart' as ir; |
(...skipping 2642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2659 } | 2660 } |
2660 | 2661 |
2661 /// Synthetic parameter to a JavaScript factory method that takes the type | 2662 /// Synthetic parameter to a JavaScript factory method that takes the type |
2662 /// argument given for the type variable [variable]. | 2663 /// argument given for the type variable [variable]. |
2663 class TypeInformationParameter implements Local { | 2664 class TypeInformationParameter implements Local { |
2664 final TypeVariableElement variable; | 2665 final TypeVariableElement variable; |
2665 final ExecutableElement executableContext; | 2666 final ExecutableElement executableContext; |
2666 TypeInformationParameter(this.variable, this.executableContext); | 2667 TypeInformationParameter(this.variable, this.executableContext); |
2667 String get name => variable.name; | 2668 String get name => variable.name; |
2668 } | 2669 } |
OLD | NEW |