clang  3.7.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 651 of file Stmt.h.

Constructor & Destructor Documentation

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

Definition at line 659 of file Stmt.h.

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

Definition at line 663 of file Stmt.h.

Member Function Documentation

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

Definition at line 686 of file Stmt.h.

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

Definition at line 675 of file Stmt.h.

References ColonLoc.

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

Definition at line 673 of file Stmt.h.

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

Definition at line 783 of file Stmt.h.

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

Definition at line 683 of file Stmt.h.

Referenced by EvaluateSwitch().

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

Definition at line 669 of file Stmt.h.

Stmt * SwitchCase::getSubStmt ( )

Definition at line 970 of file Stmt.cpp.

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

Definition at line 679 of file Stmt.h.

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

Definition at line 676 of file Stmt.h.

References ColonLoc.

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

Definition at line 674 of file Stmt.h.

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

Member Data Documentation

SourceLocation clang::SwitchCase::ColonLoc
protected

Definition at line 657 of file Stmt.h.

SourceLocation clang::SwitchCase::KeywordLoc
protected

Definition at line 656 of file Stmt.h.

SwitchCase* clang::SwitchCase::NextSwitchCase
protected

Definition at line 655 of file Stmt.h.


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