| OLD | NEW |
| 1 // | 1 // |
| 2 // Copyright (C) 2002-2013 International Business Machines Corporation | 2 // Copyright (C) 2002-2014 International Business Machines Corporation |
| 3 // and others. All rights reserved. | 3 // and others. All rights reserved. |
| 4 // | 4 // |
| 5 // file: regeximp.h | 5 // file: regeximp.h |
| 6 // | 6 // |
| 7 // ICU Regular Expressions, | 7 // ICU Regular Expressions, |
| 8 // Definitions of constant values used in the compiled form of | 8 // Definitions of constant values used in the compiled form of |
| 9 // a regular expression pattern. | 9 // a regular expression pattern. |
| 10 // | 10 // |
| 11 | 11 |
| 12 #ifndef _REGEXIMP_H | 12 #ifndef _REGEXIMP_H |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 "LOOP_C", \ | 234 "LOOP_C", \ |
| 235 "LOOP_DOT_I", \ | 235 "LOOP_DOT_I", \ |
| 236 "BACKSLASH_BU", \ | 236 "BACKSLASH_BU", \ |
| 237 "DOLLAR_D", \ | 237 "DOLLAR_D", \ |
| 238 "DOLLAR_MD" | 238 "DOLLAR_MD" |
| 239 | 239 |
| 240 | 240 |
| 241 // | 241 // |
| 242 // Convenience macros for assembling and disassembling a compiled operation. | 242 // Convenience macros for assembling and disassembling a compiled operation. |
| 243 // | 243 // |
| 244 #define URX_BUILD(type, val) (int32_t)((type << 24) | (val)) | |
| 245 #define URX_TYPE(x) ((uint32_t)(x) >> 24) | 244 #define URX_TYPE(x) ((uint32_t)(x) >> 24) |
| 246 #define URX_VAL(x) ((x) & 0xffffff) | 245 #define URX_VAL(x) ((x) & 0xffffff) |
| 247 | 246 |
| 248 | 247 |
| 249 // | 248 // |
| 250 // Access to Unicode Sets composite character properties | 249 // Access to Unicode Sets composite character properties |
| 251 // The sets are accessed by the match engine for things like \w (word bounda
ry) | 250 // The sets are accessed by the match engine for things like \w (word bounda
ry) |
| 252 // | 251 // |
| 253 enum { | 252 enum { |
| 254 URX_ISWORD_SET = 1, | 253 URX_ISWORD_SET = 1, |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 const UCaseProps *fcsp; | 399 const UCaseProps *fcsp; |
| 401 const UChar *fFoldChars; | 400 const UChar *fFoldChars; |
| 402 int32_t fFoldLength; | 401 int32_t fFoldLength; |
| 403 int32_t fFoldIndex; | 402 int32_t fFoldIndex; |
| 404 | 403 |
| 405 }; | 404 }; |
| 406 | 405 |
| 407 U_NAMESPACE_END | 406 U_NAMESPACE_END |
| 408 #endif | 407 #endif |
| 409 | 408 |
| OLD | NEW |