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

#include <ast.h>

Inheritance diagram for RegExpAtom:
Collaboration diagram for RegExpAtom:

Public Member Functions

 RegExpAtom (Vector< const uc16 > data)
 
virtual void * Accept (RegExpVisitor *visitor, void *data)
 
virtual RegExpNodeToNode (RegExpCompiler *compiler, RegExpNode *on_success)
 
virtual RegExpAtomAsAtom ()
 
virtual bool IsAtom ()
 
virtual bool IsTextElement ()
 
virtual int min_match ()
 
virtual int max_match ()
 
virtual void AppendToText (RegExpText *text, Zone *zone)
 
Vector< const uc16data ()
 
int length ()
 
- 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 2281 of file ast.h.

Constructor & Destructor Documentation

RegExpAtom ( Vector< const uc16 data)
inlineexplicit

Definition at line 2283 of file ast.h.

Member Function Documentation

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

Implements RegExpTree.

void AppendToText ( RegExpText text,
Zone zone 
)
virtual

Reimplemented from RegExpTree.

Definition at line 980 of file jsregexp.cc.

References RegExpText::AddElement(), and TextElement::Atom().

virtual RegExpAtom* AsAtom ( )
virtual
virtual bool IsAtom ( )
virtual
virtual bool IsTextElement ( )
inlinevirtual

Reimplemented from RegExpTree.

Definition at line 2289 of file ast.h.

int length ( )
inline

Definition at line 2294 of file ast.h.

Referenced by TextNode::FillInBMInfo().

virtual int max_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2291 of file ast.h.

virtual int min_match ( )
inlinevirtual

Implements RegExpTree.

Definition at line 2290 of file ast.h.

RegExpNode * ToNode ( RegExpCompiler compiler,
RegExpNode on_success 
)
virtual

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