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

Side by Side Diff: src/unicode.h

Issue 141323007: Fix inconsistencies wrt whitespaces. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: new license header Created 6 years, 10 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
« no previous file with comments | « src/scanner.cc ('k') | src/unicode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 struct Uppercase { 220 struct Uppercase {
221 static bool Is(uchar c); 221 static bool Is(uchar c);
222 }; 222 };
223 struct Lowercase { 223 struct Lowercase {
224 static bool Is(uchar c); 224 static bool Is(uchar c);
225 }; 225 };
226 struct Letter { 226 struct Letter {
227 static bool Is(uchar c); 227 static bool Is(uchar c);
228 }; 228 };
229 struct Space {
230 static bool Is(uchar c);
231 };
232 struct Number { 229 struct Number {
233 static bool Is(uchar c); 230 static bool Is(uchar c);
234 }; 231 };
235 struct WhiteSpace { 232 struct WhiteSpace {
236 static bool Is(uchar c); 233 static bool Is(uchar c);
237 }; 234 };
238 struct LineTerminator { 235 struct LineTerminator {
239 static bool Is(uchar c); 236 static bool Is(uchar c);
240 }; 237 };
241 struct CombiningMark { 238 struct CombiningMark {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 static const int kMaxWidth = 1; 275 static const int kMaxWidth = 1;
279 static int Convert(uchar c, 276 static int Convert(uchar c,
280 uchar n, 277 uchar n,
281 uchar* result, 278 uchar* result,
282 bool* allow_caching_ptr); 279 bool* allow_caching_ptr);
283 }; 280 };
284 281
285 } // namespace unibrow 282 } // namespace unibrow
286 283
287 #endif // V8_UNICODE_H_ 284 #endif // V8_UNICODE_H_
OLDNEW
« no previous file with comments | « src/scanner.cc ('k') | src/unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698