v8
3.14.5(node0.10.28)
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 729 of file ast.cc.
References RegExpAssertion::END_OF_INPUT.
|
virtual |
Reimplemented from RegExpTree.
Definition at line 724 of file ast.cc.
References RegExpAssertion::START_OF_INPUT.
|
virtual |
|
inlinevirtual |
Implements RegExpTree.
|
inlinevirtual |
Implements RegExpTree.
|
virtual |
Implements RegExpTree.
Definition at line 5044 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 2210 of file ast.h.
Referenced by RegExpAssertion::ToNode().