public class Precompile extends Object
Constructor and Description |
---|
Precompile(PrecompileTaskOptions options) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Performs a command-line precompile.
|
static Precompilation |
precompile(TreeLogger logger,
CompilerContext compilerContext)
Precompiles the given module.
|
boolean |
run(TreeLogger logger) |
static boolean |
validate(TreeLogger logger,
CompilerContext compilerContext)
Validates the given module can be compiled.
|
public Precompile(PrecompileTaskOptions options)
public static void main(String[] args)
public static Precompilation precompile(TreeLogger logger, CompilerContext compilerContext) throws UnableToCompleteException
logger
- a logger to usecompilerContext
- shared read only compiler stateUnableToCompleteException
public static boolean validate(TreeLogger logger, CompilerContext compilerContext)
logger
- a logger to usecompilerContext
- shared read only compiler statepublic boolean run(TreeLogger logger) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.