public static class CompileTask.CallImpl extends Object implements Callable<CompileResult>
| Constructor and Description |
|---|
CompileTask.CallImpl(String tplpath,
CompileCache.PostCompileProcessor postCompileProcessor,
CompilerOptions compilerOptions) |
| Modifier and Type | Method and Description |
|---|---|
CompileResult |
call() |
static ASTTemplate |
compile(File tplfile,
CompilerOptions compilerOptions)
Run the compilation.
|
public CompileTask.CallImpl(String tplpath, CompileCache.PostCompileProcessor postCompileProcessor, CompilerOptions compilerOptions)
public CompileResult call() throws Exception
call in interface Callable<CompileResult>Exceptionpublic static ASTTemplate compile(File tplfile, CompilerOptions compilerOptions) throws Exception
tplfile - file to compilecompilerOptions - compiler options to use for compilationParseException - for low-level parsing errorsSyntaxException - for files which parse correctly but contain higher-level
syntax errorsSystemException - for IO exceptions or unexpected system exceptions; the
cause is the underlying exceptionExceptionCopyright © 2014 Quattor. All Rights Reserved.