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

Side by Side Diff: pkg/third_party/html5lib/lib/src/token.dart

Issue 421503004: Switch transformers over to source_span (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 import 'dart:collection'; 4 import 'dart:collection';
5 import 'package:source_maps/span.dart' show FileSpan; 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
11 int get kind; 11 int get kind;
12 } 12 }
13 13
14 abstract class TagToken extends Token { 14 abstract class TagToken extends Token {
15 String name; 15 String name;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 class TokenKind { 110 class TokenKind {
111 static const int spaceCharacters = 0; 111 static const int spaceCharacters = 0;
112 static const int characters = 1; 112 static const int characters = 1;
113 static const int startTag = 2; 113 static const int startTag = 2;
114 static const int endTag = 3; 114 static const int endTag = 3;
115 static const int comment = 4; 115 static const int comment = 4;
116 static const int doctype = 5; 116 static const int doctype = 5;
117 static const int parseError = 6; 117 static const int parseError = 6;
118 } 118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698