Package | Description |
---|---|
com.google.gwt.dev | |
com.google.gwt.dev.cfg | |
com.google.gwt.dev.javac | |
com.google.gwt.dev.jjs | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Field and Description |
---|---|
protected CompilerContext |
DevModeBase.compilerContext |
Modifier and Type | Method and Description |
---|---|
CompilerContext |
CompilerContext.Builder.build() |
Modifier and Type | Method and Description |
---|---|
static PermutationResult |
CompilePerms.compile(TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation,
UnifiedAst unifiedAst)
Compile a single permutation.
|
static void |
CompilePerms.compile(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] perms,
int localWorkers,
List<FileBackedObject<PermutationResult>> resultFiles)
Compile multiple permutations.
|
static void |
PermutationWorkerFactory.compilePermutations(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
int localWorkers,
List<FileBackedObject<PermutationResult>> resultFiles)
Compiles all Permutations in a Precompilation and returns an array of Files
that can be consumed by Link using the system-default
PermutationWorkersFactories.
|
static void |
PermutationWorkerFactory.compilePermutations(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] permutations,
int localWorkers,
List<FileBackedObject<PermutationResult>> resultFiles)
Compiles a subset of the Permutations in a Precompilation and returns an
array of Files that can be consumed by Link using the system-default
PermutationWorkersFactories.
|
static Precompilation |
Precompile.precompile(TreeLogger logger,
CompilerContext compilerContext)
Precompiles the given module.
|
static boolean |
Precompile.validate(TreeLogger logger,
CompilerContext compilerContext)
Validates the given module can be compiled.
|
Modifier and Type | Method and Description |
---|---|
static ModuleDef |
ModuleDefLoader.createSyntheticModule(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
String[] inherits,
boolean refresh)
Creates a module in memory that is not associated with a
.gwt.xml file on disk. |
CompilationState |
ModuleDef.getCompilationState(TreeLogger logger,
CompilerContext compilerContext) |
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName)
Loads a new (assumed monolithic) module from the class path and defers scanning associated
directories for resources.
|
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
boolean refresh,
boolean monolithic)
Loads a new module from the class path and may or may not immediately scan associated
directories for resources or consider it monolithic, depending on parameters.
|
static ModuleDef |
ModuleDefLoader.loadFromResources(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
ResourceLoader resources,
boolean refresh,
boolean monolithic)
Loads a new module from the given ResourceLoader and may or may not immediately scan associated
directories for resources or consider it monolithic, depending on parameters.
|
Modifier and Type | Method and Description |
---|---|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources)
Compiles the given source files and adds them to the CompilationState.
|
static CompilationState |
CompilationStateBuilder.buildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate delegate)
Compiles the given source files and adds them to the CompilationState.
|
static List<CompilationUnit> |
JdtCompiler.compile(TreeLogger logger,
CompilerContext compilerContext,
Collection<CompilationUnitBuilder> builders)
Compiles the given set of units.
|
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources) |
CompilationState |
CompilationStateBuilder.doBuildFrom(TreeLogger logger,
CompilerContext compilerContext,
Set<Resource> resources,
JdtCompiler.AdditionalTypeProviderDelegate compilerDelegate)
Build a new compilation state from a source oracle.
|
Constructor and Description |
---|
CompileMoreLater(CompilerContext compilerContext,
JdtCompiler.AdditionalTypeProviderDelegate delegate) |
JdtCompiler(CompilerContext compilerContext,
JdtCompiler.UnitProcessor processor) |
StandardGeneratorContext(CompilerContext compilerContext,
CompilationState compilationState,
ArtifactSet allGeneratedArtifacts,
boolean isProdMode)
Normally, the compiler host would be aware of the same types that are
available in the supplied type oracle although it isn't strictly required.
|
Modifier and Type | Method and Description |
---|---|
PermutationResult |
UnifiedAst.compilePermutation(TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation)
Compiles a particular permutation.
|
static PermutationResult |
JavaToJavaScriptCompiler.compilePermutation(TreeLogger logger,
CompilerContext compilerContext,
UnifiedAst unifiedAst,
Permutation permutation)
Compiles a particular permutation, based on a precompiled unified AST.
|
static UnifiedAst |
JavaToJavaScriptCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation) |
UnifiedAst |
JavaScriptCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics) |
static UnifiedAst |
JavaToJavaScriptCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics)
Performs a precompilation, returning a unified AST.
|
UnifiedAst |
AbstractCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
RebindPermutationOracle rpo,
String[] declEntryPts,
String[] additionalRootTypes,
boolean singlePermutation,
PrecompilationMetricsArtifact precompilationMetrics)
Performs a precompilation, returning an object that can then be used to
compile individual permutations..
|
Constructor and Description |
---|
UnifyAst(TreeLogger logger,
CompilerContext compilerContext,
JProgram program,
JsProgram jsProgram,
RebindPermutationOracle rpo) |
Copyright © 2018. All rights reserved.