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

#include <ast.h>

Inheritance diagram for RegExpText:
Collaboration diagram for RegExpText:

Public Member Functions

 RegExpText (Zone *zone)
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpTextAsText ()
 
virtual bool IsText ()
 
virtual bool IsTextElement ()
 
virtual int min_match ()
 
virtual int max_match ()
 
virtual void AppendToText (RegExpText *text, Zone *zone)
 
void AddElement (TextElement elm, Zone *zone)
 
ZoneList< TextElement > * elements ()
 
- Public Member Functions inherited from RegExpTree
virtual ~RegExpTree ()
 
virtual bool IsAnchoredAtStart ()
 
virtual bool IsAnchoredAtEnd ()
 
virtual Interval CaptureRegisters ()
 
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 2300 of file ast.h.

Constructor & Destructor Documentation

RegExpText ( Zone zone)
inlineexplicit

Definition at line 2302 of file ast.h.

Member Function Documentation

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

Implements RegExpTree.

void AddElement ( TextElement  elm,
Zone zone 
)
inline
void AppendToText ( RegExpText text,
Zone zone 
)
virtual

Reimplemented from RegExpTree.

Definition at line 990 of file jsregexp.cc.

References RegExpText::AddElement().

virtual RegExpText* AsText ( )
virtual
ZoneList<TextElement>* elements ( )
inline

Definition at line 2316 of file ast.h.

Referenced by RegExpText::ToNode().

virtual bool IsText ( )
virtual
virtual bool IsTextElement ( )
inlinevirtual

Reimplemented from RegExpTree.

Definition at line 2308 of file ast.h.

virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2310 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2309 of file ast.h.

RegExpNode * ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

Implements RegExpTree.

Definition at line 4738 of file jsregexp.cc.

References RegExpText::elements(), and RegExpCompiler::zone().


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