![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <ast.h>
Public Types | |
enum | VisitMode { ENUMERATE , ITERATE } |
![]() | |
enum | NodeType : uint8_t |
Public Member Functions | |
void | Initialize (Expression *each, Expression *subject, Statement *body, Scope *subject_scope) |
Expression * | each () const |
Expression * | subject () const |
Scope * | subject_scope () const |
void | Initialize (Statement *body) |
![]() | |
Statement * | body () const |
void | set_body (Statement *s) |
![]() | |
NodeType | node_type () const |
int | position () const |
IterationStatement * | AsIterationStatement () |
MaterializedLiteral * | AsMaterializedLiteral () |
![]() | |
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 |
Static Public Member Functions | |
static const char * | VisitModeString (VisitMode mode) |
Protected Member Functions | |
ForEachStatement (int pos, NodeType type) | |
![]() | |
IterationStatement (int pos, NodeType type) | |
void | Initialize (Statement *body) |
![]() | |
BreakableStatement (int position, NodeType type) | |
![]() | |
Statement (int position, NodeType type) | |
![]() | |
AstNode (int position, NodeType type) | |
Protected Attributes | |
friend | Zone |
Expression * | each_ |
Expression * | subject_ |
Scope * | subject_scope_ |
![]() | |
uint32_t | bit_field_ |
Friends | |
class | AstNodeFactory |
Additional Inherited Members | |
![]() | |
template<class T , int size> | |
using | NextBitField = NodeTypeField::Next<T, size> |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
friend |
|
protected |
|
protected |
|
protected |