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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java

Issue 123763002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ElementPair.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java
index 18f3fa8cd6084fa7d389d48dfb934bf5a0c6c58f..02536f00e7529976f9d21d940eb642fcb29022d7 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/HtmlUnitUtils.java
@@ -29,6 +29,9 @@ import com.google.dart.engine.type.Type;
* Utilities locating {@link Expression}s and {@link Element}s in {@link HtmlUnit}.
*/
public class HtmlUnitUtils {
+ private static class FoundExpressionError extends Error {
+ }
+
/**
* Returns the best {@link Element} of the given {@link Expression}.
*/
@@ -76,8 +79,6 @@ public class HtmlUnitUtils {
if (htmlUnit == null) {
return null;
}
- class FoundExpressionError extends Error {
- }
final Expression[] result = {null};
try {
htmlUnit.accept(new RecursiveXmlVisitor<Void>() {
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ElementPair.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698