#include <typechecker.h>
Inheritance diagram for UTAP::TypeChecker:
The type checker can only visit the system given in the constructor. The type checker must not be constructed before the system has been parsed.
|
|
|
|
|
Type check an expression. This function performs basic type checking of the given expression and assigns a type to every subexpression of the expression. It checks that only left-hand side values are updated, checks that functions are called with the correct arguments, checks that operators are used with the correct operands and checks that operands to assignment operators are assignment compatible. Errors are reported by calling handleError(). This function does not check/compute the range of integer expressions and thus does not produce out-of-range errors or warnings. Returns true if no type errors were found, false otherwise. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
|
|
Reimplemented from UTAP::AbstractStatementVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::SystemVisitor. |
|
Reimplemented from UTAP::AbstractStatementVisitor. |