v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <parser.h>
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) |
RegExpTree * | ToRegExp () |
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) |
|
explicit |
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 | ||
) |
Definition at line 202 of file parser.cc.
References ASSERT, LAST, Vector< T >::length(), RegExpTree::max_match(), v8::internal::NULL, Vector< T >::SubVector(), List< T, P >::ToConstVector(), and UNREACHABLE.
Referenced by RegExpParser::ParseDisjunction().
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().