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

Constructor & Destructor Documentation

RegExpText ( Zone zone)
inlineexplicit

Definition at line 2383 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 838 of file jsregexp.cc.

References RegExpText::AddElement(), and RegExpText::elements().

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

Definition at line 2397 of file ast.h.

Referenced by RegExpText::AppendToText(), and RegExpText::ToNode().

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

Reimplemented from RegExpTree.

Definition at line 2389 of file ast.h.

virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2391 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2390 of file ast.h.

RegExpNode * ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

Implements RegExpTree.

Definition at line 4586 of file jsregexp.cc.

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


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