|
V8 Project
|
#include <parser.h>
Inheritance diagram for v8::internal::RegExpBuilder:
Collaboration diagram for v8::internal::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) |
| RegExpTree * | ToRegExp () |
Public Member Functions inherited from v8::internal::ZoneObject | |
| INLINE (void *operator new(size_t size, Zone *zone)) | |
| void | operator delete (void *, size_t) |
| void | operator delete (void *pointer, Zone *zone) |
Private Member Functions | |
| void | FlushCharacters () |
| void | FlushText () |
| void | FlushTerms () |
| Zone * | zone () const |
Private Attributes | |
| Zone * | zone_ |
| bool | pending_empty_ |
| ZoneList< uc16 > * | characters_ |
| BufferedZoneList< RegExpTree, 2 > | terms_ |
| BufferedZoneList< RegExpTree, 2 > | text_ |
| BufferedZoneList< RegExpTree, 2 > | alternatives_ |
|
explicit |
Definition at line 26 of file parser.cc.
| void v8::internal::RegExpBuilder::AddAssertion | ( | RegExpTree * | tree | ) |
| void v8::internal::RegExpBuilder::AddAtom | ( | RegExpTree * | tree | ) |
Definition at line 81 of file parser.cc.
References AddEmpty(), FlushCharacters(), FlushText(), v8::internal::RegExpTree::IsTextElement(), LAST, terms_, text_, and zone().
Here is the call graph for this function:| void v8::internal::RegExpBuilder::AddCharacter | ( | uc16 | character | ) |
Definition at line 66 of file parser.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), characters_, LAST, NULL, pending_empty_, and zone().
Here is the call graph for this function:| void v8::internal::RegExpBuilder::AddEmpty | ( | ) |
Definition at line 76 of file parser.cc.
References pending_empty_.
Referenced by AddAtom().
Here is the caller graph for this function:| void v8::internal::RegExpBuilder::AddQuantifierToAtom | ( | int | min, |
| int | max, | ||
| RegExpQuantifier::QuantifierType | type | ||
| ) |
Definition at line 139 of file parser.cc.
References characters_, DCHECK, FlushText(), LAST, v8::internal::Vector< T >::length(), v8::internal::RegExpTree::max_match(), v8::internal::min(), NULL, pending_empty_, v8::internal::Vector< T >::SubVector(), terms_, text_, v8::internal::List< T, AllocationPolicy >::ToConstVector(), UNREACHABLE, and zone().
Here is the call graph for this function:
|
private |
Definition at line 38 of file parser.cc.
References characters_, LAST, NULL, pending_empty_, text_, v8::internal::List< T, AllocationPolicy >::ToConstVector(), and zone().
Referenced by AddAtom(), and FlushText().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 109 of file parser.cc.
References alternatives_, FlushText(), LAST, terms_, and zone().
Referenced by NewAlternative(), and ToRegExp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 49 of file parser.cc.
References FlushCharacters(), terms_, text_, and zone().
Referenced by AddAssertion(), AddAtom(), AddQuantifierToAtom(), and FlushTerms().
Here is the call graph for this function:
Here is the caller graph for this function:| void v8::internal::RegExpBuilder::NewAlternative | ( | ) |
Definition at line 104 of file parser.cc.
References FlushTerms().
Here is the call graph for this function:| RegExpTree * v8::internal::RegExpBuilder::ToRegExp | ( | ) |
Definition at line 126 of file parser.cc.
References alternatives_, FlushTerms(), and zone().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 198 of file parser.h.
References zone_.
Referenced by AddAssertion(), AddAtom(), AddCharacter(), AddQuantifierToAtom(), FlushCharacters(), FlushTerms(), FlushText(), and ToRegExp().
Here is the caller graph for this function:
|
private |
Definition at line 205 of file parser.h.
Referenced by FlushTerms(), and ToRegExp().
Definition at line 202 of file parser.h.
Referenced by AddCharacter(), AddQuantifierToAtom(), and FlushCharacters().
|
private |
Definition at line 201 of file parser.h.
Referenced by AddCharacter(), AddEmpty(), AddQuantifierToAtom(), and FlushCharacters().
|
private |
Definition at line 203 of file parser.h.
Referenced by AddAssertion(), AddAtom(), AddQuantifierToAtom(), FlushTerms(), and FlushText().
|
private |
Definition at line 204 of file parser.h.
Referenced by AddAtom(), AddQuantifierToAtom(), FlushCharacters(), and FlushText().
|
private |