public class UnifiedAst extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UnifiedAst.AST
Encapsulates the combined programs.
|
Constructor and Description |
---|
UnifiedAst(PrecompileTaskOptions options,
UnifiedAst.AST initialAst,
boolean singlePermutation,
Set<String> rebindRequests) |
Modifier and Type | Method and Description |
---|---|
UnifiedAst.AST |
getFreshAst()
Return the current AST so that clients can explicitly walk the Java or
JavaScript parse trees.
|
ModuleMetricsArtifact |
getModuleMetrics()
Returns metrics about the module load portion of the build.
|
PrecompileTaskOptions |
getOptions()
Returns the active set of JJS options associated with this compile.
|
PrecompilationMetricsArtifact |
getPrecompilationMetrics()
Returns metrics about the precompilation portion of the build.
|
SortedSet<String> |
getRebindRequests()
Returns the set of live rebind requests in the AST.
|
void |
prepare()
Internally prepares a new AST for compilation if one is not already
prepared.
|
void |
setModuleMetrics(ModuleMetricsArtifact metrics)
Save some module load metrics in the AST.
|
void |
setPrecompilationMetrics(PrecompilationMetricsArtifact metrics)
Save some precompilation metrics in the AST.
|
public UnifiedAst(PrecompileTaskOptions options, UnifiedAst.AST initialAst, boolean singlePermutation, Set<String> rebindRequests)
public UnifiedAst.AST getFreshAst()
public ModuleMetricsArtifact getModuleMetrics()
public PrecompileTaskOptions getOptions()
public PrecompilationMetricsArtifact getPrecompilationMetrics()
public SortedSet<String> getRebindRequests()
public void prepare()
public void setModuleMetrics(ModuleMetricsArtifact metrics)
public void setPrecompilationMetrics(PrecompilationMetricsArtifact metrics)
Copyright © 2018. All rights reserved.