Falcon::StmtSwitch Class Reference

Statement switch. More...

#include <syntree.h>

Inheritance diagram for Falcon::StmtSwitch:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void addBlock (StmtCaseBlock *sl)
bool addIntCase (Value *itm)
bool addRangeCase (Value *itm)
bool addStringCase (Value *itm)
bool addSymbolCase (Value *itm)
StatementListblocks ()
const StatementListblocks () const
virtual Statementclone () const
int currentBlock () const
StatementListdefaultBlock ()
const StatementListdefaultBlock () const
MapintCases ()
const MapintCases () const
void nilBlock (int32 v)
int32 nilBlock () const
MapobjCases ()
const MapobjCases () const
ListobjList ()
const ListobjList () const
MaprngCases ()
const MaprngCases () const
 StmtSwitch (const StmtSwitch &other)
 StmtSwitch (uint32 line, Value *expr)
MapstrCases ()
const MapstrCases () const
ValueswitchItem () const
virtual ~StmtSwitch ()


Detailed Description

Statement switch.

Constructor & Destructor Documentation

Falcon::StmtSwitch::StmtSwitch ( uint32  line,
Value expr 
)

Falcon::StmtSwitch::StmtSwitch ( const StmtSwitch other  ) 

virtual Falcon::StmtSwitch::~StmtSwitch (  )  [virtual]


Member Function Documentation

void Falcon::StmtSwitch::addBlock ( StmtCaseBlock sl  ) 

bool Falcon::StmtSwitch::addIntCase ( Value itm  ) 

bool Falcon::StmtSwitch::addRangeCase ( Value itm  ) 

bool Falcon::StmtSwitch::addStringCase ( Value itm  ) 

bool Falcon::StmtSwitch::addSymbolCase ( Value itm  ) 

StatementList& Falcon::StmtSwitch::blocks (  )  [inline]

const StatementList& Falcon::StmtSwitch::blocks (  )  const [inline]

virtual Statement* Falcon::StmtSwitch::clone (  )  const [virtual]

Implements Falcon::Statement.

Reimplemented in Falcon::StmtSelect.

int Falcon::StmtSwitch::currentBlock (  )  const [inline]

StatementList& Falcon::StmtSwitch::defaultBlock (  )  [inline]

const StatementList& Falcon::StmtSwitch::defaultBlock (  )  const [inline]

Map& Falcon::StmtSwitch::intCases (  )  [inline]

const Map& Falcon::StmtSwitch::intCases (  )  const [inline]

void Falcon::StmtSwitch::nilBlock ( int32  v  )  [inline]

int32 Falcon::StmtSwitch::nilBlock (  )  const [inline]

Map& Falcon::StmtSwitch::objCases (  )  [inline]

const Map& Falcon::StmtSwitch::objCases (  )  const [inline]

List& Falcon::StmtSwitch::objList (  )  [inline]

const List& Falcon::StmtSwitch::objList (  )  const [inline]

Map& Falcon::StmtSwitch::rngCases (  )  [inline]

const Map& Falcon::StmtSwitch::rngCases (  )  const [inline]

Map& Falcon::StmtSwitch::strCases (  )  [inline]

const Map& Falcon::StmtSwitch::strCases (  )  const [inline]

Value* Falcon::StmtSwitch::switchItem (  )  const [inline]


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

Generated on Mon Oct 19 10:11:46 2009 for Falcon_Core by  doxygen 1.5.8