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

Side by Side Diff: packages/html/lib/src/encoding_parser.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « packages/html/lib/src/css_class_set.dart ('k') | packages/html/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 5
6 // TODO(jmesserly): I converted StopIteration to StateError("No more elements"). 6 // TODO(jmesserly): I converted StopIteration to StateError("No more elements").
7 // Seems strange to throw this from outside of an iterator though. 7 // Seems strange to throw this from outside of an iterator though.
8 /// String-like object with an associated position and various extra methods 8 /// String-like object with an associated position and various extra methods
9 /// If the position is ever greater than the string length then an exception is 9 /// If the position is ever greater than the string length then an exception is
10 /// raised. 10 /// raised.
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 return null; 361 return null;
362 } 362 }
363 } 363 }
364 } 364 }
365 365
366 bool isSpaceOrAngleBracket(String char) { 366 bool isSpaceOrAngleBracket(String char) {
367 return char == ">" || char == "<" || isWhitespace(char); 367 return char == ">" || char == "<" || isWhitespace(char);
368 } 368 }
369 369
370 typedef bool CharPreciate(String char); 370 typedef bool CharPreciate(String char);
OLDNEW
« no previous file with comments | « packages/html/lib/src/css_class_set.dart ('k') | packages/html/lib/src/inputstream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698