![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
| RegExpCompiler (int capture_count, bool ignore_case, bool is_ascii, Zone *zone) | |
| int | AllocateRegister () |
| RegExpEngine::CompilationResult | Assemble (RegExpMacroAssembler *assembler, RegExpNode *start, int capture_count, Handle< String > pattern) |
| void | AddWork (RegExpNode *node) |
| RegExpMacroAssembler * | macro_assembler () |
| EndNode * | accept () |
| int | recursion_depth () |
| void | IncrementRecursionDepth () |
| void | DecrementRecursionDepth () |
| void | SetRegExpTooBig () |
| bool | ignore_case () |
| bool | ascii () |
| FrequencyCollator * | frequency_collator () |
| int | current_expansion_factor () |
| void | set_current_expansion_factor (int value) |
| Zone * | zone () const |
Static Public Attributes | |
| static const int | kImplementationOffset = 0 |
| static const int | kNumberOfRegistersOffset = 0 |
| static const int | kCodeOffset = 1 |
| static const int | kMaxRecursion = 100 |
| static const int | kNoRegister = -1 |
Definition at line 1019 of file jsregexp.cc.
| RegExpCompiler | ( | int | capture_count, |
| bool | ignore_case, | ||
| bool | is_ascii, | ||
| Zone * | zone | ||
| ) |
Definition at line 1099 of file jsregexp.cc.
References EndNode::ACCEPT, ASSERT, RegExpMacroAssembler::kMaxRegister, and RegExpCompiler::zone().
|
inline |
Definition at line 1044 of file jsregexp.cc.
Referenced by RegExpEngine::Compile().
|
inline |
Definition at line 1037 of file jsregexp.cc.
Referenced by RegExpNode::LimitVersions().
|
inline |
Definition at line 1024 of file jsregexp.cc.
References RegExpMacroAssembler::kMaxRegister.
|
inline |
Definition at line 1054 of file jsregexp.cc.
Referenced by Trace::AdvanceCurrentPositionInTrace(), BoyerMooreLookahead::BoyerMooreLookahead(), TextNode::Emit(), ChoiceNode::Emit(), RegExpNode::EmitQuickCheck(), TextNode::GetQuickCheckDetails(), and TextNode::GetSuccessorOfOmnivorousTextNode().
| RegExpEngine::CompilationResult Assemble | ( | RegExpMacroAssembler * | assembler, |
| RegExpNode * | start, | ||
| int | capture_count, | ||
| Handle< String > | pattern | ||
| ) |
Definition at line 1115 of file jsregexp.cc.
References RegExpMacroAssembler::Bind(), Handle< T >::cast(), v8::internal::code(), RegExpNode::Emit(), RegExpMacroAssembler::Fail(), RegExpMacroAssembler::GetCode(), Isolate::GetCodeTracer(), Heap::IncreaseTotalRegexpCodeGenerated(), Zone::isolate(), Heap::isolate(), RegExpImpl::kRegExpExecutableMemoryLimit, RegExpImpl::kRegWxpCompiledLimit, RegExpCompiler::macro_assembler(), Isolate::memory_allocator(), v8::internal::NULL, RegExpMacroAssembler::PushBacktrack(), RegExpMacroAssembler::set_slow_safe(), MemoryAllocator::SizeExecutable(), and Heap::total_regexp_code_generated().
Referenced by RegExpEngine::Compile().
|
inline |
Definition at line 1057 of file jsregexp.cc.
|
inline |
Definition at line 1049 of file jsregexp.cc.
|
inline |
Definition at line 1055 of file jsregexp.cc.
Referenced by RegExpEngine::Compile().
|
inline |
Definition at line 1053 of file jsregexp.cc.
Referenced by TextNode::Emit(), BackReferenceNode::Emit(), TextNode::FillInBMInfo(), and TextNode::GetQuickCheckDetails().
|
inline |
Definition at line 1048 of file jsregexp.cc.
Referenced by RecursionCheck::RecursionCheck().
|
inline |
Definition at line 1043 of file jsregexp.cc.
Referenced by RegExpCompiler::Assemble(), ActionNode::Emit(), AssertionNode::Emit(), BackReferenceNode::Emit(), EndNode::Emit(), NegativeSubmatchSuccess::Emit(), ChoiceNode::Emit(), LoopChoiceNode::Emit(), RegExpNode::EmitQuickCheck(), Trace::Flush(), TextNode::GetQuickCheckDetails(), and RegExpNode::LimitVersions().
|
inline |
Definition at line 1047 of file jsregexp.cc.
Referenced by RegExpNode::LimitVersions().
|
inline |
Definition at line 1058 of file jsregexp.cc.
Referenced by RegExpExpansionLimiter::RegExpExpansionLimiter(), and RegExpExpansionLimiter::~RegExpExpansionLimiter().
|
inline |
Definition at line 1051 of file jsregexp.cc.
Referenced by Trace::AdvanceCurrentPositionInTrace(), and TextNode::Emit().
|
inline |
Definition at line 1062 of file jsregexp.cc.
Referenced by Trace::Flush(), and RegExpCompiler::RegExpCompiler().
|
static |
Definition at line 1041 of file jsregexp.cc.
|
static |
Definition at line 1039 of file jsregexp.cc.
|
static |
Definition at line 1046 of file jsregexp.cc.
Referenced by RegExpEngine::Compile(), ChoiceNode::GreedyLoopTextLengthForAlternative(), and RegExpNode::LimitVersions().
|
static |
Definition at line 1064 of file jsregexp.cc.
Referenced by ActionNode::Emit().
|
static |
Definition at line 1040 of file jsregexp.cc.