V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::RegExpImpl Class Reference

Classes

class  GlobalCache
 

Public Types

enum  IrregexpResult { RE_FAILURE = 0, RE_SUCCESS = 1, RE_EXCEPTION = -1 }
 

Static Public Member Functions

static bool UsesNativeRegExp ()
 
static Handle< StringToString (Handle< Object > value)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectCompile (Isolate *isolate, Handle< JSRegExp > re, Handle< String > pattern, JSRegExp::Flags flags)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectExec (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject, int index, Handle< RegExpMatchInfo > last_match_info)
 
static void IrregexpInitialize (Isolate *isolate, Handle< JSRegExp > re, Handle< String > pattern, JSRegExp::Flags flags, int capture_register_count)
 
static void AtomCompile (Isolate *isolate, Handle< JSRegExp > re, Handle< String > pattern, JSRegExp::Flags flags, Handle< String > match_pattern)
 
static int AtomExecRaw (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject, int index, int32_t *output, int output_size)
 
static Handle< ObjectAtomExec (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject, int index, Handle< RegExpMatchInfo > last_match_info)
 
static int IrregexpPrepare (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject)
 
static int IrregexpExecRaw (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject, int index, int32_t *output, int output_size)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectIrregexpExec (Isolate *isolate, Handle< JSRegExp > regexp, Handle< String > subject, int index, Handle< RegExpMatchInfo > last_match_info)
 
static Handle< RegExpMatchInfoSetLastMatchInfo (Isolate *isolate, Handle< RegExpMatchInfo > last_match_info, Handle< String > subject, int capture_count, int32_t *match)
 
static int IrregexpMaxRegisterCount (FixedArray re)
 
static void SetIrregexpMaxRegisterCount (FixedArray re, int value)
 
static void SetIrregexpCaptureNameMap (FixedArray re, Handle< FixedArray > value)
 
static int IrregexpNumberOfCaptures (FixedArray re)
 
static int IrregexpNumberOfRegisters (FixedArray re)
 
static ByteArray IrregexpByteCode (FixedArray re, bool is_one_byte)
 
static Code IrregexpNativeCode (FixedArray re, bool is_one_byte)
 

Static Public Attributes

static const size_t kRegExpExecutableMemoryLimit = 16 * MB
 
static const size_t kRegExpCompiledLimit = 1 * MB
 
static const int kRegExpTooLargeToOptimize = 20 * KB
 

Detailed Description

Definition at line 54 of file jsregexp.h.


The documentation for this class was generated from the following files: