clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
clang::SwitchCase Class Reference

#include <Stmt.h>

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

List of all members.

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 645 of file Stmt.h.


Constructor & Destructor Documentation

clang::SwitchCase::SwitchCase ( StmtClass  SC,
SourceLocation  KWLoc,
SourceLocation  ColonLoc 
) [inline, protected]

Definition at line 653 of file Stmt.h.

clang::SwitchCase::SwitchCase ( StmtClass  SC,
EmptyShell   
) [inline, protected]

Definition at line 657 of file Stmt.h.


Member Function Documentation

static bool clang::SwitchCase::classof ( const Stmt T) [inline, static]

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 680 of file Stmt.h.

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 669 of file Stmt.h.

References ColonLoc.

Definition at line 667 of file Stmt.h.

References KeywordLoc.

Reimplemented from clang::Stmt.

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 777 of file Stmt.h.

Reimplemented from clang::Stmt.

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 677 of file Stmt.h.

References KeywordLoc.

Referenced by EvaluateSwitch().

Definition at line 663 of file Stmt.h.

References NextSwitchCase.

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 963 of file Stmt.cpp.

Referenced by getSubStmt().

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

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 673 of file Stmt.h.

References getSubStmt().

Reimplemented in clang::DefaultStmt, and clang::CaseStmt.

Definition at line 670 of file Stmt.h.

References ColonLoc.

Definition at line 668 of file Stmt.h.

References KeywordLoc.

Definition at line 665 of file Stmt.h.

References NextSwitchCase.

Referenced by clang::SwitchStmt::addSwitchCase().


Member Data Documentation

Definition at line 649 of file Stmt.h.

Referenced by getNextSwitchCase(), and setNextSwitchCase().


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