comma::FunctionAttribDecl Class Reference

#include <AttribDecl.h>

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

List of all members.

Public Member Functions

attrib::AttributeID getAttributeID () const
 Returns the AttributeID associated with this expression.



const PrimaryTypegetPrefix () const
PrimaryTypegetPrefix ()

Static Public Member Functions

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

Protected Member Functions

 FunctionAttribDecl (AstKind kind, PrimaryType *prefix, IdentifierInfo *name, Location loc, IdentifierInfo **keywords, FunctionType *type, DeclRegion *parent)

Detailed Description

This simple class provides a common root for all attributes which denote functions.

Definition at line 21 of file AttribDecl.h.


Constructor & Destructor Documentation

comma::FunctionAttribDecl::FunctionAttribDecl ( AstKind  kind,
PrimaryType prefix,
IdentifierInfo name,
Location  loc,
IdentifierInfo **  keywords,
FunctionType type,
DeclRegion parent 
) [inline, protected]

Definition at line 45 of file AttribDecl.h.


Member Function Documentation

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

Reimplemented from comma::FunctionDecl.

Reimplemented in comma::PosAD, and comma::ValAD.

Definition at line 40 of file AttribDecl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::FunctionDecl.

Reimplemented in comma::PosAD, and comma::ValAD.

Definition at line 39 of file AttribDecl.h.

attrib::AttributeID comma::FunctionAttribDecl::getAttributeID (  )  const [inline]

Returns the AttributeID associated with this expression.

Definition at line 25 of file AttribDecl.h.

PrimaryType* comma::FunctionAttribDecl::getPrefix (  )  [inline]

Returns the prefix associated with this function attribute.

All function attribute declarations have primary types as prefix.

Reimplemented in comma::PosAD, and comma::ValAD.

Definition at line 35 of file AttribDecl.h.

const PrimaryType* comma::FunctionAttribDecl::getPrefix (  )  const [inline]

Returns the prefix associated with this function attribute.

All function attribute declarations have primary types as prefix.

Reimplemented in comma::PosAD, and comma::ValAD.

Definition at line 34 of file AttribDecl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1