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

#include <ast.h>

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

Public Member Functions

 ConstDeclaration (SourcePosition pos, Identifier *name, TypeExpression *type, Expression *expression)
 
- Public Member Functions inherited from v8::internal::torque::Declaration
 Declaration (Kind kind, SourcePosition pos)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

Identifiername
 
TypeExpressiontype
 
Expressionexpression
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Additional Inherited Members

- Public Types inherited from v8::internal::torque::AstNode
enum class  Kind { ENUM_ITEM }
 

Detailed Description

Definition at line 1111 of file ast.h.

Constructor & Destructor Documentation

◆ ConstDeclaration()

v8::internal::torque::ConstDeclaration::ConstDeclaration ( SourcePosition pos,
Identifier * name,
TypeExpression * type,
Expression * expression )
inline

Definition at line 1113 of file ast.h.

Member Data Documentation

◆ expression

Expression* v8::internal::torque::ConstDeclaration::expression

Definition at line 1121 of file ast.h.

◆ name

Identifier* v8::internal::torque::ConstDeclaration::name

Definition at line 1119 of file ast.h.

◆ type

TypeExpression* v8::internal::torque::ConstDeclaration::type

Definition at line 1120 of file ast.h.


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