v8
3.14.5(node0.10.28)
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 963 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 2161 of file ast.h.
Referenced by RegExpDisjunction::ToNode().
|
virtual |
|
virtual |
Reimplemented from RegExpTree.
|
virtual |
Reimplemented from RegExpTree.
Definition at line 766 of file ast.cc.
References List< T, ZoneAllocationPolicy >::at().
|
virtual |
Reimplemented from RegExpTree.
Definition at line 756 of file ast.cc.
References List< T, ZoneAllocationPolicy >::at().
|
virtual |
|
inlinevirtual |
Implements RegExpTree.
|
inlinevirtual |
Implements RegExpTree.
|
virtual |
Implements RegExpTree.
Definition at line 4841 of file jsregexp.cc.
References ChoiceNode::AddAlternative(), RegExpDisjunction::alternatives(), List< T, ZoneAllocationPolicy >::at(), and RegExpCompiler::zone().