| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 mock_compiler; | 5 library mock_compiler; |
| 6 | 6 |
| 7 import 'dart:uri'; | 7 import 'dart:uri'; |
| 8 | 8 |
| 9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; | 9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; |
| 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; | 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; |
| 11 import '../../../sdk/lib/_internal/compiler/implementation/resolution/resolution
.dart'; | 11 import '../../../sdk/lib/_internal/compiler/implementation/resolution/resolution
.dart'; |
| 12 import '../../../sdk/lib/_internal/compiler/implementation/source_file.dart'; | 12 import '../../../sdk/lib/_internal/compiler/implementation/source_file.dart'; |
| 13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; | 13 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; |
| 14 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart'; | 14 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart'; |
| 15 import 'parser_helper.dart'; | 15 import 'parser_helper.dart'; |
| 16 | 16 |
| 17 import '../../../sdk/lib/_internal/compiler/implementation/elements/model.dart' | 17 import '../../../sdk/lib/_internal/compiler/implementation/elements/modelx.dart' |
| 18 show ElementX, | 18 show ElementX, |
| 19 LibraryElementX, | 19 LibraryElementX, |
| 20 ErroneousElementX; | 20 ErroneousElementX; |
| 21 | 21 |
| 22 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' | 22 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' |
| 23 hide TreeElementMapping; | 23 hide TreeElementMapping; |
| 24 | 24 |
| 25 class WarningMessage { | 25 class WarningMessage { |
| 26 Node node; | 26 Node node; |
| 27 Message message; | 27 Message message; |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 operator []=(Node node, Element element) { | 297 operator []=(Node node, Element element) { |
| 298 map[node] = element; | 298 map[node] = element; |
| 299 } | 299 } |
| 300 | 300 |
| 301 operator [](Node node) => map[node]; | 301 operator [](Node node) => map[node]; |
| 302 | 302 |
| 303 void remove(Node node) { | 303 void remove(Node node) { |
| 304 map.remove(node); | 304 map.remove(node); |
| 305 } | 305 } |
| 306 } | 306 } |
| OLD | NEW |