OLD | NEW |
1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
3 library engine.html; | 3 library engine.html; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'java_core.dart'; | 5 import 'java_core.dart'; |
6 import 'java_engine.dart'; | 6 import 'java_engine.dart'; |
7 import 'source.dart'; | 7 import 'source.dart'; |
8 import 'error.dart'; | 8 import 'error.dart'; |
9 import 'instrumentation.dart'; | 9 import 'instrumentation.dart'; |
10 import 'element.dart' show HtmlElementImpl; | 10 import 'element.dart' show HtmlElementImpl; |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 this._lexeme = lexeme; | 846 this._lexeme = lexeme; |
847 } | 847 } |
848 | 848 |
849 /** | 849 /** |
850 * Return the lexeme that defines this type of token, or {@code null} if there
is more than one | 850 * Return the lexeme that defines this type of token, or {@code null} if there
is more than one |
851 * possible lexeme for this type of token. | 851 * possible lexeme for this type of token. |
852 * @return the lexeme that defines this type of token | 852 * @return the lexeme that defines this type of token |
853 */ | 853 */ |
854 String get lexeme => _lexeme; | 854 String get lexeme => _lexeme; |
855 int compareTo(TokenType other) => ordinal - other.ordinal; | 855 int compareTo(TokenType other) => ordinal - other.ordinal; |
| 856 int get hashCode => ordinal; |
856 String toString() => name; | 857 String toString() => name; |
857 } | 858 } |
858 class TokenType_EOF extends TokenType { | 859 class TokenType_EOF extends TokenType { |
859 TokenType_EOF(String name, int ordinal, String arg0) : super(name, ordinal, ar
g0); | 860 TokenType_EOF(String name, int ordinal, String arg0) : super(name, ordinal, ar
g0); |
860 String toString() => "-eof-"; | 861 String toString() => "-eof-"; |
861 } | 862 } |
862 /** | 863 /** |
863 * Instances of {@code XmlAttributeNode} represent name/value pairs owned by an
{@link XmlTagNode}. | 864 * Instances of {@code XmlAttributeNode} represent name/value pairs owned by an
{@link XmlTagNode}. |
864 * @coverage dart.engine.html | 865 * @coverage dart.engine.html |
865 */ | 866 */ |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 */ | 1574 */ |
1574 void set element(HtmlElementImpl element2) { | 1575 void set element(HtmlElementImpl element2) { |
1575 this._element = element2; | 1576 this._element = element2; |
1576 } | 1577 } |
1577 void visitChildren(XmlVisitor<Object> visitor) { | 1578 void visitChildren(XmlVisitor<Object> visitor) { |
1578 for (XmlTagNode node in _tagNodes) { | 1579 for (XmlTagNode node in _tagNodes) { |
1579 node.accept(visitor); | 1580 node.accept(visitor); |
1580 } | 1581 } |
1581 } | 1582 } |
1582 } | 1583 } |
OLD | NEW |