v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::torque::NewExpression Struct Reference

#include <ast.h>

Inheritance diagram for v8::internal::torque::NewExpression:
Collaboration diagram for v8::internal::torque::NewExpression:

Public Member Functions

 NewExpression (SourcePosition pos, TypeExpression *type, std::vector< NameAndExpression > initializers, bool pretenured, bool clear_padding)
 
void VisitAllSubExpressions (VisitCallback callback) override
 
- Public Member Functions inherited from v8::internal::torque::Expression
 Expression (Kind kind, SourcePosition pos)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

TypeExpressiontype
 
std::vector< NameAndExpressioninitializers
 
bool pretenured
 
bool clear_padding
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Additional Inherited Members

- Public Types inherited from v8::internal::torque::Expression
using VisitCallback = std::function<void(Expression*)>
 
- Public Types inherited from v8::internal::torque::AstNode
enum class  Kind { ENUM_ITEM }
 

Detailed Description

Definition at line 599 of file ast.h.

Constructor & Destructor Documentation

◆ NewExpression()

v8::internal::torque::NewExpression::NewExpression ( SourcePosition pos,
TypeExpression * type,
std::vector< NameAndExpression > initializers,
bool pretenured,
bool clear_padding )
inline

Definition at line 601 of file ast.h.

Member Function Documentation

◆ VisitAllSubExpressions()

void v8::internal::torque::NewExpression::VisitAllSubExpressions ( VisitCallback callback)
inlineoverridevirtual

Reimplemented from v8::internal::torque::Expression.

Definition at line 610 of file ast.h.

Member Data Documentation

◆ clear_padding

bool v8::internal::torque::NewExpression::clear_padding

Definition at line 620 of file ast.h.

◆ initializers

std::vector<NameAndExpression> v8::internal::torque::NewExpression::initializers

Definition at line 618 of file ast.h.

◆ pretenured

bool v8::internal::torque::NewExpression::pretenured

Definition at line 619 of file ast.h.

◆ type

TypeExpression* v8::internal::torque::NewExpression::type

Definition at line 617 of file ast.h.


The documentation for this struct was generated from the following file: