|
void JS_EXPORT_PRIVATE | replace (String &, const RegularExpression &, const String &) |
|
JS_EXPORT_PRIVATE std::unique_ptr< BytecodePattern > | byteCompile (YarrPattern &, BumpPointerAllocator *, ConcurrentJSLock *=nullptr) |
|
JS_EXPORT_PRIVATE unsigned | interpret (BytecodePattern *, const String &input, unsigned start, unsigned *output) |
|
unsigned | interpret (BytecodePattern *, const LChar *input, unsigned length, unsigned start, unsigned *output) |
|
unsigned | interpret (BytecodePattern *, const UChar *input, unsigned length, unsigned start, unsigned *output) |
|
template<class Delegate > |
const char * | parse (Delegate &delegate, const String &pattern, bool isUnicode, unsigned backReferenceLimit=quantifyInfinite) |
|
std::unique_ptr< CharacterClass > | newlineCreate () |
|
std::unique_ptr< CharacterClass > | digitsCreate () |
|
std::unique_ptr< CharacterClass > | spacesCreate () |
|
std::unique_ptr< CharacterClass > | wordcharCreate () |
|
std::unique_ptr< CharacterClass > | wordUnicodeIgnoreCaseCharCreate () |
|
std::unique_ptr< CharacterClass > | nondigitsCreate () |
|
std::unique_ptr< CharacterClass > | nonspacesCreate () |
|
std::unique_ptr< CharacterClass > | nonwordcharCreate () |
|
std::unique_ptr< CharacterClass > | nonwordUnicodeIgnoreCaseCharCreate () |
|
const UChar32 * | canonicalCharacterSetInfo (unsigned index, CanonicalMode canonicalMode) |
|
const CanonicalizationRange * | canonicalRangeInfoFor (UChar32 ch, CanonicalMode canonicalMode=CanonicalMode::UCS2) |
|
UChar32 | getCanonicalPair (const CanonicalizationRange *info, UChar32 ch) |
|
bool | isCanonicallyUnique (UChar32 ch, CanonicalMode canonicalMode=CanonicalMode::UCS2) |
|
bool | areCanonicallyEquivalent (UChar32 a, UChar32 b, CanonicalMode canonicalMode=CanonicalMode::UCS2) |
|
std::unique_ptr< BytecodePattern > | byteCompile (YarrPattern &pattern, BumpPointerAllocator *allocator, ConcurrentJSLock *lock) |
|
unsigned | interpret (BytecodePattern *bytecode, const String &input, unsigned start, unsigned *output) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoPatternCharacter)==(YarrStackSpaceForBackTrackInfoPatternCharacter *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoPatternCharacter) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoCharacterClass)==(YarrStackSpaceForBackTrackInfoCharacterClass *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoCharacterClass) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoBackReference)==(YarrStackSpaceForBackTrackInfoBackReference *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoBackReference) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoAlternative)==(YarrStackSpaceForBackTrackInfoAlternative *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoAlternative) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoParentheticalAssertion)==(YarrStackSpaceForBackTrackInfoParentheticalAssertion *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoParentheticalAssertion) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoParenthesesOnce)==(YarrStackSpaceForBackTrackInfoParenthesesOnce *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoParenthesesOnce) |
|
| COMPILE_ASSERT (sizeof(Interpreter< UChar >::BackTrackInfoParentheses)==(YarrStackSpaceForBackTrackInfoParentheses *sizeof(uintptr_t)), CheckYarrStackSpaceForBackTrackInfoParentheses) |
|
const char * | checkSyntax (const String &pattern, const String &flags) |
|
|
const UChar32 | unicodeCharacterSet0 [] = { 0x004b, 0x006b, 0x212a, 0 } |
|
const UChar32 | unicodeCharacterSet1 [] = { 0x0053, 0x0073, 0x017f, 0 } |
|
const UChar32 | unicodeCharacterSet2 [] = { 0x00c5, 0x00e5, 0x212b, 0 } |
|
const UChar32 | unicodeCharacterSet3 [] = { 0x01c4, 0x01c5, 0x01c6, 0 } |
|
const UChar32 | unicodeCharacterSet4 [] = { 0x01c7, 0x01c8, 0x01c9, 0 } |
|
const UChar32 | unicodeCharacterSet5 [] = { 0x01ca, 0x01cb, 0x01cc, 0 } |
|
const UChar32 | unicodeCharacterSet6 [] = { 0x01f1, 0x01f2, 0x01f3, 0 } |
|
const UChar32 | unicodeCharacterSet7 [] = { 0x0392, 0x03b2, 0x03d0, 0 } |
|
const UChar32 | unicodeCharacterSet8 [] = { 0x0395, 0x03b5, 0x03f5, 0 } |
|
const UChar32 | unicodeCharacterSet9 [] = { 0x0398, 0x03b8, 0x03d1, 0x03f4, 0 } |
|
const UChar32 | unicodeCharacterSet10 [] = { 0x0345, 0x0399, 0x03b9, 0x1fbe, 0 } |
|
const UChar32 | unicodeCharacterSet11 [] = { 0x039a, 0x03ba, 0x03f0, 0 } |
|
const UChar32 | unicodeCharacterSet12 [] = { 0x00b5, 0x039c, 0x03bc, 0 } |
|
const UChar32 | unicodeCharacterSet13 [] = { 0x03a0, 0x03c0, 0x03d6, 0 } |
|
const UChar32 | unicodeCharacterSet14 [] = { 0x03a1, 0x03c1, 0x03f1, 0 } |
|
const UChar32 | unicodeCharacterSet15 [] = { 0x03a3, 0x03c2, 0x03c3, 0 } |
|
const UChar32 | unicodeCharacterSet16 [] = { 0x03a6, 0x03c6, 0x03d5, 0 } |
|
const UChar32 | unicodeCharacterSet17 [] = { 0x03a9, 0x03c9, 0x2126, 0 } |
|
const UChar32 | unicodeCharacterSet18 [] = { 0x1e60, 0x1e61, 0x1e9b, 0 } |
|
const UChar32 *const | unicodeCharacterSetInfo [UNICODE_CANONICALIZATION_SETS] |
|
const size_t | UNICODE_CANONICALIZATION_RANGES = 452 |
|
const CanonicalizationRange | unicodeRangeInfo [UNICODE_CANONICALIZATION_RANGES] |
|
const size_t | UCS2_CANONICALIZATION_RANGES = 391 |
|
const UChar32 *const | ucs2CharacterSetInfo [] |
|
const CanonicalizationRange | ucs2RangeInfo [] |
|
const UChar32 | ucs2CharacterSet0 [] = { 0x01c4, 0x01c5, 0x01c6, 0 } |
|
const UChar32 | ucs2CharacterSet1 [] = { 0x01c7, 0x01c8, 0x01c9, 0 } |
|
const UChar32 | ucs2CharacterSet2 [] = { 0x01ca, 0x01cb, 0x01cc, 0 } |
|
const UChar32 | ucs2CharacterSet3 [] = { 0x01f1, 0x01f2, 0x01f3, 0 } |
|
const UChar32 | ucs2CharacterSet4 [] = { 0x0392, 0x03b2, 0x03d0, 0 } |
|
const UChar32 | ucs2CharacterSet5 [] = { 0x0395, 0x03b5, 0x03f5, 0 } |
|
const UChar32 | ucs2CharacterSet6 [] = { 0x0398, 0x03b8, 0x03d1, 0 } |
|
const UChar32 | ucs2CharacterSet7 [] = { 0x0345, 0x0399, 0x03b9, 0x1fbe, 0 } |
|
const UChar32 | ucs2CharacterSet8 [] = { 0x039a, 0x03ba, 0x03f0, 0 } |
|
const UChar32 | ucs2CharacterSet9 [] = { 0x00b5, 0x039c, 0x03bc, 0 } |
|
const UChar32 | ucs2CharacterSet10 [] = { 0x03a0, 0x03c0, 0x03d6, 0 } |
|
const UChar32 | ucs2CharacterSet11 [] = { 0x03a1, 0x03c1, 0x03f1, 0 } |
|
const UChar32 | ucs2CharacterSet12 [] = { 0x03a3, 0x03c2, 0x03c3, 0 } |
|
const UChar32 | ucs2CharacterSet13 [] = { 0x03a6, 0x03c6, 0x03d5, 0 } |
|
const UChar32 | ucs2CharacterSet14 [] = { 0x1e60, 0x1e61, 0x1e9b, 0 } |
|