v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Types | |
enum | Type { START_OF_LINE, START_OF_INPUT, END_OF_LINE, END_OF_INPUT, BOUNDARY, NON_BOUNDARY } |
Public Member Functions | |
RegExpAssertion (Type type) | |
virtual void * | Accept (RegExpVisitor *visitor, void *data) |
virtual RegExpNode * | ToNode (RegExpCompiler *compiler, RegExpNode *on_success) |
virtual RegExpAssertion * | AsAssertion () |
virtual bool | IsAssertion () |
virtual bool | IsAnchoredAtStart () |
virtual bool | IsAnchoredAtEnd () |
virtual int | min_match () |
virtual int | max_match () |
Type | type () |
Public Member Functions inherited from RegExpTree | |
virtual | ~RegExpTree () |
virtual bool | IsTextElement () |
virtual Interval | CaptureRegisters () |
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 |
enum Type |
|
inlineexplicit |
|
virtual |
Implements RegExpTree.
|
virtual |
|
virtual |
Reimplemented from RegExpTree.
Definition at line 724 of file ast.cc.
References RegExpAssertion::END_OF_INPUT, and v8::internal::type().
|
virtual |
Reimplemented from RegExpTree.
Definition at line 719 of file ast.cc.
References RegExpAssertion::START_OF_INPUT, and v8::internal::type().
|
virtual |
|
inlinevirtual |
Implements RegExpTree.
|
inlinevirtual |
Implements RegExpTree.
|
virtual |
Implements RegExpTree.
Definition at line 4892 of file jsregexp.cc.
References ChoiceNode::AddAlternative(), CharacterRange::AddClassEscape(), AssertionNode::AfterNewline(), RegExpCompiler::AllocateRegister(), AssertionNode::AtBoundary(), AssertionNode::AtEnd(), AssertionNode::AtNonBoundary(), AssertionNode::AtStart(), ActionNode::BeginSubmatch(), RegExpAssertion::BOUNDARY, RegExpAssertion::END_OF_INPUT, RegExpAssertion::END_OF_LINE, RegExpAssertion::NON_BOUNDARY, ActionNode::PositiveSubmatchSuccess(), RegExpAssertion::START_OF_INPUT, RegExpAssertion::START_OF_LINE, RegExpAssertion::type(), UNREACHABLE, and RegExpCompiler::zone().
|
inline |
Definition at line 2291 of file ast.h.
References v8::internal::type_.
Referenced by RegExpAssertion::ToNode().