comma::AccessType Class Reference

#include <Type.h>

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

List of all members.

Public Member Functions

IdentifierInfogetIdInfo () const
 Returns the defining identifier of this type;.
const char * getString () const
 Returns the defining identifier of this type as a C-string.
const TypegetTargetType () const
 Returns the to which this access type points.
TypegetTargetType ()



const AccessDeclgetDefiningDecl () const
 Returns the access type declaration that introduced this type.
AccessDeclgetDefiningDecl ()
 Returns the access type declaration that introduced this type.
AccessTypegetRootType ()
 Specialize PrimaryType::getRootType().
const AccessTypegetRootType () const
 Returns the access type declaration that introduced this type.

Static Public Member Functions

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

Friends

class AstResource
 Access types are constructed and managed by AstResource.

Detailed Description

Definition at line 1198 of file Type.h.


Member Function Documentation

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

Reimplemented from comma::PrimaryType.

Definition at line 1233 of file Type.h.

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

Support isa and dyn_cast.

Reimplemented from comma::PrimaryType.

Definition at line 1232 of file Type.h.

AccessDecl * AccessType::getDefiningDecl (  ) 

Returns the access type declaration that introduced this type.

Definition at line 1211 of file Type.cpp.

const AccessDecl* comma::AccessType::getDefiningDecl (  )  const [inline]

Returns the access type declaration that introduced this type.

Definition at line 1209 of file Type.h.

IdentifierInfo * AccessType::getIdInfo (  )  const

Returns the defining identifier of this type;.

Definition at line 1216 of file Type.cpp.

const AccessType* comma::AccessType::getRootType (  )  const [inline]

Returns the access type declaration that introduced this type.

Reimplemented from comma::PrimaryType.

Definition at line 1226 of file Type.h.

AccessType* comma::AccessType::getRootType (  )  [inline]

Specialize PrimaryType::getRootType().

Reimplemented from comma::PrimaryType.

Definition at line 1223 of file Type.h.

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

Returns the defining identifier of this type as a C-string.

Definition at line 1205 of file Type.h.

Type* comma::AccessType::getTargetType (  )  [inline]

Definition at line 1218 of file Type.h.

const Type* comma::AccessType::getTargetType (  )  const [inline]

Returns the to which this access type points.

Definition at line 1217 of file Type.h.


Friends And Related Function Documentation

friend class AstResource [friend]

Access types are constructed and managed by AstResource.

Definition at line 1246 of file Type.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1