| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 backend_ast_emitter; | 5 library backend_ast_emitter; |
| 6 | 6 |
| 7 import '../tree_ir/tree_ir_nodes.dart' as tree; | 7 import '../tree_ir/tree_ir_nodes.dart' as tree; |
| 8 import 'backend_ast_nodes.dart'; | 8 import 'backend_ast_nodes.dart'; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../constants/values.dart'; | 10 import '../constants/values.dart'; |
| (...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 | 981 |
| 982 @override | 982 @override |
| 983 visitCreateBox(tree.CreateBox node, arg) => errorUnsupportedNode(node); | 983 visitCreateBox(tree.CreateBox node, arg) => errorUnsupportedNode(node); |
| 984 | 984 |
| 985 @override | 985 @override |
| 986 visitCreateInstance(tree.CreateInstance node, arg) { | 986 visitCreateInstance(tree.CreateInstance node, arg) { |
| 987 return errorUnsupportedNode(node); | 987 return errorUnsupportedNode(node); |
| 988 } | 988 } |
| 989 | 989 |
| 990 @override | 990 @override |
| 991 visitCreateInvocationMirror(tree.CreateInvocationMirror node, arg) { |
| 992 return errorUnsupportedNode(node); |
| 993 } |
| 994 |
| 995 @override |
| 991 Expression visitReadTypeVariable(tree.ReadTypeVariable node, arg) { | 996 Expression visitReadTypeVariable(tree.ReadTypeVariable node, arg) { |
| 992 return errorUnsupportedNode(node); | 997 return errorUnsupportedNode(node); |
| 993 } | 998 } |
| 994 | 999 |
| 995 @override | 1000 @override |
| 996 Expression visitReifyRuntimeType(tree.ReifyRuntimeType node, arg) { | 1001 Expression visitReifyRuntimeType(tree.ReifyRuntimeType node, arg) { |
| 997 return errorUnsupportedNode(node); | 1002 return errorUnsupportedNode(node); |
| 998 } | 1003 } |
| 999 | 1004 |
| 1000 errorUnsupportedNode(tree.JsSpecificNode node) { | 1005 errorUnsupportedNode(tree.JsSpecificNode node) { |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 : super(name, ElementKind.VARIABLE, enclosingElement, variables, null); | 1370 : super(name, ElementKind.VARIABLE, enclosingElement, variables, null); |
| 1366 | 1371 |
| 1367 ExecutableElement get executableContext => enclosingElement; | 1372 ExecutableElement get executableContext => enclosingElement; |
| 1368 | 1373 |
| 1369 ExecutableElement get memberContext => executableContext.memberContext; | 1374 ExecutableElement get memberContext => executableContext.memberContext; |
| 1370 | 1375 |
| 1371 bool get isLocal => true; | 1376 bool get isLocal => true; |
| 1372 | 1377 |
| 1373 LibraryElement get implementationLibrary => enclosingElement.library; | 1378 LibraryElement get implementationLibrary => enclosingElement.library; |
| 1374 } | 1379 } |
| OLD | NEW |