comma::ReturnStmt Class Reference

#include <Stmt.h>

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

List of all members.

Public Member Functions

 ReturnStmt (Location loc, Expr *expr=0)
 ~ReturnStmt ()
bool hasReturnExpr () const
const ExprgetReturnExpr () const
ExprgetReturnExpr ()

Static Public Member Functions

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

Detailed Description

Definition at line 267 of file Stmt.h.


Constructor & Destructor Documentation

comma::ReturnStmt::ReturnStmt ( Location  loc,
Expr expr = 0 
) [inline]

Definition at line 270 of file Stmt.h.

ReturnStmt::~ReturnStmt (  ) 

Definition at line 88 of file Stmt.cpp.


Member Function Documentation

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

Reimplemented from comma::Stmt.

Definition at line 281 of file Stmt.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Stmt.

Definition at line 280 of file Stmt.h.

Expr* comma::ReturnStmt::getReturnExpr (  )  [inline]

Definition at line 278 of file Stmt.h.

const Expr* comma::ReturnStmt::getReturnExpr (  )  const [inline]

Definition at line 277 of file Stmt.h.

bool comma::ReturnStmt::hasReturnExpr (  )  const [inline]

Definition at line 275 of file Stmt.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.