comma::DereferenceExpr Class Reference

#include <Expr.h>

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

List of all members.

Public Member Functions

 DereferenceExpr (Expr *prefix, Location loc, bool isImplicit=false)
 ~DereferenceExpr ()
bool isImplicit () const



const ExprgetPrefix () const
 Returns the expression to which this dereference applies.
ExprgetPrefix ()
 Returns the expression to which this dereference applies.
const AccessTypegetPrefixType () const
 Convenience method returning the type of the prefix.
AccessTypegetPrefixType ()
 Returns the expression to which this dereference applies.

Static Public Member Functions

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

Detailed Description

Definition at line 702 of file Expr.h.


Constructor & Destructor Documentation

DereferenceExpr::DereferenceExpr ( Expr prefix,
Location  loc,
bool  isImplicit = false 
)

Definition at line 284 of file Expr.cpp.

comma::DereferenceExpr::~DereferenceExpr (  )  [inline]

Definition at line 707 of file Expr.h.


Member Function Documentation

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

Reimplemented from comma::Expr.

Definition at line 731 of file Expr.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Expr.

Definition at line 730 of file Expr.h.

Expr* comma::DereferenceExpr::getPrefix (  )  [inline]

Returns the expression to which this dereference applies.

Definition at line 712 of file Expr.h.

const Expr* comma::DereferenceExpr::getPrefix (  )  const [inline]

Returns the expression to which this dereference applies.

Definition at line 711 of file Expr.h.

AccessType* comma::DereferenceExpr::getPrefixType (  )  [inline]

Returns the expression to which this dereference applies.

Definition at line 720 of file Expr.h.

const AccessType* comma::DereferenceExpr::getPrefixType (  )  const [inline]

Convenience method returning the type of the prefix.

Definition at line 717 of file Expr.h.

bool comma::DereferenceExpr::isImplicit (  )  const [inline]

Returns true if this dereference was implicitly generated by the compiler.

Definition at line 727 of file Expr.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.