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

#include <ast.h>

Inheritance diagram for v8::internal::CaseClause:
Collaboration diagram for v8::internal::CaseClause:

Public Member Functions

bool is_default () const
 
Expressionlabel () const
 
ZonePtrList< Statement > * statements ()
 
- 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

 CaseClause (Zone *zone, Expression *label, const ScopedPtrList< Statement > &statements)
 

Private Attributes

friend Zone
 
Expressionlabel_
 
ZonePtrList< Statementstatements_
 

Friends

class AstNodeFactory
 

Detailed Description

Definition at line 712 of file ast.h.

Constructor & Destructor Documentation

◆ CaseClause()

v8::internal::CaseClause::CaseClause ( Zone * zone,
Expression * label,
const ScopedPtrList< Statement > & statements )
private

Definition at line 1021 of file ast.cc.

Member Function Documentation

◆ is_default()

bool v8::internal::CaseClause::is_default ( ) const
inline

Definition at line 714 of file ast.h.

Here is the caller graph for this function:

◆ label()

Expression * v8::internal::CaseClause::label ( ) const
inline

Definition at line 715 of file ast.h.

Here is the call graph for this function:

◆ statements()

ZonePtrList< Statement > * v8::internal::CaseClause::statements ( )
inline

Definition at line 719 of file ast.h.

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 722 of file ast.h.

Member Data Documentation

◆ label_

Expression* v8::internal::CaseClause::label_
private

Definition at line 728 of file ast.h.

◆ statements_

ZonePtrList<Statement> v8::internal::CaseClause::statements_
private

Definition at line 729 of file ast.h.

◆ Zone

friend v8::internal::CaseClause::Zone
private

Definition at line 723 of file ast.h.


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