Package | Description |
---|---|
com.google.gwt.core.ext.linker.impl | |
com.google.gwt.dev | |
com.google.gwt.dev.cfg | |
com.google.gwt.dev.jjs | |
com.google.gwt.dev.shell |
Modifier and Type | Method and Description |
---|---|
static String |
PropertiesUtil.generatePropertiesSnippet(ModuleDef module,
TreeLogger compileLogger)
Returns JavaScript that declares and initializes the "providers" and "values" variables.
|
ArtifactSet |
StandardLinkerContext.getArtifactsForPublicResources(TreeLogger logger,
ModuleDef module)
Convert all static resources in the specified module to artifacts.
|
Constructor and Description |
---|
StandardLinkerContext(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
JsOutputOption outputOption) |
Modifier and Type | Method and Description |
---|---|
ModuleDef |
CompilerContext.getModule() |
protected ModuleDef |
DevMode.loadModule(TreeLogger logger,
String moduleName,
boolean refresh) |
protected ModuleDef |
DevModeBase.loadModule(TreeLogger logger,
String moduleName,
boolean refresh)
Load a module.
|
Modifier and Type | Method and Description |
---|---|
protected ShellModuleSpaceHost |
DevModeBase.doCreateShellModuleSpaceHost(TreeLogger logger,
CompilationState compilationState,
ModuleDef moduleDef)
Creates an instance of ShellModuleSpaceHost (or a derived class) using the
specified constituent parts.
|
protected StandardLinkerContext |
DevModeBase.link(TreeLogger logger,
ModuleDef module)
Perform an initial hosted mode link, without overwriting newer or
unmodified files in the output folder.
|
static void |
Link.link(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
Permutation[] permutations,
List<PersistenceBackedObject<PermutationResult>> resultFiles,
Set<PermutationResult> libraries,
PrecompileTaskOptions precompileOptions,
Link.LinkOptions linkOptions) |
static void |
Link.linkOnePermutationToJar(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
PermutationResult permResult,
File jarFile,
PrecompileTaskOptions precompileOptions)
This link operation is performed on a CompilePerms shard for one
permutation.
|
CompilerContext.Builder |
CompilerContext.Builder.module(ModuleDef module)
Sets the module and uses it to set resource oracles as well.
|
protected void |
DevMode.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
protected abstract void |
DevModeBase.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
void |
MinimalRebuildCache.recordBuildResources(ModuleDef module)
Records the resource paths and modification dates of build resources in the current compile and
builds a list of known modified resource paths by comparing the resource paths and modification
dates of build resources in the previous compile with those of the current compile.
|
void |
NullRebuildCache.recordBuildResources(ModuleDef module) |
void |
MinimalRebuildCache.recordDiskSourceResources(ModuleDef module)
Records the paths and modification dates of source resources in the current compile and builds
a list of known modified paths by comparing the paths and modification dates of source
resources in the previous compile with those of the current compile.
|
void |
NullRebuildCache.recordDiskSourceResources(ModuleDef module) |
boolean |
Compiler.run(TreeLogger logger,
ModuleDef... modules) |
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. |
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName)
Loads a new module from the class path and defers scanning associated directories for
resources.
|
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
boolean refresh)
Loads a new module from the class path and may or may not immediately scan associated
directories for resources.
|
static ModuleDef |
ModuleDefLoader.loadFromResources(TreeLogger logger,
CompilerContext compilerContext,
String moduleName,
ResourceLoader resources,
boolean refresh)
Loads a new module from the given ResourceLoader and may or may not immediately scan associated
directories for resources.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleFail.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context) |
void |
Rule.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context)
Generate runtime rebind classes that perform the same rebinding behavior represented by the
current Rule.
|
void |
RuleReplaceWith.generateRuntimeRebindClasses(TreeLogger logger,
ModuleDef module,
GeneratorContext context) |
protected void |
ModuleDefLoader.load(TreeLogger logger,
String nameOfModuleToLoad,
ModuleDef dest)
Loads a module and all its included modules, recursively, into the given ModuleDef.
|
Constructor and Description |
---|
ConfigProps(ModuleDef def)
Takes a snapshot of a module's configuration properties.
|
ModuleDefSchema(TreeLogger logger,
ModuleDefLoader loader,
String moduleName,
URL moduleURL,
String modulePackageAsPath,
ModuleDef toConfigure) |
Modifier and Type | Field and Description |
---|---|
protected ModuleDef |
JavaToJavaScriptCompiler.module |
Modifier and Type | Method and Description |
---|---|
File |
WorkDirs.getCompilerOutputDir(ModuleDef moduleDef)
Gets the compiler output directory for a particular module.
|
File |
WorkDirs.getShellPublicGenDir(ModuleDef moduleDef)
Gets the shell work directory for public generated files for a particular
module.
|
void |
BrowserListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
void |
CodeServerListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink)
Writes compiler output to the right places so that the browser will see
the newly compiled GWT code.
|
void |
SuperDevListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
Constructor and Description |
---|
ShellModuleSpaceHost(TreeLogger logger,
CompilationState compilationState,
ModuleDef module,
File genDir,
ArtifactAcceptor artifactAcceptor,
RebindCache rebindCache) |
Copyright © 2018. All rights reserved.