Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::IncompleteTypeDecl Class Reference

comma::IncompleteTypeDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Member Functions

bool hasCompletion () const
 Returns true if this declaration has a completions.
void setCompletion (TypeDecl *decl)
 Sets the completion of this declaration.
bool isCompatibleCompletion (const TypeDecl *decl) const
 Returns true if the given declaration could serve as a completion.
bool completionIsVisibleIn (const DeclRegion *region) const



const IncompleteTypegetType () const
 Specialize TypeDecl::getType().
IncompleteTypegetType ()
 Specialize TypeDecl::getType().
const TypeDeclgetCompletion () const
 Returns the completion of this declaration if one has been set, else null.
TypeDeclgetCompletion ()
 Specialize TypeDecl::getType().

Static Public Member Functions

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

Friends

class AstResource

Detailed Description

Definition at line 1314 of file Decl.h.


Member Function Documentation

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

Reimplemented from comma::TypeDecl.

Definition at line 1361 of file Decl.h.

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

Support isa and dyn_cast.

Reimplemented from comma::TypeDecl.

Definition at line 1360 of file Decl.h.

bool IncompleteTypeDecl::completionIsVisibleIn ( const DeclRegion region  )  const

Returns true if the completion of this indirect type declaration is visible from within the given declarative region.

Definition at line 633 of file Decl.cpp.

TypeDecl* comma::IncompleteTypeDecl::getCompletion (  )  [inline]

Specialize TypeDecl::getType().

Definition at line 1337 of file Decl.h.

const TypeDecl* comma::IncompleteTypeDecl::getCompletion (  )  const [inline]

Returns the completion of this declaration if one has been set, else null.

Definition at line 1336 of file Decl.h.

IncompleteType* comma::IncompleteTypeDecl::getType (  )  [inline]

Specialize TypeDecl::getType().

Reimplemented from comma::TypeDecl.

Definition at line 1328 of file Decl.h.

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

Specialize TypeDecl::getType().

Reimplemented from comma::TypeDecl.

Definition at line 1325 of file Decl.h.

bool comma::IncompleteTypeDecl::hasCompletion (  )  const [inline]

Returns true if this declaration has a completions.

Definition at line 1318 of file Decl.h.

bool IncompleteTypeDecl::isCompatibleCompletion ( const TypeDecl decl  )  const

Returns true if the given declaration could serve as a completion.

A declaration can complete this incomplete type declaration if:

  • This declaration is itself without a completion,
  • If the given declaration and this one are declared in the same declarative region, or
  • This declaration was declared in the public portion of a domain and the given declaration was declared in the private portion.

Definition at line 615 of file Decl.cpp.

void comma::IncompleteTypeDecl::setCompletion ( TypeDecl decl  )  [inline]

Sets the completion of this declaration.

Definition at line 1321 of file Decl.h.


Friends And Related Function Documentation

friend class AstResource [friend]

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