comma::AddDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

 AddDecl (PercentDecl *percent)
 Creates an AddDecl to represent the body of the given percent decl.
bool implementsDomain () const
 Returns true if this Add implements a DomainDecl.
bool implementsFunctor () const
 Returns true if this Add implements a FunctorDecl.
bool hasCarrier () const
 Returns true if a carrier has been associated with this declaration.
void setCarrier (CarrierDecl *carrier)
 Sets the carrier for this declaration.



const DomoidgetImplementedDomoid () const
 Returns the domoid which this add implements.
DomoidgetImplementedDomoid ()
 Returns the domoid which this add implements.
const DomainDeclgetImplementedDomain () const
DomainDeclgetImplementedDomain ()
 Returns the domoid which this add implements.
const FunctorDeclgetImplementedFunctor () const
FunctorDeclgetImplementedFunctor ()
 Returns the domoid which this add implements.
CarrierDeclgetCarrier ()
const CarrierDeclgetCarrier () const
 Returns the domoid which this add implements.

Static Public Member Functions

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

Detailed Description

Definition at line 453 of file Decl.h.


Constructor & Destructor Documentation

AddDecl::AddDecl ( PercentDecl percent  ) 

Creates an AddDecl to represent the body of the given percent decl.

Definition at line 222 of file Decl.cpp.


Member Function Documentation

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

Reimplemented from comma::Decl.

Definition at line 509 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::Decl.

Definition at line 508 of file Decl.h.

const CarrierDecl* comma::AddDecl::getCarrier (  )  const [inline]

Returns the domoid which this add implements.

Definition at line 504 of file Decl.h.

CarrierDecl* comma::AddDecl::getCarrier (  )  [inline]

Returns the carrier declaration, or NULL if a carrier has not yet been defined.

Definition at line 503 of file Decl.h.

DomainDecl * AddDecl::getImplementedDomain (  ) 

Returns the domoid which this add implements.

Definition at line 239 of file Decl.cpp.

const DomainDecl* comma::AddDecl::getImplementedDomain (  )  const [inline]

If implementsDomain returns true, this function provides the domain declaration which this add implements, otherwise null is returned.

Definition at line 476 of file Decl.h.

Domoid * AddDecl::getImplementedDomoid (  ) 

Returns the domoid which this add implements.

Definition at line 227 of file Decl.cpp.

const Domoid* comma::AddDecl::getImplementedDomoid (  )  const [inline]

Returns the domoid which this add implements.

Definition at line 467 of file Decl.h.

FunctorDecl * AddDecl::getImplementedFunctor (  ) 

Returns the domoid which this add implements.

Definition at line 244 of file Decl.cpp.

const FunctorDecl* comma::AddDecl::getImplementedFunctor (  )  const [inline]

If implementsFunctor returns true, this function provides the functor declaration which this add implements, otherwise null is returned.

Definition at line 485 of file Decl.h.

bool comma::AddDecl::hasCarrier (  )  const [inline]

Returns true if a carrier has been associated with this declaration.

Definition at line 492 of file Decl.h.

bool AddDecl::implementsDomain (  )  const

Returns true if this Add implements a DomainDecl.

Definition at line 249 of file Decl.cpp.

bool AddDecl::implementsFunctor (  )  const

Returns true if this Add implements a FunctorDecl.

Definition at line 254 of file Decl.cpp.

void comma::AddDecl::setCarrier ( CarrierDecl carrier  )  [inline]

Sets the carrier for this declaration.

Definition at line 495 of file Decl.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.