| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.html; | 8 library engine.html; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1293 // no children to visit | 1293 // no children to visit |
| 1294 } | 1294 } |
| 1295 } | 1295 } |
| 1296 | 1296 |
| 1297 /** | 1297 /** |
| 1298 * Instances of the class `XmlExpression` represent an abstract expression embed
ded into | 1298 * Instances of the class `XmlExpression` represent an abstract expression embed
ded into |
| 1299 * [XmlNode]. | 1299 * [XmlNode]. |
| 1300 */ | 1300 */ |
| 1301 abstract class XmlExpression { | 1301 abstract class XmlExpression { |
| 1302 /** | 1302 /** |
| 1303 * An empty array of expressions. | 1303 * An empty list of expressions. |
| 1304 */ | 1304 */ |
| 1305 static List<XmlExpression> EMPTY_ARRAY = new List<XmlExpression>(0); | 1305 static const List<XmlExpression> EMPTY_ARRAY = const <XmlExpression>[]; |
| 1306 | 1306 |
| 1307 /** | 1307 /** |
| 1308 * Check if the given offset belongs to the expression's source range. | 1308 * Check if the given offset belongs to the expression's source range. |
| 1309 */ | 1309 */ |
| 1310 bool contains(int offset) => this.offset <= offset && offset < end; | 1310 bool contains(int offset) => this.offset <= offset && offset < end; |
| 1311 | 1311 |
| 1312 /** | 1312 /** |
| 1313 * Return the offset of the character immediately following the last character
of this | 1313 * Return the offset of the character immediately following the last character
of this |
| 1314 * expression's source range. This is equivalent to `getOffset() + getLength()
`. | 1314 * expression's source range. This is equivalent to `getOffset() + getLength()
`. |
| 1315 * | 1315 * |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2049 */ | 2049 */ |
| 2050 abstract class XmlVisitor<R> { | 2050 abstract class XmlVisitor<R> { |
| 2051 R visitHtmlScriptTagNode(HtmlScriptTagNode node); | 2051 R visitHtmlScriptTagNode(HtmlScriptTagNode node); |
| 2052 | 2052 |
| 2053 R visitHtmlUnit(HtmlUnit htmlUnit); | 2053 R visitHtmlUnit(HtmlUnit htmlUnit); |
| 2054 | 2054 |
| 2055 R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode); | 2055 R visitXmlAttributeNode(XmlAttributeNode xmlAttributeNode); |
| 2056 | 2056 |
| 2057 R visitXmlTagNode(XmlTagNode xmlTagNode); | 2057 R visitXmlTagNode(XmlTagNode xmlTagNode); |
| 2058 } | 2058 } |
| OLD | NEW |