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

#include <ast.h>

Inheritance diagram for RegExpLookahead:
Collaboration diagram for RegExpLookahead:

Public Member Functions

 RegExpLookahead (RegExpTree *body, bool is_positive, int capture_count, int capture_from)
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpLookaheadAsLookahead ()
 
virtual Interval CaptureRegisters ()
 
virtual bool IsLookahead ()
 
virtual bool IsAnchoredAtStart ()
 
virtual int min_match ()
 
virtual int max_match ()
 
RegExpTreebody ()
 
bool is_positive ()
 
int capture_count ()
 
int capture_from ()
 
- Public Member Functions inherited from RegExpTree
virtual ~RegExpTree ()
 
virtual bool IsTextElement ()
 
virtual bool IsAnchoredAtEnd ()
 
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 2480 of file ast.h.

Constructor & Destructor Documentation

RegExpLookahead ( RegExpTree body,
bool  is_positive,
int  capture_count,
int  capture_from 
)
inline

Definition at line 2482 of file ast.h.

Member Function Documentation

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

Implements RegExpTree.

virtual RegExpLookahead* AsLookahead ( )
virtual
RegExpTree* body ( )
inline

Definition at line 2500 of file ast.h.

Referenced by RegExpLookahead::ToNode().

int capture_count ( )
inline

Definition at line 2502 of file ast.h.

int capture_from ( )
inline

Definition at line 2503 of file ast.h.

Interval CaptureRegisters ( )
virtual

Reimplemented from RegExpTree.

Definition at line 703 of file ast.cc.

bool is_positive ( )
inline

Definition at line 2501 of file ast.h.

Referenced by RegExpLookahead::ToNode().

bool IsAnchoredAtStart ( )
virtual

Reimplemented from RegExpTree.

Definition at line 771 of file ast.cc.

virtual bool IsLookahead ( )
virtual
virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2499 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2498 of file ast.h.


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