OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CHAR_PREDICATES_INL_H_ | 5 #ifndef V8_CHAR_PREDICATES_INL_H_ |
6 #define V8_CHAR_PREDICATES_INL_H_ | 6 #define V8_CHAR_PREDICATES_INL_H_ |
7 | 7 |
8 #include "src/char-predicates.h" | 8 #include "src/char-predicates.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 switch (c) { | 78 switch (c) { |
79 // CR LF LS PS | 79 // CR LF LS PS |
80 case 0x000A: case 0x000D: case 0x2028: case 0x2029: | 80 case 0x000A: case 0x000D: case 0x2028: case 0x2029: |
81 return false; | 81 return false; |
82 default: | 82 default: |
83 return true; | 83 return true; |
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 | 87 |
88 } } // namespace v8::internal | 88 } // namespace internal |
| 89 } // namespace v8 |
89 | 90 |
90 #endif // V8_CHAR_PREDICATES_INL_H_ | 91 #endif // V8_CHAR_PREDICATES_INL_H_ |
OLD | NEW |