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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java

Issue 10828169: 'Split && condition' quick assist. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/dom/AST.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
index 3215ae482e9d079087467365a954dc868e757381..42a098acc0ad491ecfc7ae2a5e9da39deb07f4d5 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
@@ -154,7 +154,7 @@ public class AST {
} else if (nodeClass == DartIdentifier.class) {
return (N) new DartIdentifier("");
} else if (nodeClass == DartIfStatement.class) {
- return (N) new DartIfStatement(null, null, null);
+ return (N) new DartIfStatement(null, 0, null, 0, null);
} else if (nodeClass == DartInitializer.class) {
return (N) new DartInitializer(null, null);
} else if (nodeClass == DartLabel.class) {
@@ -174,12 +174,7 @@ public class AST {
} else if (nodeClass == DartNullLiteral.class) {
return (N) DartNullLiteral.get();
} else if (nodeClass == DartParameter.class) {
- return (N) new DartParameter(
- null,
- null,
- new ArrayList<DartParameter>(),
- null,
- Modifiers.NONE);
+ return (N) new DartParameter(null, null, new ArrayList<DartParameter>(), null, Modifiers.NONE);
} else if (nodeClass == DartParenthesizedExpression.class) {
return (N) new DartParenthesizedExpression(null);
} else if (nodeClass == DartPropertyAccess.class) {

Powered by Google App Engine
This is Rietveld 408576698