clang  3.9.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clang::SwitchCase Class Reference

#include <Stmt.h>

Inheritance diagram for clang::SwitchCase:
[legend]
Collaboration diagram for clang::SwitchCase:
[legend]

Public Member Functions

const SwitchCasegetNextSwitchCase () const
 
SwitchCasegetNextSwitchCase ()
 
void setNextSwitchCase (SwitchCase *SC)
 
SourceLocation getKeywordLoc () const
 
void setKeywordLoc (SourceLocation L)
 
SourceLocation getColonLoc () const
 
void setColonLoc (SourceLocation L)
 
StmtgetSubStmt ()
 
const StmtgetSubStmt () const
 
SourceLocation getLocStart () const LLVM_READONLY
 
SourceLocation getLocEnd () const LLVM_READONLY
 

Static Public Member Functions

static bool classof (const Stmt *T)
 

Protected Member Functions

 SwitchCase (StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc)
 
 SwitchCase (StmtClass SC, EmptyShell)
 

Protected Attributes

SwitchCaseNextSwitchCase
 
SourceLocation KeywordLoc
 
SourceLocation ColonLoc
 

Detailed Description

Definition at line 648 of file Stmt.h.

Constructor & Destructor Documentation

clang::SwitchCase::SwitchCase ( StmtClass  SC,
SourceLocation  KWLoc,
SourceLocation  ColonLoc 
)
inlineprotected

Definition at line 656 of file Stmt.h.

clang::SwitchCase::SwitchCase ( StmtClass  SC,
EmptyShell   
)
inlineprotected

Definition at line 660 of file Stmt.h.

Member Function Documentation

static bool clang::SwitchCase::classof ( const Stmt T)
inlinestatic

Definition at line 683 of file Stmt.h.

SourceLocation clang::SwitchCase::getColonLoc ( ) const
inline

Definition at line 672 of file Stmt.h.

References ColonLoc.

SourceLocation clang::SwitchCase::getKeywordLoc ( ) const
inline

Definition at line 670 of file Stmt.h.

SourceLocation clang::SwitchCase::getLocEnd ( ) const
inline

Definition at line 780 of file Stmt.h.

SourceLocation clang::SwitchCase::getLocStart ( ) const
inline

Definition at line 680 of file Stmt.h.

Referenced by EvaluateSwitch().

const SwitchCase* clang::SwitchCase::getNextSwitchCase ( ) const
inline
SwitchCase* clang::SwitchCase::getNextSwitchCase ( )
inline

Definition at line 666 of file Stmt.h.

Stmt * SwitchCase::getSubStmt ( )

Definition at line 856 of file Stmt.cpp.

const Stmt* clang::SwitchCase::getSubStmt ( ) const
inline

Definition at line 676 of file Stmt.h.

void clang::SwitchCase::setColonLoc ( SourceLocation  L)
inline

Definition at line 673 of file Stmt.h.

References ColonLoc.

void clang::SwitchCase::setKeywordLoc ( SourceLocation  L)
inline

Definition at line 671 of file Stmt.h.

void clang::SwitchCase::setNextSwitchCase ( SwitchCase SC)
inline

Member Data Documentation

SourceLocation clang::SwitchCase::ColonLoc
protected

Definition at line 654 of file Stmt.h.

SourceLocation clang::SwitchCase::KeywordLoc
protected

Definition at line 653 of file Stmt.h.

SwitchCase* clang::SwitchCase::NextSwitchCase
protected

Definition at line 652 of file Stmt.h.


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