| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |