webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Friends | List of all members
JSC::LabelScope Class Reference

#include <LabelScope.h>

Public Types

enum  Type { Loop, Switch, NamedLabel }
 

Public Member Functions

 LabelScope (Type type, const Identifier *name, int scopeDepth, Ref< Label > &&breakTarget, RefPtr< Label > &&continueTarget)
 
int refCount () const
 
LabelbreakTarget () const
 
LabelcontinueTarget () const
 
Type type () const
 
const Identifiername () const
 
int scopeDepth () const
 

Friends

class LabelScopePtr
 

Member Enumeration Documentation

◆ Type

Enumerator
Loop 
Switch 
NamedLabel 

Constructor & Destructor Documentation

◆ LabelScope()

JSC::LabelScope::LabelScope ( Type  type,
const Identifier name,
int  scopeDepth,
Ref< Label > &&  breakTarget,
RefPtr< Label > &&  continueTarget 
)
inline

Member Function Documentation

◆ breakTarget()

Label& JSC::LabelScope::breakTarget ( ) const
inline

◆ continueTarget()

Label* JSC::LabelScope::continueTarget ( ) const
inline

◆ name()

const Identifier* JSC::LabelScope::name ( ) const
inline

◆ refCount()

int JSC::LabelScope::refCount ( void  ) const
inline

◆ scopeDepth()

int JSC::LabelScope::scopeDepth ( ) const
inline

◆ type()

Type JSC::LabelScope::type ( ) const
inline

Friends And Related Function Documentation

◆ LabelScopePtr

friend class LabelScopePtr
friend

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