v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TryStatement Class Reference

#include <ast.h>

Inheritance diagram for TryStatement:
Collaboration diagram for TryStatement:

Public Member Functions

void set_escaping_targets (ZoneList< Label * > *targets)
 
int index () const
 
Blocktry_block () const
 
ZoneList< Label * > * escaping_targets () const
 
- Public Member Functions inherited from Statement
 Statement (Zone *zone, int position)
 
bool IsEmpty ()
 
virtual bool IsJump () const
 
- Public Member Functions inherited from AstNode
void * operator new (size_t size, Zone *zone)
 
 AstNode (int position)
 
virtual ~AstNode ()
 
virtual void Accept (AstVisitor *v)=0
 
virtual NodeType node_type () const =0
 
int position () const
 
virtual TargetCollector * AsTargetCollector ()
 
virtual BreakableStatementAsBreakableStatement ()
 
virtual IterationStatementAsIterationStatement ()
 
virtual MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Protected Member Functions

 TryStatement (Zone *zone, int index, Block *try_block, int pos)
 

Additional Inherited Members

- Public Types inherited from AstNode
enum  NodeType { kInvalid = -1 }
 
- Static Protected Member Functions inherited from AstNode
static int GetNextId (Zone *zone)
 
static int ReserveIdRange (Zone *zone, int n)
 
static TypeFeedbackId reuse (BailoutId id)
 

Detailed Description

Definition at line 1255 of file ast.h.

Constructor & Destructor Documentation

TryStatement ( Zone zone,
int  index,
Block try_block,
int  pos 
)
inlineprotected

Definition at line 1266 of file ast.h.

Member Function Documentation

ZoneList<Label*>* escaping_targets ( ) const
inline

Definition at line 1263 of file ast.h.

int index ( ) const
inline

Definition at line 1261 of file ast.h.

void set_escaping_targets ( ZoneList< Label * > *  targets)
inline

Definition at line 1257 of file ast.h.

Block* try_block ( ) const
inline

Definition at line 1262 of file ast.h.


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