comma::Checker Class Reference

#include <Checker.h>

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

List of all members.

Public Member Functions

virtual bool checkSuccessful () const =0
 Returns true if this type checker has not encountered an error and false otherwise.
virtual CompilationUnitgetCompilationUnit () const =0
 Returns the CompilationUnit associated with this checker.

Static Public Member Functions

static Checkercreate (Diagnostic &diag, AstResource &resource, CompilationUnit *cunit)
 Constructs a type checker.

Protected Member Functions

 Checker ()

Detailed Description

A thin wrapper around ParseClient yielding additional methods specific to semantic analysis.

Definition at line 28 of file Checker.h.


Constructor & Destructor Documentation

comma::Checker::Checker (  )  [inline, protected]

Definition at line 47 of file Checker.h.


Member Function Documentation

virtual bool comma::Checker::checkSuccessful (  )  const [pure virtual]

Returns true if this type checker has not encountered an error and false otherwise.

Implemented in comma::TypeCheck.

Checker * Checker::create ( Diagnostic diag,
AstResource resource,
CompilationUnit cunit 
) [static]

Constructs a type checker.

Definition at line 1399 of file TypeCheck.cpp.

virtual CompilationUnit* comma::Checker::getCompilationUnit (  )  const [pure virtual]

Returns the CompilationUnit associated with this checker.

Implemented in comma::TypeCheck.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1