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.DartUnit; |
8 import com.google.dart.compiler.ast.LibraryUnit; | 8 import com.google.dart.compiler.ast.LibraryUnit; |
9 import com.google.dart.compiler.metrics.CompilerMetrics; | 9 import com.google.dart.compiler.metrics.CompilerMetrics; |
10 import com.google.dart.compiler.parser.DartParser; | 10 import com.google.dart.compiler.parser.DartParser; |
11 import com.google.dart.compiler.resolver.ResolverErrorCode; | |
12 import com.google.dart.compiler.resolver.TypeErrorCode; | 11 import com.google.dart.compiler.resolver.TypeErrorCode; |
13 | 12 |
14 import java.io.IOException; | 13 import java.io.IOException; |
15 import java.io.Reader; | 14 import java.io.Reader; |
16 import java.io.Writer; | 15 import java.io.Writer; |
17 import java.net.URI; | 16 import java.net.URI; |
18 import java.util.concurrent.atomic.AtomicBoolean; | 17 import java.util.concurrent.atomic.AtomicBoolean; |
19 import java.util.concurrent.atomic.AtomicInteger; | 18 import java.util.concurrent.atomic.AtomicInteger; |
20 | 19 |
21 /** | 20 /** |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 @Override | 176 @Override |
178 public LibrarySource getSystemLibraryFor(String importSpec) { | 177 public LibrarySource getSystemLibraryFor(String importSpec) { |
179 return compilerConfiguration.getSystemLibraryFor(importSpec); | 178 return compilerConfiguration.getSystemLibraryFor(importSpec); |
180 } | 179 } |
181 | 180 |
182 @Override | 181 @Override |
183 public void unitCompiled(DartUnit unit) { | 182 public void unitCompiled(DartUnit unit) { |
184 listener.unitCompiled(unit); | 183 listener.unitCompiled(unit); |
185 } | 184 } |
186 } | 185 } |
OLD | NEW |