Package | Description |
---|---|
com.google.gwt.dev.jjs | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Method and Description |
---|---|
protected abstract ResolveRuntimeTypeReferences.TypeMapper<?> |
JavaToJavaScriptCompiler.PermutationCompiler.normalizeSemantics()
Transform patterns that can't be represented in JS (such as multiple catch blocks) into
equivalent but compatible patterns and take JVM semantics (such as numeric casts) that are
not explicit in the AST and make them explicit.
These passes can not be reordering because of subtle interdependencies. |
Modifier and Type | Class and Description |
---|---|
static class |
ResolveRuntimeTypeReferences.IntTypeMapper
Sequentially creates int type ids for types.
|
static class |
ResolveRuntimeTypeReferences.StringTypeMapper
Predictably creates String type id literals for castable and instantiable types.
|
Modifier and Type | Method and Description |
---|---|
void |
ResolveRuntimeTypeReferences.IntTypeMapper.copyFrom(ResolveRuntimeTypeReferences.TypeMapper<Integer> that) |
void |
ResolveRuntimeTypeReferences.StringTypeMapper.copyFrom(ResolveRuntimeTypeReferences.TypeMapper<String> that) |
void |
ResolveRuntimeTypeReferences.TypeMapper.copyFrom(ResolveRuntimeTypeReferences.TypeMapper<T> typeMapper) |
static void |
ResolveRuntimeTypeReferences.exec(JProgram program,
ResolveRuntimeTypeReferences.TypeMapper<?> typeMapper,
ResolveRuntimeTypeReferences.TypeOrder typeOrder) |
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
GenerateJavaScriptAST.exec(TreeLogger logger,
JProgram program,
JsProgram jsProgram,
CompilerContext compilerContext,
ResolveRuntimeTypeReferences.TypeMapper<?> typeMapper,
Map<StandardSymbolData,JsName> symbolTable,
PermProps props)
This is the main entry point for the translation from Java to JavaScript.
|
Copyright © 2016. All rights reserved.