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::DeclRefExpr Class Reference

comma::DeclRefExpr Class Reference

#include <Expr.h>

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

List of all members.

Public Member Functions

 DeclRefExpr (ValueDecl *decl, Location loc)
IdentifierInfogetIdInfo () const
const char * getString () const
 Returns a string representation of the defining identifier.
void setDeclaration (ValueDecl *decl)



const ValueDeclgetDeclaration () const
 Returns the declaration this expression references.
ValueDeclgetDeclaration ()
 Returns the declaration this expression references.

Static Public Member Functions

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

Detailed Description

Definition at line 155 of file Expr.h.


Constructor & Destructor Documentation

comma::DeclRefExpr::DeclRefExpr ( ValueDecl decl,
Location  loc 
) [inline]

Definition at line 158 of file Expr.h.


Member Function Documentation

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

Reimplemented from comma::Expr.

Definition at line 178 of file Expr.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Expr.

Definition at line 177 of file Expr.h.

ValueDecl* comma::DeclRefExpr::getDeclaration (  )  [inline]

Returns the declaration this expression references.

Definition at line 172 of file Expr.h.

const ValueDecl* comma::DeclRefExpr::getDeclaration (  )  const [inline]

Returns the declaration this expression references.

Definition at line 171 of file Expr.h.

IdentifierInfo* comma::DeclRefExpr::getIdInfo (  )  const [inline]

Returns the defining identifier of the declaration this expression references.

Definition at line 164 of file Expr.h.

const char* comma::DeclRefExpr::getString (  )  const [inline]

Returns a string representation of the defining identifier.

Definition at line 167 of file Expr.h.

void comma::DeclRefExpr::setDeclaration ( ValueDecl decl  )  [inline]

Definition at line 174 of file Expr.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1