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

#include <ast.h>

Inheritance diagram for RegExpEmpty:
Collaboration diagram for RegExpEmpty:

Public Member Functions

 RegExpEmpty ()
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpEmptyAsEmpty ()
 
virtual bool IsEmpty ()
 
virtual int min_match ()
 
virtual int max_match ()
 
- Public Member Functions inherited from RegExpTree
virtual ~RegExpTree ()
 
virtual bool IsTextElement ()
 
virtual bool IsAnchoredAtStart ()
 
virtual bool IsAnchoredAtEnd ()
 
virtual Interval CaptureRegisters ()
 
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)
 

Static Public Member Functions

static RegExpEmptyGetInstance ()
 

Additional Inherited Members

- Static Public Attributes inherited from RegExpTree
static const int kInfinity = kMaxInt
 

Detailed Description

Definition at line 2450 of file ast.h.

Constructor & Destructor Documentation

RegExpEmpty ( )
inline

Definition at line 2452 of file ast.h.

Member Function Documentation

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

Implements RegExpTree.

virtual RegExpEmpty* AsEmpty ( )
virtual
static RegExpEmpty* GetInstance ( )
inlinestatic

Definition at line 2460 of file ast.h.

Referenced by RegExpBuilder::ToRegExp().

virtual bool IsEmpty ( )
virtual
virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2459 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2458 of file ast.h.

RegExpNode * ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

Implements RegExpTree.

Definition at line 5108 of file jsregexp.cc.


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