#include "pcre.h"構成 | |
| struct | JSRegExp |
マクロ定義 | |
| #define | ctype_space 0x01 |
| #define | ctype_xdigit 0x08 |
| #define | ctype_word 0x10 |
| #define | cbit_space 0 |
| #define | cbit_digit 32 |
| #define | cbit_word 64 |
| #define | cbit_length 96 |
| #define | lcc_offset 0 |
| #define | fcc_offset 128 |
| #define | cbits_offset 256 |
| #define | ctypes_offset (cbits_offset + cbit_length) |
| #define | tables_length (ctypes_offset + 128) |
| #define | ASSERT(x) do { } while(0) |
| #define | ASSERT_NOT_REACHED() do {} while(0) |
| #define | LINK_SIZE 2 |
| #define | DPRINTF(p) |
| #define | MAX_PATTERN_SIZE (1 << 16) |
| #define | REQ_IGNORE_CASE 0x0100 |
| #define | REQ_VARY 0x0200 |
| #define | XCL_NOT 0x01 |
| #define | XCL_MAP 0x02 |
| #define | XCL_END 0 |
| #define | XCL_SINGLE 1 |
| #define | XCL_RANGE 2 |
| #define | FOR_EACH_OPCODE(macro) |
| #define | OPCODE_ENUM_VALUE(opcode) OP_##opcode, |
| #define | EXTRACT_BASIC_MAX 100 |
| #define | kjs_pcre_utf8_table1_size 6 |
列挙型 | |
| enum | RegExpOptions { UseFirstByteOptimizationOption = 0x40000000, UseRequiredByteOptimizationOption = 0x20000000, UseMultiLineFirstByteOptimizationOption = 0x10000000, IsAnchoredOption = 0x02000000, IgnoreCaseOption = 0x00000001, MatchAcrossMultipleLinesOption = 0x00000002 } |
| enum | { ESC_B = 1, ESC_b, ESC_D, ESC_d, ESC_S, ESC_s, ESC_W, ESC_w, ESC_REF } |
| enum | { FOR_EACH_OPCODE = (OPCODE_ENUM_VALUE) } |
関数 | |
| static void | put2ByteValue (unsigned char *opcodePtr, int value) |
| static int | get2ByteValue (const unsigned char *opcodePtr) |
| static void | put2ByteValueAndAdvance (unsigned char *&opcodePtr, int value) |
| static void | putLinkValueAllowZero (unsigned char *opcodePtr, int value) |
| static int | getLinkValueAllowZero (const unsigned char *opcodePtr) |
| static void | putLinkValue (unsigned char *opcodePtr, int value) |
| static int | getLinkValue (const unsigned char *opcodePtr) |
| static void | putLinkValueAndAdvance (unsigned char *&opcodePtr, int value) |
| static void | putLinkValueAllowZeroAndAdvance (unsigned char *&opcodePtr, int value) |
| static unsigned char | toLowerCase (unsigned char c) |
| static unsigned char | flipCase (unsigned char c) |
| static unsigned char | classBitmapForChar (unsigned char c) |
| static unsigned char | charTypeForChar (unsigned char c) |
| static bool | isWordChar (UChar c) |
| static bool | isSpaceChar (UChar c) |
| static bool | isNewline (UChar nl) |
| static bool | isBracketStartOpcode (unsigned char opcode) |
| static void | advanceToEndOfBracket (const unsigned char *&opcodePtr) |
| int | kjs_pcre_ucp_othercase (unsigned) |
| bool | kjs_pcre_xclass (int, const unsigned char *) |
変数 | |
| const int | kjs_pcre_utf8_table1 [6] |
| const int | kjs_pcre_utf8_table2 [6] |
| const int | kjs_pcre_utf8_table3 [6] |
| const unsigned char | kjs_pcre_utf8_table4 [0x40] |
| const unsigned char | kjs_pcre_default_tables [tables_length] |
| #define ASSERT | ( | x | ) | do { } while(0) |
pcre_internal.h の 73 行で定義されています。
参照元 advanceToEndOfBracket(), getLinkValue(), put2ByteValue(), と putLinkValue().
| #define ASSERT_NOT_REACHED | ( | ) | do {} while(0) |
pcre_internal.h の 74 行で定義されています。
参照元 compileBracket(), と match().
| #define cbit_digit 32 |
pcre_internal.h の 57 行で定義されています。
参照元 compileBranch().
| #define cbit_length 96 |
pcre_internal.h の 59 行で定義されています。
| #define cbit_space 0 |
pcre_internal.h の 56 行で定義されています。
参照元 compileBranch().
| #define cbit_word 64 |
pcre_internal.h の 58 行で定義されています。
参照元 compileBranch().
| #define cbits_offset 256 |
pcre_internal.h の 66 行で定義されています。
| #define ctype_space 0x01 |
pcre_internal.h の 49 行で定義されています。
参照元 isSpaceChar().
| #define ctype_word 0x10 |
pcre_internal.h の 51 行で定義されています。
| #define ctype_xdigit 0x08 |
pcre_internal.h の 50 行で定義されています。
| #define ctypes_offset (cbits_offset + cbit_length) |
pcre_internal.h の 67 行で定義されています。
| #define DPRINTF | ( | p | ) |
pcre_internal.h の 103 行で定義されています。
参照元 jsRegExpExecute(), と match().
| #define EXTRACT_BASIC_MAX 100 |
pcre_internal.h の 318 行で定義されています。
参照元 branchNeedsLineStart(), calculateCompiledPatternLength(), compileBranch(), と match().
| #define fcc_offset 128 |
pcre_internal.h の 65 行で定義されています。
| #define FOR_EACH_OPCODE | ( | macro | ) |
pcre_internal.h の 220 行で定義されています。
| #define kjs_pcre_utf8_table1_size 6 |
pcre_internal.h の 343 行で定義されています。
| #define lcc_offset 0 |
pcre_internal.h の 64 行で定義されています。
| #define LINK_SIZE 2 |
pcre_internal.h の 87 行で定義されています。
| #define MAX_PATTERN_SIZE (1 << 16) |
pcre_internal.h の 147 行で定義されています。
参照元 calculateCompiledPatternLength(), jsRegExpCompile(), と multiplyWithOverflowCheck().
| #define OPCODE_ENUM_VALUE | ( | opcode | ) | OP_##opcode, |
pcre_internal.h の 302 行で定義されています。
| #define REQ_IGNORE_CASE 0x0100 |
pcre_internal.h の 187 行で定義されています。
参照元 compileBranch(), jsRegExpCompile(), と jsRegExpExecute().
| #define REQ_VARY 0x0200 |
pcre_internal.h の 188 行で定義されています。
| #define tables_length (ctypes_offset + 128) |
pcre_internal.h の 68 行で定義されています。
| #define XCL_END 0 |
pcre_internal.h の 198 行で定義されています。
| #define XCL_MAP 0x02 |
pcre_internal.h の 196 行で定義されています。
参照元 kjs_pcre_xclass().
| #define XCL_NOT 0x01 |
pcre_internal.h の 195 行で定義されています。
参照元 compileBranch().
| #define XCL_RANGE 2 |
pcre_internal.h の 200 行で定義されています。
参照元 kjs_pcre_xclass().
| #define XCL_SINGLE 1 |
pcre_internal.h の 199 行で定義されています。
参照元 kjs_pcre_xclass().
| anonymous enum |
pcre_internal.h の 212 行で定義されています。
| anonymous enum |
pcre_internal.h の 303 行で定義されています。
| enum RegExpOptions |
| UseFirstByteOptimizationOption | |
| UseRequiredByteOptimizationOption | |
| UseMultiLineFirstByteOptimizationOption | |
| IsAnchoredOption | |
| IgnoreCaseOption | |
| MatchAcrossMultipleLinesOption |
pcre_internal.h の 175 行で定義されています。
| static void advanceToEndOfBracket | ( | const unsigned char *& | opcodePtr | ) | [inline, static] |
pcre_internal.h の 404 行で定義されています。
参照先 ASSERT, getLinkValue(), と isBracketStartOpcode().
参照元 compileBranch(), firstSignificantOpcodeSkippingAssertions(), と match().
| static unsigned char charTypeForChar | ( | unsigned char | c | ) | [inline, static] |
| static unsigned char classBitmapForChar | ( | unsigned char | c | ) | [inline, static] |
| static unsigned char flipCase | ( | unsigned char | c | ) | [inline, static] |
pcre_internal.h の 358 行で定義されています。
参照元 compileBranch(), jsRegExpCompile(), と jsRegExpExecute().
| static int get2ByteValue | ( | const unsigned char * | opcodePtr | ) | [inline, static] |
pcre_internal.h の 126 行で定義されています。
参照元 branchNeedsLineStart(), getLinkValueAllowZero(), と match().
| static int getLinkValue | ( | const unsigned char * | opcodePtr | ) | [inline, static] |
pcre_internal.h の 155 行で定義されています。
参照先 ASSERT, と getLinkValueAllowZero().
参照元 advanceToEndOfBracket(), bracketFindFirstAssertedCharacter(), bracketIsAnchored(), bracketNeedsLineStart(), と match().
| static int getLinkValueAllowZero | ( | const unsigned char * | opcodePtr | ) | [inline, static] |
pcre_internal.h の 142 行で定義されています。
参照先 get2ByteValue().
| static bool isBracketStartOpcode | ( | unsigned char | opcode | ) | [inline, static] |
pcre_internal.h の 391 行で定義されています。
| static bool isNewline | ( | UChar | nl | ) | [inline, static] |
pcre_internal.h の 386 行で定義されています。
参照元 match(), と tryFirstByteOptimization().
| static bool isSpaceChar | ( | UChar | c | ) | [inline, static] |
| static bool isWordChar | ( | UChar | c | ) | [inline, static] |
| int kjs_pcre_ucp_othercase | ( | unsigned | ) |
pcre_ucp_searchfuncs.cpp の 62 行で定義されています。
参照先 cnode::f0, f0_charmask, f0_rangeflag, cnode::f1, f1_caseneg, f1_rangemask, と ucp_table.
参照元 compileBranch(), getOthercaseRange(), match(), と matchRef().
| bool kjs_pcre_xclass | ( | int | , | |
| const unsigned char * | ||||
| ) |
pcre_xclass.cpp の 76 行で定義されています。
参照先 getUTF8CharAndAdvancePointer(), XCL_MAP, XCL_RANGE, と XCL_SINGLE.
参照元 match().
| static void put2ByteValue | ( | unsigned char * | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
pcre_internal.h の 119 行で定義されています。
参照先 ASSERT.
参照元 compileBranch(), put2ByteValueAndAdvance(), と putLinkValueAllowZero().
| static void put2ByteValueAndAdvance | ( | unsigned char *& | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
| static void putLinkValue | ( | unsigned char * | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
pcre_internal.h の 149 行で定義されています。
参照先 ASSERT, と putLinkValueAllowZero().
参照元 compileBracket(), compileBranch(), と putLinkValueAndAdvance().
| static void putLinkValueAllowZero | ( | unsigned char * | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
pcre_internal.h の 137 行で定義されています。
参照先 put2ByteValue().
参照元 compileBracket(), putLinkValue(), と putLinkValueAllowZeroAndAdvance().
| static void putLinkValueAllowZeroAndAdvance | ( | unsigned char *& | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
| static void putLinkValueAndAdvance | ( | unsigned char *& | opcodePtr, | |
| int | value | |||
| ) | [inline, static] |
| static unsigned char toLowerCase | ( | unsigned char | c | ) | [inline, static] |
pcre_internal.h の 352 行で定義されています。
参照元 jsRegExpExecute(), match(), と tryFirstByteOptimization().
| const unsigned char kjs_pcre_default_tables[tables_length] |
pcre_chartables.c の 13 行で定義されています。
参照元 charTypeForChar(), classBitmapForChar(), flipCase(), と toLowerCase().
| const int kjs_pcre_utf8_table1[6] |
pcre_tables.cpp の 52 行で定義されています。
| const int kjs_pcre_utf8_table2[6] |
pcre_tables.cpp の 58 行で定義されています。
参照元 encodeUTF8().
| const int kjs_pcre_utf8_table3[6] |
pcre_tables.cpp の 59 行で定義されています。
参照元 getUTF8CharAndAdvancePointer(), と getUTF8CharAndIncrementLength().
| const unsigned char kjs_pcre_utf8_table4[0x40] |
pcre_tables.cpp の 65 行で定義されています。
参照元 getUTF8CharAndAdvancePointer(), と getUTF8CharAndIncrementLength().
1.7.1