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
RegExpDisjunction Class Reference

#include <ast.h>

Inheritance diagram for RegExpDisjunction:
Collaboration diagram for RegExpDisjunction:

Public Member Functions

 RegExpDisjunction (ZoneList< RegExpTree * > *alternatives)
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpDisjunctionAsDisjunction ()
 
virtual Interval CaptureRegisters ()
 
virtual bool IsDisjunction ()
 
virtual bool IsAnchoredAtStart ()
 
virtual bool IsAnchoredAtEnd ()
 
virtual int min_match ()
 
virtual int max_match ()
 
ZoneList< RegExpTree * > * alternatives ()
 
- Public Member Functions inherited from RegExpTree
virtual ~RegExpTree ()
 
virtual bool IsTextElement ()
 
virtual void AppendToText (RegExpText *text, Zone *zone)
 
SmartArrayPointer< const char > ToString (Zone *zone)
 
- 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 RegExpTree
static const int kInfinity = kMaxInt
 

Detailed Description

Definition at line 2229 of file ast.h.

Constructor & Destructor Documentation

Member Function Documentation

virtual void* Accept ( RegExpVisitor *  visitor,
void *  data 
)
virtual

Implements RegExpTree.

ZoneList<RegExpTree*>* alternatives ( )
inline

Definition at line 2242 of file ast.h.

Referenced by RegExpDisjunction::ToNode().

virtual RegExpDisjunction* AsDisjunction ( )
virtual
Interval CaptureRegisters ( )
virtual

Reimplemented from RegExpTree.

Definition at line 698 of file ast.cc.

bool IsAnchoredAtEnd ( )
virtual

Reimplemented from RegExpTree.

Definition at line 761 of file ast.cc.

References List< T, ZoneAllocationPolicy >::at().

bool IsAnchoredAtStart ( )
virtual

Reimplemented from RegExpTree.

Definition at line 751 of file ast.cc.

References List< T, ZoneAllocationPolicy >::at().

virtual bool IsDisjunction ( )
virtual
virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2241 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2240 of file ast.h.

RegExpNode * ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

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