![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <regexp-ast.h>
Public Types | |
| enum class | Type { START_OF_LINE = 0 , START_OF_INPUT = 1 , END_OF_LINE = 2 , END_OF_INPUT = 3 , BOUNDARY = 4 , NON_BOUNDARY = 5 , LAST_ASSERTION_TYPE = NON_BOUNDARY } |
Public Member Functions | |
| RegExpAssertion (Type type) | |
| DECL_BOILERPLATE (Assertion) | |
| bool | IsAnchoredAtStart () override |
| bool | IsAnchoredAtEnd () override |
| int | min_match () override |
| int | max_match () override |
| Type | assertion_type () const |
Public Member Functions inherited from v8::internal::RegExpTree | |
| virtual | ~RegExpTree ()=default |
| virtual void * | Accept (RegExpVisitor *visitor, void *data)=0 |
| virtual RegExpNode * | ToNode (RegExpCompiler *compiler, RegExpNode *on_success)=0 |
| virtual bool | IsTextElement () |
| virtual Interval | CaptureRegisters () |
| virtual void | AppendToText (RegExpText *text, Zone *zone) |
| V8_EXPORT_PRIVATE std::ostream & | Print (std::ostream &os, Zone *zone) |
Public Member Functions inherited from v8::internal::ZoneObject | |
| void * | operator new (size_t, Zone *)=delete |
| void * | operator new (size_t size, void *ptr) |
| void | operator delete (void *, size_t) |
| void | operator delete (void *pointer, Zone *zone)=delete |
Private Attributes | |
| const Type | assertion_type_ |
Additional Inherited Members | |
Static Public Attributes inherited from v8::internal::RegExpTree | |
| static const int | kInfinity = kMaxInt |
Definition at line 259 of file regexp-ast.h.
|
strong |
| Enumerator | |
|---|---|
| START_OF_LINE | |
| START_OF_INPUT | |
| END_OF_LINE | |
| END_OF_INPUT | |
| BOUNDARY | |
| NON_BOUNDARY | |
| LAST_ASSERTION_TYPE | |
Definition at line 261 of file regexp-ast.h.
|
inlineexplicit |
Definition at line 270 of file regexp-ast.h.
|
inline |
| v8::internal::RegExpAssertion::DECL_BOILERPLATE | ( | Assertion | ) |
|
overridevirtual |
Reimplemented from v8::internal::RegExpTree.
Definition at line 74 of file regexp-ast.cc.
|
overridevirtual |
Reimplemented from v8::internal::RegExpTree.
Definition at line 69 of file regexp-ast.cc.
|
inlineoverridevirtual |
Implements v8::internal::RegExpTree.
Definition at line 277 of file regexp-ast.h.
|
inlineoverridevirtual |
Implements v8::internal::RegExpTree.
Definition at line 276 of file regexp-ast.h.
|
private |
Definition at line 281 of file regexp-ast.h.