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

Side by Side Diff: lib/src/encoding_parser.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/constants.dart ('k') | lib/src/inputstream.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 #library('encoding_parser'); 1 #library('encoding_parser');
2 2
3 #import('constants.dart'); 3 #import('constants.dart');
4 #import('inputstream.dart'); 4 #import('inputstream.dart');
5 #import('utils.dart'); 5 #import('utils.dart');
6 6
7 // TODO(jmesserly): I converted StopIteration to NoMoreElementsException. Seems 7 // TODO(jmesserly): I converted StopIteration to NoMoreElementsException. Seems
8 // strange to throw this from outside of an iterator though. 8 // strange to throw this from outside of an iterator though.
9 /** 9 /**
10 * String-like object with an associated position and various extra methods 10 * String-like object with an associated position and various extra methods
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 } 374 }
375 } 375 }
376 } 376 }
377 377
378 378
379 bool isSpaceOrAngleBracket(String char) { 379 bool isSpaceOrAngleBracket(String char) {
380 return char == ">" || char == "<" || isWhitespace(char); 380 return char == ">" || char == "<" || isWhitespace(char);
381 } 381 }
382 382
383 typedef bool CharPreciate(String char); 383 typedef bool CharPreciate(String char);
OLDNEW
« no previous file with comments | « lib/src/constants.dart ('k') | lib/src/inputstream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698