v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EndNode Class Reference

#include <jsregexp.h>

Inheritance diagram for EndNode:
Collaboration diagram for EndNode:

Public Types

enum  Action { ACCEPT, BACKTRACK, NEGATIVE_SUBMATCH_SUCCESS }
 

Public Member Functions

 EndNode (Action action, Zone *zone)
 
virtual void Accept (NodeVisitor *visitor)
 
virtual void Emit (RegExpCompiler *compiler, Trace *trace)
 
virtual int EatsAtLeast (int still_to_find, int recursion_depth, bool not_at_start)
 
virtual void GetQuickCheckDetails (QuickCheckDetails *details, RegExpCompiler *compiler, int characters_filled_in, bool not_at_start)
 
virtual void FillInBMInfo (int offset, int recursion_depth, int budget, BoyerMooreLookahead *bm, bool not_at_start)
 
- Public Member Functions inherited from RegExpNode
 RegExpNode (Zone *zone)
 
virtual ~RegExpNode ()
 
bool EmitQuickCheck (RegExpCompiler *compiler, Trace *trace, bool preload_has_checked_bounds, Label *on_possible_success, QuickCheckDetails *details_return, bool fall_through_on_failure)
 
virtual int GreedyLoopTextLength ()
 
virtual RegExpNodeGetSuccessorOfOmnivorousTextNode (RegExpCompiler *compiler)
 
virtual RegExpNodeFilterASCII (int depth)
 
RegExpNodereplacement ()
 
RegExpNodeset_replacement (RegExpNode *replacement)
 
void SaveBMInfo (BoyerMooreLookahead *bm, bool not_at_start, int offset)
 
Label * label ()
 
NodeInfoinfo ()
 
BoyerMooreLookaheadbm_info (bool not_at_start)
 
Zonezone () const
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Additional Inherited Members

- Static Public Attributes inherited from RegExpNode
static const int kNodeIsTooComplexForGreedyLoops = -1
 
static const int kFillInBMBudget = 200
 
static const int kMaxCopiesCodeGenerated = 10
 
- Protected Types inherited from RegExpNode
enum  LimitResult { DONE, CONTINUE }
 
- Protected Member Functions inherited from RegExpNode
LimitResult LimitVersions (RegExpCompiler *compiler, Trace *trace)
 
void set_bm_info (bool not_at_start, BoyerMooreLookahead *bm)
 
- Protected Attributes inherited from RegExpNode
RegExpNodereplacement_
 

Detailed Description

Definition at line 957 of file jsregexp.h.

Member Enumeration Documentation

enum Action
Enumerator
ACCEPT 
BACKTRACK 
NEGATIVE_SUBMATCH_SUCCESS 

Definition at line 959 of file jsregexp.h.

Constructor & Destructor Documentation

EndNode ( Action  action,
Zone zone 
)
inlineexplicit

Definition at line 960 of file jsregexp.h.

Member Function Documentation

virtual void Accept ( NodeVisitor visitor)
virtual

Implements RegExpNode.

virtual int EatsAtLeast ( int  still_to_find,
int  recursion_depth,
bool  not_at_start 
)
inlinevirtual

Implements RegExpNode.

Definition at line 964 of file jsregexp.h.

virtual void FillInBMInfo ( int  offset,
int  recursion_depth,
int  budget,
BoyerMooreLookahead bm,
bool  not_at_start 
)
inlinevirtual

Reimplemented from RegExpNode.

Definition at line 974 of file jsregexp.h.

References UNREACHABLE.

virtual void GetQuickCheckDetails ( QuickCheckDetails details,
RegExpCompiler compiler,
int  characters_filled_in,
bool  not_at_start 
)
inlinevirtual

Implements RegExpNode.

Definition at line 967 of file jsregexp.h.

References UNREACHABLE.


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