v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RegExpBuilder Class Reference

#include <parser.h>

Inheritance diagram for RegExpBuilder:
Collaboration diagram for RegExpBuilder:

Public Member Functions

 RegExpBuilder (Zone *zone)
 
void AddCharacter (uc16 character)
 
void AddEmpty ()
 
void AddAtom (RegExpTree *tree)
 
void AddAssertion (RegExpTree *tree)
 
void NewAlternative ()
 
void AddQuantifierToAtom (int min, int max, RegExpQuantifier::QuantifierType type)
 
RegExpTreeToRegExp ()
 
- 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)
 

Detailed Description

Definition at line 247 of file parser.h.

Constructor & Destructor Documentation

RegExpBuilder ( Zone zone)
explicit

Definition at line 48 of file parser.cc.

Member Function Documentation

void AddAssertion ( RegExpTree tree)

Definition at line 119 of file parser.cc.

References LAST.

void AddAtom ( RegExpTree tree)

Definition at line 103 of file parser.cc.

References RegExpBuilder::AddEmpty(), RegExpTree::IsTextElement(), and LAST.

void AddCharacter ( uc16  character)

Definition at line 88 of file parser.cc.

References List< T, P >::Add(), LAST, and v8::internal::NULL.

void AddEmpty ( )

Definition at line 98 of file parser.cc.

Referenced by RegExpBuilder::AddAtom().

void AddQuantifierToAtom ( int  min,
int  max,
RegExpQuantifier::QuantifierType  type 
)
void NewAlternative ( )

Definition at line 126 of file parser.cc.

RegExpTree * ToRegExp ( )

Definition at line 148 of file parser.cc.


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