| |
|
| java.lang.Object com.go.tea.compiler.CompilationUnit
CompilationUnit | abstract public class CompilationUnit implements ErrorListener(Code) | | author: Brian S O'Neill version: 21 , 01/02/06 |
compileError | public void compileError(ErrorEvent e)(Code) | | Called when there is an error when compiling this CompilationUnit.
|
getErrorCount | public int getErrorCount()(Code) | | Returns the number of errors generated while compiling this
CompilationUnit.
|
getOutputStream | abstract public OutputStream getOutputStream() throws IOException(Code) | | An OutputStream to write compiled code to. Returning null isdisables code generation for this CompilationUnit. |
getSourceFileName | abstract public String getSourceFileName()(Code) | | |
getTargetPackage | public String getTargetPackage()(Code) | | Return the package name that this CompilationUnit should be compiled
into. Default implementation returns null, or no package.
|
shouldCompile | public boolean shouldCompile() throws IOException(Code) | | true if the CompilationUnit should be compiled. Default is true. |
|
|
|