Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: compiler/java/com/google/dart/compiler/DartCompilerMainContext.java

Issue 8285004: Ground work for addition to new listener api (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added some comments Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698