| java.lang.Object com.go.tea.compiler.TypeChecker
TypeChecker | public class TypeChecker (Code) | | A TypeChecker operates on a template's parse tree, created by a
Parser , filling in type information while it checks the validity of
the whole template. After a template has been type-checked and there are no
errors, the template is ready for code generation. Add an
ErrorListener to capture any semantic errors detected by the
TypeChecker.
author: Brian S O'Neill version: 111 , 7/26/01 |
getErrorCount | public int getErrorCount()(Code) | | |
setClassLoader | public void setClassLoader(ClassLoader loader)(Code) | | Sets the ClassLoader to use to load classes with. If set to null,
then classes are loaded using Class.forName.
|
setExceptionGuardianEnabled | public void setExceptionGuardianEnabled(boolean enabled)(Code) | | Enabling Exception Guardian causes statements that might throw a
exception to be guarded. By default, this feature is off. If a guarded
statement throws a RuntimeException, it is caught and handed off to
ThreadGroup.uncaughtException . Execution then proceeds to the
next statement. If the guarded statement is an assignment, then the
variable is assigned null if an exception is caught.
|
typeCheck | public void typeCheck()(Code) | | |
|
|