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

Side by Side Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/html/ast/visitor/SimpleXmlVisitor.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 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 /* 1 /*
2 * Copyright 2013, the Dart project authors. 2 * Copyright 2013, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
11 * or implied. See the License for the specific language governing permissions a nd limitations under 11 * or implied. See the License for the specific language governing permissions a nd limitations under
12 * the License. 12 * the License.
13 */ 13 */
14 package com.google.dart.engine.html.ast.visitor; 14 package com.google.dart.engine.html.ast.visitor;
15 15
16 import com.google.dart.engine.html.ast.HtmlScriptTagNode;
16 import com.google.dart.engine.html.ast.HtmlUnit; 17 import com.google.dart.engine.html.ast.HtmlUnit;
17 import com.google.dart.engine.html.ast.XmlAttributeNode; 18 import com.google.dart.engine.html.ast.XmlAttributeNode;
18 import com.google.dart.engine.html.ast.XmlTagNode; 19 import com.google.dart.engine.html.ast.XmlTagNode;
19 20
20 /** 21 /**
21 * Instances of the class {@code SimpleXmlVisitor} implement an AST visitor that will do nothing 22 * Instances of the class {@code SimpleXmlVisitor} implement an AST visitor that will do nothing
22 * when visiting an AST node. It is intended to be a superclass for classes that use the visitor 23 * when visiting an AST node. It is intended to be a superclass for classes that use the visitor
23 * pattern primarily as a dispatch mechanism (and hence don't need to recursivel y visit a whole 24 * pattern primarily as a dispatch mechanism (and hence don't need to recursivel y visit a whole
24 * structure) and that only need to visit a small number of node types. 25 * structure) and that only need to visit a small number of node types.
25 */ 26 */
26 public class SimpleXmlVisitor<R> implements XmlVisitor<R> { 27 public class SimpleXmlVisitor<R> implements XmlVisitor<R> {
28 @Override
29 public R visitHtmlScriptTagNode(HtmlScriptTagNode node) {
30 return null;
31 }
27 32
28 @Override 33 @Override
29 public R visitHtmlUnit(HtmlUnit htmlUnit) { 34 public R visitHtmlUnit(HtmlUnit htmlUnit) {
30 return null; 35 return null;
31 } 36 }
32 37
33 @Override 38 @Override
34 public R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode) { 39 public R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode) {
35 return null; 40 return null;
36 } 41 }
37 42
38 @Override 43 @Override
39 public R visitXmlTagNode(XmlTagNode xmlTagNode) { 44 public R visitXmlTagNode(XmlTagNode xmlTagNode) {
40 return null; 45 return null;
41 } 46 }
42 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698