#include <Checker.h>
Public Member Functions | |
virtual bool | checkSuccessful () const =0 |
Returns true if this type checker has not encountered an error and false otherwise. | |
virtual CompilationUnit * | getCompilationUnit () const =0 |
Returns the CompilationUnit associated with this checker. | |
Static Public Member Functions | |
static Checker * | create (Diagnostic &diag, AstResource &resource, CompilationUnit *cunit) |
Constructs a type checker. | |
Protected Member Functions | |
Checker () |
A thin wrapper around ParseClient yielding additional methods specific to semantic analysis.
Definition at line 28 of file Checker.h.
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.