![]() |
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 } |
Public Types inherited from v8::internal::AstNode | |
| 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 |
Public Member Functions inherited from v8::internal::AstNode | |
| NodeType | node_type () const |
| int | position () const |
| IterationStatement * | AsIterationStatement () |
| MaterializedLiteral * | AsMaterializedLiteral () |
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 |
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 | |
Protected Types inherited from v8::internal::AstNode | |
| template<class T , int size> | |
| using | NextBitField = NodeTypeField::Next<T, size> |
Protected Member Functions inherited from v8::internal::JumpStatement | |
| JumpStatement (int pos, NodeType type) | |
Protected Member Functions inherited from v8::internal::Statement | |
| Statement (int position, NodeType type) | |
Protected Member Functions inherited from v8::internal::AstNode | |
| AstNode (int position, NodeType type) | |
Protected Attributes inherited from v8::internal::AstNode | |
| uint32_t | bit_field_ |
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
staticconstexpr |