| 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 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1853 | 1853 |
| 1854 static String _APPLICATION_DART_IN_SINGLE_QUOTES = "'application/dart'"; | 1854 static String _APPLICATION_DART_IN_SINGLE_QUOTES = "'application/dart'"; |
| 1855 | 1855 |
| 1856 static String _SCRIPT = "script"; | 1856 static String _SCRIPT = "script"; |
| 1857 | 1857 |
| 1858 static String _TYPE = "type"; | 1858 static String _TYPE = "type"; |
| 1859 | 1859 |
| 1860 /** | 1860 /** |
| 1861 * A set containing the names of tags that do not have a closing tag. | 1861 * A set containing the names of tags that do not have a closing tag. |
| 1862 */ | 1862 */ |
| 1863 static Set<String> SELF_CLOSING = new Set<String>(); | 1863 static Set<String> SELF_CLOSING = new Set<String>.from(JavaArrays.asList(<Stri
ng> [ |
| 1864 "area", |
| 1865 "base", |
| 1866 "basefont", |
| 1867 "br", |
| 1868 "col", |
| 1869 "frame", |
| 1870 "hr", |
| 1871 "img", |
| 1872 "input", |
| 1873 "link", |
| 1874 "meta", |
| 1875 "param", |
| 1876 "!"])); |
| 1864 | 1877 |
| 1865 /** | 1878 /** |
| 1866 * Given the contents of an embedded expression that occurs at the given offse
t, parse it as a | 1879 * Given the contents of an embedded expression that occurs at the given offse
t, parse it as a |
| 1867 * Dart expression. The contents should not include the expression's delimiter
s. | 1880 * Dart expression. The contents should not include the expression's delimiter
s. |
| 1868 * | 1881 * |
| 1869 * @param source the source that contains that given token | 1882 * @param source the source that contains that given token |
| 1870 * @param token the token to start parsing from | 1883 * @param token the token to start parsing from |
| 1871 * @return the Dart expression that was parsed | 1884 * @return the Dart expression that was parsed |
| 1872 */ | 1885 */ |
| 1873 static Expression parseEmbeddedExpression(Source source, sc.Token token, Analy
sisErrorListener errorListener) { | 1886 static Expression parseEmbeddedExpression(Source source, sc.Token token, Analy
sisErrorListener errorListener) { |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2021 super.element = element; | 2034 super.element = element; |
| 2022 } | 2035 } |
| 2023 | 2036 |
| 2024 @override | 2037 @override |
| 2025 void visitChildren(XmlVisitor visitor) { | 2038 void visitChildren(XmlVisitor visitor) { |
| 2026 for (XmlTagNode node in _tagNodes) { | 2039 for (XmlTagNode node in _tagNodes) { |
| 2027 node.accept(visitor); | 2040 node.accept(visitor); |
| 2028 } | 2041 } |
| 2029 } | 2042 } |
| 2030 } | 2043 } |
| OLD | NEW |