OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 package com.google.dart.compiler; | 5 package com.google.dart.compiler; |
6 | 6 |
| 7 import com.google.dart.compiler.ast.DartUnit; |
7 import com.google.dart.compiler.ast.LibraryUnit; | 8 import com.google.dart.compiler.ast.LibraryUnit; |
8 import com.google.dart.compiler.metrics.CompilerMetrics; | 9 import com.google.dart.compiler.metrics.CompilerMetrics; |
9 import com.google.dart.compiler.parser.DartParser; | 10 import com.google.dart.compiler.parser.DartParser; |
10 | 11 |
11 import java.io.IOException; | 12 import java.io.IOException; |
12 import java.io.Reader; | 13 import java.io.Reader; |
13 import java.io.Writer; | 14 import java.io.Writer; |
14 import java.net.URI; | 15 import java.net.URI; |
15 import java.util.concurrent.atomic.AtomicBoolean; | 16 import java.util.concurrent.atomic.AtomicBoolean; |
16 import java.util.concurrent.atomic.AtomicInteger; | 17 import java.util.concurrent.atomic.AtomicInteger; |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 return compilerConfiguration; | 177 return compilerConfiguration; |
177 } | 178 } |
178 | 179 |
179 /** | 180 /** |
180 * Return the system library corresponding to the specified "dart:<libname>" s
pec. | 181 * Return the system library corresponding to the specified "dart:<libname>" s
pec. |
181 */ | 182 */ |
182 @Override | 183 @Override |
183 public LibrarySource getSystemLibraryFor(String importSpec) { | 184 public LibrarySource getSystemLibraryFor(String importSpec) { |
184 return compilerConfiguration.getSystemLibraryFor(importSpec); | 185 return compilerConfiguration.getSystemLibraryFor(importSpec); |
185 } | 186 } |
| 187 |
| 188 @Override |
| 189 public void unitCompiled(DartUnit unit) { |
| 190 listener.unitCompiled(unit); |
| 191 } |
186 } | 192 } |
OLD | NEW |