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

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

Issue 82903007: Improved HTML parsing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 7 years, 1 month 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.engine/src/com/google/dart/engine/html/ast/visitor/ToSourceVisitor.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/visitor/ToSourceVisitor.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/visitor/ToSourceVisitor.java
index 1cede5c6dce612d0522446218865f4cd4d350ff3..f2c5072209d56df8cd0e83c9bafc8230209acef9 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/visitor/ToSourceVisitor.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/visitor/ToSourceVisitor.java
@@ -13,6 +13,7 @@
*/
package com.google.dart.engine.html.ast.visitor;
+import com.google.dart.engine.html.ast.HtmlScriptTagNode;
import com.google.dart.engine.html.ast.HtmlUnit;
import com.google.dart.engine.html.ast.XmlAttributeNode;
import com.google.dart.engine.html.ast.XmlNode;
@@ -44,6 +45,11 @@ public class ToSourceVisitor implements XmlVisitor<Void> {
}
@Override
+ public Void visitHtmlScriptTagNode(HtmlScriptTagNode node) {
+ return visitXmlTagNode(node);
+ }
+
+ @Override
public Void visitHtmlUnit(HtmlUnit node) {
for (XmlTagNode child : node.getTagNodes()) {
visit(child);

Powered by Google App Engine
This is Rietveld 408576698