comma::CompilationUnit Class Reference

#include <Cunit.h>

List of all members.

Public Types

typedef std::vector< Decl * >
::const_iterator 
decl_iterator

Public Member Functions

 CompilationUnit (const llvm::sys::Path &path)
const llvm::sys::Path & getPath () const
void addDeclaration (Decl *decl)
decl_iterator beginDeclarations () const
decl_iterator endDeclarations () const

Detailed Description

Definition at line 22 of file Cunit.h.


Member Typedef Documentation

typedef std::vector<Decl *>::const_iterator comma::CompilationUnit::decl_iterator

Definition at line 40 of file Cunit.h.


Constructor & Destructor Documentation

comma::CompilationUnit::CompilationUnit ( const llvm::sys::Path &  path  )  [inline]

Definition at line 26 of file Cunit.h.


Member Function Documentation

void comma::CompilationUnit::addDeclaration ( Decl decl  )  [inline]

Definition at line 33 of file Cunit.h.

decl_iterator comma::CompilationUnit::beginDeclarations (  )  const [inline]

Definition at line 41 of file Cunit.h.

decl_iterator comma::CompilationUnit::endDeclarations (  )  const [inline]

Definition at line 42 of file Cunit.h.

const llvm::sys::Path& comma::CompilationUnit::getPath (  )  const [inline]

Definition at line 30 of file Cunit.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1