Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: lib/src/token.dart

Issue 10916294: switch html5lib to new pkg layout (Closed) Base URL: https://github.com/dart-lang/html5lib.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/list_proxy.dart ('k') | lib/src/treebuilder.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /** An html5 token. */ 4 /** An html5 token. */
5 class Token { 5 class Token {
6 abstract int get kind; 6 abstract int get kind;
7 7
8 // TODO(jmesserly): it'd be nice to remove this and always use the ".data" 8 // TODO(jmesserly): it'd be nice to remove this and always use the ".data"
9 // on the particular token type. 9 // on the particular token type.
10 abstract get data; 10 abstract get data;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 class TokenKind { 97 class TokenKind {
98 static const int spaceCharacters = 0; 98 static const int spaceCharacters = 0;
99 static const int characters = 1; 99 static const int characters = 1;
100 static const int startTag = 2; 100 static const int startTag = 2;
101 static const int endTag = 3; 101 static const int endTag = 3;
102 static const int comment = 4; 102 static const int comment = 4;
103 static const int doctype = 5; 103 static const int doctype = 5;
104 static const int parseError = 6; 104 static const int parseError = 6;
105 } 105 }
OLDNEW
« no previous file with comments | « lib/src/list_proxy.dart ('k') | lib/src/treebuilder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698