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 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 import "package:compiler/src/scanner/scannerlib.dart"; | 6 import "package:compiler/src/scanner/listener.dart"; |
| 7 import "package:compiler/src/scanner/parser.dart"; |
| 8 import "package:compiler/src/scanner/string_scanner.dart"; |
| 9 import "package:compiler/src/scanner/token.dart"; |
7 import "package:compiler/src/tree/tree.dart"; | 10 import "package:compiler/src/tree/tree.dart"; |
8 | 11 |
9 import "package:compiler/src/diagnostics/diagnostic_listener.dart"; | 12 import "package:compiler/src/diagnostics/diagnostic_listener.dart"; |
10 import "package:compiler/src/elements/elements.dart" | 13 import "package:compiler/src/elements/elements.dart" |
11 show CompilationUnitElement, | 14 show CompilationUnitElement, |
12 LibraryElement; | 15 LibraryElement; |
13 import "package:compiler/src/elements/modelx.dart" | 16 import "package:compiler/src/elements/modelx.dart" |
14 show CompilationUnitElementX, | 17 show CompilationUnitElementX, |
15 LibraryElementX; | 18 LibraryElementX; |
16 import "package:compiler/src/script.dart"; | 19 import "package:compiler/src/script.dart"; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 messages.add(reason); | 108 messages.add(reason); |
106 throw reason; | 109 throw reason; |
107 } | 110 } |
108 | 111 |
109 void log(message) { | 112 void log(message) { |
110 messages.add(message); | 113 messages.add(message); |
111 } | 114 } |
112 | 115 |
113 noSuchMethod(Invocation invocation) => throw 'unsupported operation'; | 116 noSuchMethod(Invocation invocation) => throw 'unsupported operation'; |
114 } | 117 } |
OLD | NEW |