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<PersistenceBackedObject<PermutationResult>> resultFiles)
Compile multiple permutations.
|
static void |
PermutationWorkerFactory.compilePermutations(TreeLogger logger,
CompilerContext compilerContext,
Precompilation precompilation,
Permutation[] permutations,
int localWorkers,
List<PersistenceBackedObject<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 |
---|---|
CompilationState |
ModuleDef.getCompilationState(TreeLogger logger,
CompilerContext compilerContext) |
Modifier and Type | Method and Description |
---|---|
CompilerContext |
CompilationState.getCompilerContext() |
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.
|
static int |
CompilationProblemReporter.logErrorTrace(TreeLogger logger,
TreeLogger.Type logLevel,
CompilerContext compilerContext,
List<CompilationUnit> units,
boolean hint)
Provides meaningful error messages and hints for types that failed to compile or are otherwise
missing.
|
static void |
CompilationProblemReporter.logErrorTrace(TreeLogger logger,
TreeLogger.Type logLevel,
CompilerContext compilerContext,
String typeSourceName,
boolean hint)
Provides a meaning error message and hints for a type that failed to compile or is otherwise
missing.
|
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 |
---|---|
static PermutationResult |
JavaToJavaScriptCompiler.compilePermutation(UnifiedAst unifiedAst,
TreeLogger logger,
CompilerContext compilerContext,
Permutation permutation)
Compiles a particular permutation.
|
static JProgram |
AstConstructor.construct(TreeLogger logger,
CompilationState state,
CompilerContext compilerContext,
ConfigurationProperties config)
Construct an simple AST representing an entire
CompilationState . |
static UnifiedAst |
JavaToJavaScriptCompiler.precompile(TreeLogger logger,
CompilerContext compilerContext,
PrecompilationContext precompilationContext) |
Constructor and Description |
---|
JavaToJavaScriptCompiler(TreeLogger logger,
CompilerContext compilerContext) |
Modifier and Type | Method and Description |
---|---|
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
GenerateJavaScriptAST.exec(TreeLogger logger,
JProgram program,
JsProgram jsProgram,
CompilerContext compilerContext,
ResolveRuntimeTypeReferences.TypeMapper<?> typeMapper,
Map<StandardSymbolData,JsName> symbolTable,
PermutationProperties props)
This is the main entry point for the translation from Java to JavaScript.
|
static List<JDeclaredType> |
GwtAstBuilder.process(org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration cud,
String sourceMapPath,
Map<org.eclipse.jdt.internal.compiler.ast.MethodDeclaration,JsniMethod> jsniMethods,
Map<String,org.eclipse.jdt.internal.compiler.lookup.Binding> jsniRefs,
CompilerContext compilerContext)
Builds all the GWT AST nodes that correspond to one Java source file.
|
Constructor and Description |
---|
UnifyAst(TreeLogger logger,
CompilerContext compilerContext,
JProgram program,
JsProgram jsProgram,
PrecompilationContext precompilationContext) |
Copyright © 2018. All rights reserved.