Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::ResolvedSwitchLabel Class Reference

#include <bond/compiler/parsenodes.h>

Inheritance diagram for Bond::ResolvedSwitchLabel:
Bond::ListParseNode Bond::ParseNode

Public Member Functions

 ResolvedSwitchLabel ()
 
virtual void Accept (ParseNodeVisitor &visitor) override
 
virtual void Accept (ParseNodeVisitor &visitor) const override
 
virtual const TokenGetContextToken () const override
 
int32_t GetMatch () const
 
void SetMatch (int32_t match)
 
size_t GetJumpTargetId () const
 
void SetJumpTargetId (size_t targetId)
 
bool IsDefault () const
 
void SetIsDefault (bool isDefault)
 
bool operator== (const ResolvedSwitchLabel &other) const
 
- Public Member Functions inherited from Bond::ListParseNode
virtual ~ListParseNode ()
 
ListParseNodeGetNextNode ()
 
const ListParseNodeGetNextNode () const
 
void SetNextNode (ListParseNode *next)
 
- Public Member Functions inherited from Bond::ParseNode
virtual ~ParseNode ()
 
virtual void Accept (ParseNodeVisitor &visitor)=0
 
virtual void Accept (ParseNodeVisitor &visitor) const =0
 
virtual const TokenGetContextToken () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from Bond::ListParseNode
 ListParseNode ()
 
- Protected Member Functions inherited from Bond::ParseNode
 ParseNode ()
 

Constructor & Destructor Documentation

◆ ResolvedSwitchLabel()

Bond::ResolvedSwitchLabel::ResolvedSwitchLabel ( )
inline

Member Function Documentation

◆ Accept() [1/2]

virtual void Bond::ResolvedSwitchLabel::Accept ( ParseNodeVisitor visitor) const
inlineoverridevirtual

Implements Bond::ParseNode.

◆ Accept() [2/2]

virtual void Bond::ResolvedSwitchLabel::Accept ( ParseNodeVisitor visitor)
inlineoverridevirtual

Implements Bond::ParseNode.

◆ GetContextToken()

virtual const Token * Bond::ResolvedSwitchLabel::GetContextToken ( ) const
inlineoverridevirtual

Implements Bond::ParseNode.

◆ GetJumpTargetId()

size_t Bond::ResolvedSwitchLabel::GetJumpTargetId ( ) const
inline

◆ GetMatch()

int32_t Bond::ResolvedSwitchLabel::GetMatch ( ) const
inline

◆ IsDefault()

bool Bond::ResolvedSwitchLabel::IsDefault ( ) const
inline

◆ operator==()

bool Bond::ResolvedSwitchLabel::operator== ( const ResolvedSwitchLabel other) const
inline

◆ SetIsDefault()

void Bond::ResolvedSwitchLabel::SetIsDefault ( bool  isDefault)
inline

◆ SetJumpTargetId()

void Bond::ResolvedSwitchLabel::SetJumpTargetId ( size_t  targetId)
inline

◆ SetMatch()

void Bond::ResolvedSwitchLabel::SetMatch ( int32_t  match)
inline

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