![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <ast.h>
Public Types | |
enum | Type { kNormal , kAsyncReturn , kSyntheticAsyncReturn } |
![]() | |
enum | NodeType : uint8_t |
Public Member Functions | |
Expression * | expression () const |
Type | type () const |
bool | is_async_return () const |
bool | is_synthetic_async_return () const |
int | end_position () const |
![]() | |
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 Attributes | |
static constexpr int | kFunctionLiteralReturnPosition = -2 |
Private Types | |
using | TypeField = JumpStatement::NextBitField<Type, 2> |
Private Member Functions | |
ReturnStatement (Expression *expression, Type type, int pos, int end_position) | |
Private Attributes | |
friend | Zone |
Expression * | expression_ |
int | end_position_ |
Friends | |
class | AstNodeFactory |
Additional Inherited Members | |
![]() | |
template<class T , int size> | |
using | NextBitField = NodeTypeField::Next<T, size> |
![]() | |
JumpStatement (int pos, NodeType type) | |
![]() | |
Statement (int position, NodeType type) | |
![]() | |
AstNode (int position, NodeType type) | |
![]() | |
uint32_t | bit_field_ |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
staticconstexpr |