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

#include <ast.h>

Inheritance diagram for v8::internal::SwitchStatement:
Collaboration diagram for v8::internal::SwitchStatement:

Public Member Functions

Expressiontag () const
 
void set_tag (Expression *t)
 
ZonePtrList< CaseClause > * cases ()
 
- 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

 SwitchStatement (Zone *zone, Expression *tag, int pos)
 

Private Attributes

friend Zone
 
Expressiontag_
 
ZonePtrList< CaseClausecases_
 

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::BreakableStatement
 BreakableStatement (int position, 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 733 of file ast.h.

Constructor & Destructor Documentation

◆ SwitchStatement()

v8::internal::SwitchStatement::SwitchStatement ( Zone * zone,
Expression * tag,
int pos )
inlineprivate

Definition at line 744 of file ast.h.

Member Function Documentation

◆ cases()

ZonePtrList< CaseClause > * v8::internal::SwitchStatement::cases ( )
inline

Definition at line 738 of file ast.h.

Here is the caller graph for this function:

◆ set_tag()

void v8::internal::SwitchStatement::set_tag ( Expression * t)
inline

Definition at line 736 of file ast.h.

Here is the caller graph for this function:

◆ tag()

Expression * v8::internal::SwitchStatement::tag ( ) const
inline

Definition at line 735 of file ast.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 741 of file ast.h.

Member Data Documentation

◆ cases_

ZonePtrList<CaseClause> v8::internal::SwitchStatement::cases_
private

Definition at line 748 of file ast.h.

◆ tag_

Expression* v8::internal::SwitchStatement::tag_
private

Definition at line 747 of file ast.h.

◆ Zone

friend v8::internal::SwitchStatement::Zone
private

Definition at line 742 of file ast.h.


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