| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, the Dart project authors. | 2 * Copyright (c) 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.XmlNode; | 19 import com.google.dart.engine.html.ast.XmlNode; |
| 19 import com.google.dart.engine.html.ast.XmlTagNode; | 20 import com.google.dart.engine.html.ast.XmlTagNode; |
| 20 | 21 |
| 21 /** | 22 /** |
| 22 * The interface {@code XmlVisitor} defines the behavior of objects that can be
used to visit an | 23 * The interface {@code XmlVisitor} defines the behavior of objects that can be
used to visit an |
| 23 * {@link XmlNode} structure. | 24 * {@link XmlNode} structure. |
| 24 * | 25 * |
| 25 * @coverage dart.engine.html | 26 * @coverage dart.engine.html |
| 26 */ | 27 */ |
| 27 public interface XmlVisitor<R> { | 28 public interface XmlVisitor<R> { |
| 29 public R visitHtmlScriptTagNode(HtmlScriptTagNode node); |
| 28 | 30 |
| 29 R visitHtmlUnit(HtmlUnit htmlUnit); | 31 public R visitHtmlUnit(HtmlUnit htmlUnit); |
| 30 | 32 |
| 31 R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode); | 33 public R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode); |
| 32 | 34 |
| 33 R visitXmlTagNode(XmlTagNode xmlTagNode); | 35 public R visitXmlTagNode(XmlTagNode xmlTagNode); |
| 34 } | 36 } |
| OLD | NEW |