org.teatrove.tea.util
Class TestCompiler
java.lang.Object
org.teatrove.tea.compiler.Compiler
org.teatrove.tea.util.AbstractCompiler
org.teatrove.tea.util.FileCompiler
org.teatrove.tea.util.TestCompiler
public class TestCompiler
- extends FileCompiler
A compiler implementation suitable for testing from a command console.
The runtime context is a PrintStream so that template output can go to
standard out.
Templates are read from files that must have the extension ".tea". The
code generated are Java class files which are written in the same directory
as the source files. Compilation error messages are sent to standard out.
- Author:
- Brian S O'Neill
| Methods inherited from class org.teatrove.tea.compiler.Compiler |
addErrorListener, addImportedPackage, addImportedPackages, addStatusListener, compile, createCodeGenerator, createParser, createScanner, createSourceReader, createTypeChecker, getClassLoader, getCompilationUnit, getErrorCount, getImportedPackages, getParseTree, getRuntimeContext, getRuntimeContextMethods, getRuntimeReceiver, getRuntimeStringConverter, getStringConverterMethods, isCodeGenerationEnabled, isExceptionGuardianEnabled, loadClass, preserveParseTree, removeErrorListener, removeStatusListener, setClassLoader, setCodeGenerationEnabled, setExceptionGuardianEnabled, setRuntimeContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCompiler
public TestCompiler(File rootSourceDir,
String rootPackage,
File rootDestDir)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.