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
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 2399 of file ast.h.

Constructor & Destructor Documentation

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

Definition at line 2401 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 2419 of file ast.h.

Referenced by RegExpLookahead::ToNode().

int capture_count ( )
inline

Definition at line 2421 of file ast.h.

int capture_from ( )
inline

Definition at line 2422 of file ast.h.

Interval CaptureRegisters ( )
virtual

Reimplemented from RegExpTree.

Definition at line 708 of file ast.cc.

bool is_positive ( )
inline

Definition at line 2420 of file ast.h.

Referenced by RegExpLookahead::ToNode().

bool IsAnchoredAtStart ( )
virtual

Reimplemented from RegExpTree.

Definition at line 776 of file ast.cc.

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

Implements RegExpTree.

Definition at line 2418 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2417 of file ast.h.


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