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

#include <ast.h>

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

Public Types

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

Public Member Functions

 TryHandler (SourcePosition pos, HandlerKind handler_kind, Identifier *label, const ParameterList &parameters, Statement *body)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

HandlerKind handler_kind
 
Identifierlabel
 
ParameterList parameters
 
Statementbody
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Detailed Description

Definition at line 815 of file ast.h.

Member Enumeration Documentation

◆ HandlerKind

Enumerator
kCatch 
kLabel 

Definition at line 817 of file ast.h.

Constructor & Destructor Documentation

◆ TryHandler()

v8::internal::torque::TryHandler::TryHandler ( SourcePosition pos,
HandlerKind handler_kind,
Identifier * label,
const ParameterList & parameters,
Statement * body )
inline

Definition at line 818 of file ast.h.

Member Data Documentation

◆ body

Statement* v8::internal::torque::TryHandler::body

Definition at line 828 of file ast.h.

◆ handler_kind

HandlerKind v8::internal::torque::TryHandler::handler_kind

Definition at line 825 of file ast.h.

◆ label

Identifier* v8::internal::torque::TryHandler::label

Definition at line 826 of file ast.h.

◆ parameters

ParameterList v8::internal::torque::TryHandler::parameters

Definition at line 827 of file ast.h.


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