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
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::Type 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 265 of file parser.h.

Constructor & Destructor Documentation

RegExpBuilder ( Zone zone)
explicit

Definition at line 89 of file parser.cc.

Member Function Documentation

void AddAssertion ( RegExpTree tree)

Definition at line 160 of file parser.cc.

References LAST.

Referenced by RegExpParser::ParseDisjunction().

void AddAtom ( RegExpTree tree)

Definition at line 144 of file parser.cc.

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

Referenced by RegExpParser::ParseDisjunction().

void AddCharacter ( uc16  character)

Definition at line 129 of file parser.cc.

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

Referenced by RegExpParser::ParseDisjunction().

void AddEmpty ( )

Definition at line 139 of file parser.cc.

Referenced by RegExpBuilder::AddAtom(), and RegExpParser::ParseDisjunction().

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

Definition at line 167 of file parser.cc.

Referenced by RegExpParser::ParseDisjunction().

RegExpTree * ToRegExp ( )

Definition at line 189 of file parser.cc.

References RegExpEmpty::GetInstance().

Referenced by RegExpParser::ParseDisjunction().


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