comma::IncompleteType Class Reference

#include <Type.h>

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

List of all members.

Public Member Functions

IdentifierInfo * getIdInfo () const
 Returns the defining identifier of this type;.
const char * getString () const
 Returns the defining identifier of this type as a C-string.
bool hasCompletion () const
 Returns true if this type as a completion.



const IncompleteTypeDecl * getDefiningDecl () const
 Returns the incomplete type declaration that introduced this type.
IncompleteTypeDecl * getDefiningDecl ()
 Returns the incomplete type declaration that introduced this type.
const PrimaryType * getCompleteType () const
 Returns the underlying complete type.
PrimaryType * getCompleteType ()
 Returns the incomplete type declaration that introduced this type.
IncompleteType * getRootType ()
 Specialize PrimaryType::getRootType().
const IncompleteType * getRootType () const
 Returns the incomplete type declaration that introduced this type.

Static Public Member Functions

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

Friends

class AstResource
 Incomplete types are allocated and managed by AstResource.

Detailed Description

Incomplete types are associated with a particular IncompleteTypeDecl. They represent an incomplete view of some specific type.

Definition at line 441 of file Type.h.


Member Function Documentation

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

Reimplemented from comma::PrimaryType.

Definition at line 481 of file Type.h.

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

Support isa and dyn_cast.

Reimplemented from comma::PrimaryType.

Definition at line 480 of file Type.h.

PrimaryType * IncompleteType::getCompleteType (  ) 

Returns the incomplete type declaration that introduced this type.

Definition at line 274 of file Type.cpp.

const PrimaryType* comma::IncompleteType::getCompleteType (  )  const [inline]

Returns the underlying complete type.

Definition at line 463 of file Type.h.

IncompleteTypeDecl * IncompleteType::getDefiningDecl (  ) 

Returns the incomplete type declaration that introduced this type.

Definition at line 263 of file Type.cpp.

const IncompleteTypeDecl* comma::IncompleteType::getDefiningDecl (  )  const [inline]

Returns the incomplete type declaration that introduced this type.

Definition at line 452 of file Type.h.

IdentifierInfo * IncompleteType::getIdInfo (  )  const

Returns the defining identifier of this type;.

Definition at line 256 of file Type.cpp.

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

Returns the incomplete type declaration that introduced this type.

Reimplemented from comma::PrimaryType.

Definition at line 474 of file Type.h.

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

Specialize PrimaryType::getRootType().

Reimplemented from comma::PrimaryType.

Definition at line 471 of file Type.h.

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

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

Definition at line 448 of file Type.h.

bool IncompleteType::hasCompletion (  )  const

Returns true if this type as a completion.

Definition at line 269 of file Type.cpp.


Friends And Related Function Documentation

friend class AstResource [friend]

Incomplete types are allocated and managed by AstResource.

Definition at line 498 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