| OLD | NEW |
| 1 /// This library contains token types used by the html5 tokenizer. | 1 /// This library contains token types used by the html5 tokenizer. |
| 2 library token; | 2 library token; |
| 3 | 3 |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'package:source_span/source_span.dart'; | 5 import 'package:source_span/source_span.dart'; |
| 6 | 6 |
| 7 /// An html5 token. | 7 /// An html5 token. |
| 8 abstract class Token { | 8 abstract class Token { |
| 9 FileSpan span; | 9 FileSpan span; |
| 10 | 10 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 class TokenKind { | 133 class TokenKind { |
| 134 static const int spaceCharacters = 0; | 134 static const int spaceCharacters = 0; |
| 135 static const int characters = 1; | 135 static const int characters = 1; |
| 136 static const int startTag = 2; | 136 static const int startTag = 2; |
| 137 static const int endTag = 3; | 137 static const int endTag = 3; |
| 138 static const int comment = 4; | 138 static const int comment = 4; |
| 139 static const int doctype = 5; | 139 static const int doctype = 5; |
| 140 static const int parseError = 6; | 140 static const int parseError = 6; |
| 141 } | 141 } |
| OLD | NEW |