public class CompilePerms extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
CompilePerms.ArgHandlerPerms
Argument handler for specifying the which perms to run.
|
static interface |
CompilePerms.CompilePermsOptions
Options for CompilePerms.
|
static interface |
CompilePerms.OptionPerms
Handles options for which permutations to compile.
|
Constructor and Description |
---|
CompilePerms(CompilePerms.CompilePermsOptions options) |
Modifier and Type | Method and Description |
---|---|
static PermutationResult |
compile(TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation,
UnifiedAst unifiedAst)
Compile a single permutation.
|
static void |
compile(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] perms,
int localWorkers,
List<FileBackedObject<PermutationResult>> resultFiles)
Compile multiple permutations.
|
static void |
main(String[] args) |
static List<FileBackedObject<PermutationResult>> |
makeResultFiles(File compilerWorkDir,
Permutation[] perms) |
boolean |
run(TreeLogger logger) |
public CompilePerms(CompilePerms.CompilePermsOptions options)
public static PermutationResult compile(TreeLogger logger, CompilerContext compilerContext, Permutation permutation, UnifiedAst unifiedAst) throws UnableToCompleteException
UnableToCompleteException
- if the permutation compile failspublic static void compile(TreeLogger logger, CompilerContext compilerContext, Precompilation precompilation, Permutation[] perms, int localWorkers, List<FileBackedObject<PermutationResult>> resultFiles) throws UnableToCompleteException
UnableToCompleteException
public static void main(String[] args)
public static List<FileBackedObject<PermutationResult>> makeResultFiles(File compilerWorkDir, Permutation[] perms)
public boolean run(TreeLogger logger) throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.