v8
3.25.30(node0.11.13)
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::QuantifierType 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 | ) |
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 | ||
) |
Definition at line 161 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.
RegExpTree * ToRegExp | ( | ) |