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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java

Issue 9633009: Use Element instead of Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
index 4ebd3fedddfe7d650b01e9edadba447f17f19ddd..68a9fd25a8a66e133cb04ecf83325cac1af2fbd9 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/compiler/DartCompilerUtilities.java
@@ -709,7 +709,7 @@ public class DartCompilerUtilities {
* {@link DartParser} will be logged and a {@link DartModelException} thrown.
*
* @param compilationUnit the compilation unit (not <code>null</code>)
- * @param resolve <code>true</code> if symbols are to be resolved
+ * @param resolve <code>true</code> if elements are to be resolved
* @return the parse result or <code>null</code> if there are any parse errors
*/
public static DartUnit resolveUnit(CompilationUnit compilationUnit) throws DartModelException {
@@ -717,7 +717,7 @@ public class DartCompilerUtilities {
}
/**
- * Parse the source for the specified compilation unit and resolve any symbols found in it. Any
+ * Parse the source for the specified compilation unit and resolve any elements found in it. Any
* exceptions thrown by the {@link DartParser} will be added to the given collection.
*
* @param compilationUnit the compilation unit (not <code>null</code>)
@@ -729,7 +729,7 @@ public class DartCompilerUtilities {
Collection<DartCompilationError> parseErrors) throws DartModelException {
DartLibraryImpl library = (DartLibraryImpl) compilationUnit.getLibrary();
if (library == null) {
- // If we cannot get the library, we cannot resolve any symbols so we
+ // If we cannot get the library, we cannot resolve any elements so we
// revert to simply parsing the compilation unit.
return parseUnit(compilationUnit, parseErrors);
}

Powered by Google App Engine
This is Rietveld 408576698