v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::TryCatchStatement Class Referencefinal

#include <ast.h>

Inheritance diagram for v8::internal::TryCatchStatement:
Collaboration diagram for v8::internal::TryCatchStatement:

Public Member Functions

Scopescope ()
 
Blockcatch_block () const
 
void set_catch_block (Block *b)
 
HandlerTable::CatchPrediction GetCatchPrediction (HandlerTable::CatchPrediction outer_catch_prediction) const
 
bool ShouldClearException (HandlerTable::CatchPrediction outer_catch_prediction) const
 
bool is_try_catch_for_async ()
 
- Public Member Functions inherited from v8::internal::TryStatement
Blocktry_block () const
 
void set_try_block (Block *b)
 
- Public Member Functions inherited from v8::internal::AstNode
NodeType node_type () const
 
int position () const
 
IterationStatementAsIterationStatement ()
 
MaterializedLiteralAsMaterializedLiteral ()
 
- 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
 

Private Member Functions

 TryCatchStatement (Block *try_block, Scope *scope, Block *catch_block, HandlerTable::CatchPrediction catch_prediction, int pos)
 

Private Attributes

friend Zone
 
Scopescope_
 
Blockcatch_block_
 
HandlerTable::CatchPrediction catch_prediction_
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 
- 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::TryStatement
 TryStatement (Block *try_block, 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_
 

Detailed Description

Definition at line 800 of file ast.h.

Constructor & Destructor Documentation

◆ TryCatchStatement()

v8::internal::TryCatchStatement::TryCatchStatement ( Block * try_block,
Scope * scope,
Block * catch_block,
HandlerTable::CatchPrediction catch_prediction,
int pos )
inlineprivate

Definition at line 871 of file ast.h.

Member Function Documentation

◆ catch_block()

Block * v8::internal::TryCatchStatement::catch_block ( ) const
inline

Definition at line 803 of file ast.h.

◆ GetCatchPrediction()

HandlerTable::CatchPrediction v8::internal::TryCatchStatement::GetCatchPrediction ( HandlerTable::CatchPrediction outer_catch_prediction) const
inline

Definition at line 822 of file ast.h.

◆ is_try_catch_for_async()

bool v8::internal::TryCatchStatement::is_try_catch_for_async ( )
inline

Definition at line 863 of file ast.h.

Here is the caller graph for this function:

◆ scope()

Scope * v8::internal::TryCatchStatement::scope ( )
inline

Definition at line 802 of file ast.h.

◆ set_catch_block()

void v8::internal::TryCatchStatement::set_catch_block ( Block * b)
inline

Definition at line 804 of file ast.h.

◆ ShouldClearException()

bool v8::internal::TryCatchStatement::ShouldClearException ( HandlerTable::CatchPrediction outer_catch_prediction) const
inline

Definition at line 852 of file ast.h.

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 868 of file ast.h.

Member Data Documentation

◆ catch_block_

Block* v8::internal::TryCatchStatement::catch_block_
private

Definition at line 879 of file ast.h.

◆ catch_prediction_

HandlerTable::CatchPrediction v8::internal::TryCatchStatement::catch_prediction_
private

Definition at line 880 of file ast.h.

◆ scope_

Scope* v8::internal::TryCatchStatement::scope_
private

Definition at line 878 of file ast.h.

◆ Zone

friend v8::internal::TryCatchStatement::Zone
private

Definition at line 869 of file ast.h.


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