v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Member Functions | |
RegExpDisjunction (ZoneList< RegExpTree * > *alternatives) | |
virtual void * | Accept (RegExpVisitor *visitor, void *data) |
virtual RegExpNode * | ToNode (RegExpCompiler *compiler, RegExpNode *on_success) |
virtual RegExpDisjunction * | AsDisjunction () |
virtual Interval | CaptureRegisters () |
virtual bool | IsDisjunction () |
virtual bool | IsAnchoredAtStart () |
virtual bool | IsAnchoredAtEnd () |
virtual int | min_match () |
virtual int | max_match () |
ZoneList< RegExpTree * > * | alternatives () |
Public Member Functions inherited from RegExpTree | |
virtual | ~RegExpTree () |
virtual bool | IsTextElement () |
virtual void | AppendToText (RegExpText *text, Zone *zone) |
SmartArrayPointer< const char > | ToString (Zone *zone) |
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) |
Additional Inherited Members | |
Static Public Attributes inherited from RegExpTree | |
static const int | kInfinity = kMaxInt |
|
explicit |
Definition at line 958 of file ast.cc.
References ASSERT, List< T, ZoneAllocationPolicy >::at(), v8::internal::Max(), RegExpTree::max_match(), v8::internal::Min(), and RegExpTree::min_match().
|
virtual |
Implements RegExpTree.
|
inline |
Definition at line 2242 of file ast.h.
Referenced by RegExpDisjunction::ToNode().
|
virtual |
|
virtual |
Reimplemented from RegExpTree.
|
virtual |
Reimplemented from RegExpTree.
Definition at line 761 of file ast.cc.
References List< T, ZoneAllocationPolicy >::at().
|
virtual |
Reimplemented from RegExpTree.
Definition at line 751 of file ast.cc.
References List< T, ZoneAllocationPolicy >::at().
|
virtual |
|
inlinevirtual |
Implements RegExpTree.
|
inlinevirtual |
Implements RegExpTree.
|
virtual |
Implements RegExpTree.
Definition at line 4689 of file jsregexp.cc.
References ChoiceNode::AddAlternative(), RegExpDisjunction::alternatives(), List< T, ZoneAllocationPolicy >::at(), and RegExpCompiler::zone().