28 #ifndef V8_CHAR_PREDICATES_INL_H_
29 #define V8_CHAR_PREDICATES_INL_H_
55 inline bool IsInRange(
int value,
int lower_limit,
int higher_limit) {
56 ASSERT(lower_limit <= higher_limit);
57 return static_cast<unsigned int>(value - lower_limit) <=
58 static_cast<unsigned int>(higher_limit - lower_limit);
82 return c ==
'0' || c ==
'1';
96 case 0x000A:
case 0x000D:
case 0x2028:
case 0x2029:
106 #endif // V8_CHAR_PREDICATES_INL_H_
bool IsRegExpWord(uc16 c)
int AsciiAlphaToLower(uc32 c)
#define ASSERT(condition)
bool IsBinaryDigit(uc32 c)
bool IsRegExpNewline(uc16 c)
bool IsCarriageReturn(uc32 c)
bool IsOctalDigit(uc32 c)
bool IsInRange(int value, int lower_limit, int higher_limit)
bool IsDecimalDigit(uc32 c)