Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::IfStmt Class Reference

comma::IfStmt Class Reference

#include <Stmt.h>

Inheritance diagram for comma::IfStmt:
Inheritance graph
[legend]
Collaboration diagram for comma::IfStmt:
Collaboration graph
[legend]

List of all members.

Classes

class  Elsif

Public Types

typedef ElsifVector::iterator iterator
typedef ElsifVector::const_iterator const_iterator

Public Member Functions

 IfStmt (Location loc, Expr *condition, StmtSequence *consequent)
ExprgetCondition ()
const ExprgetCondition () const
StmtSequencegetConsequent ()
const StmtSequencegetConsequent () const
void setAlternate (Location loc, StmtSequence *stmt)
bool hasAlternate () const
StmtSequencegetAlternate ()
const StmtSequencegetAlternate () const
iterator beginElsif ()
iterator endElsif ()
const_iterator beginElsif () const
const_iterator endElsif () const
void addElsif (Location loc, Expr *condition, StmtSequence *consequent)
bool hasElsif () const
Location getIfLocation () const
Location getElseLocation () const

Static Public Member Functions

static bool classof (const IfStmt *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Detailed Description

Definition at line 315 of file Stmt.h.


Member Typedef Documentation

typedef ElsifVector::const_iterator comma::IfStmt::const_iterator

Definition at line 382 of file Stmt.h.

typedef ElsifVector::iterator comma::IfStmt::iterator

Definition at line 381 of file Stmt.h.


Constructor & Destructor Documentation

comma::IfStmt::IfStmt ( Location  loc,
Expr condition,
StmtSequence consequent 
) [inline]

Definition at line 322 of file Stmt.h.


Member Function Documentation

void comma::IfStmt::addElsif ( Location  loc,
Expr condition,
StmtSequence consequent 
) [inline]

Definition at line 392 of file Stmt.h.

const_iterator comma::IfStmt::beginElsif (  )  const [inline]

Definition at line 387 of file Stmt.h.

iterator comma::IfStmt::beginElsif (  )  [inline]

Definition at line 384 of file Stmt.h.

static bool comma::IfStmt::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::Stmt.

Definition at line 406 of file Stmt.h.

static bool comma::IfStmt::classof ( const IfStmt node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::Stmt.

Definition at line 405 of file Stmt.h.

const_iterator comma::IfStmt::endElsif (  )  const [inline]

Definition at line 388 of file Stmt.h.

iterator comma::IfStmt::endElsif (  )  [inline]

Definition at line 385 of file Stmt.h.

const StmtSequence* comma::IfStmt::getAlternate (  )  const [inline]

Definition at line 350 of file Stmt.h.

StmtSequence* comma::IfStmt::getAlternate (  )  [inline]

Definition at line 349 of file Stmt.h.

const Expr* comma::IfStmt::getCondition (  )  const [inline]

Definition at line 331 of file Stmt.h.

Expr* comma::IfStmt::getCondition (  )  [inline]

Definition at line 330 of file Stmt.h.

const StmtSequence* comma::IfStmt::getConsequent (  )  const [inline]

Definition at line 335 of file Stmt.h.

StmtSequence* comma::IfStmt::getConsequent (  )  [inline]

Definition at line 334 of file Stmt.h.

Location comma::IfStmt::getElseLocation (  )  const [inline]

Definition at line 403 of file Stmt.h.

Location comma::IfStmt::getIfLocation (  )  const [inline]

Definition at line 400 of file Stmt.h.

bool comma::IfStmt::hasAlternate (  )  const [inline]

Definition at line 345 of file Stmt.h.

bool comma::IfStmt::hasElsif (  )  const [inline]

Definition at line 397 of file Stmt.h.

void comma::IfStmt::setAlternate ( Location  loc,
StmtSequence stmt 
) [inline]

Definition at line 338 of file Stmt.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1