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

#include <ast.h>

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

Public Types

enum class  AssertKind { kDcheck , kCheck , kSbxCheck , kStaticAssert }
 
- Public Types inherited from v8::internal::torque::AstNode
enum class  Kind { ENUM_ITEM }
 

Public Member Functions

 AssertStatement (SourcePosition pos, AssertKind kind, Expression *expression, std::string source)
 
- Public Member Functions inherited from v8::internal::torque::Statement
 Statement (Kind kind, SourcePosition pos)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

AssertKind kind
 
Expressionexpression
 
std::string source
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Detailed Description

Definition at line 740 of file ast.h.

Member Enumeration Documentation

◆ AssertKind

Enumerator
kDcheck 
kCheck 
kSbxCheck 
kStaticAssert 

Definition at line 742 of file ast.h.

Constructor & Destructor Documentation

◆ AssertStatement()

v8::internal::torque::AssertStatement::AssertStatement ( SourcePosition pos,
AssertKind kind,
Expression * expression,
std::string source )
inline

Definition at line 743 of file ast.h.

Member Data Documentation

◆ expression

Expression* v8::internal::torque::AssertStatement::expression

Definition at line 750 of file ast.h.

◆ kind

AssertKind v8::internal::torque::AssertStatement::kind

Definition at line 749 of file ast.h.

◆ source

std::string v8::internal::torque::AssertStatement::source

Definition at line 751 of file ast.h.


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