Modifier and Type | Method and Description |
---|---|
static List<SyntheticArtifact> |
EntityRecorder.makeSoycArtifacts(int permutationId,
List<JsSourceMap> sourceInfoMaps,
String sourceMapFilePrefix,
JavaToJavaScriptMap jjsmap,
SizeBreakdown[] sizeBreakdowns,
DependencyGraphRecorder codeGraph,
JProgram jprogram) |
Modifier and Type | Method and Description |
---|---|
static void |
SizeMapRecorder.recordMap(TreeLogger logger,
OutputStream out,
SizeBreakdown[] sizeBreakdowns,
JavaToJavaScriptMap jjsmap,
Map<JsName,JsLiteral> internedLiteralByVariableName) |
Modifier and Type | Method and Description |
---|---|
protected abstract Pair<SyntheticArtifact,MultipleDependencyGraphRecorder> |
JavaToJavaScriptCompiler.PermutationCompiler.splitJsIntoFragments(PermProps props,
int permutationId,
JavaToJavaScriptMap jjsmap) |
Modifier and Type | Class and Description |
---|---|
class |
JavaToJavaScriptMapImpl
The default implementation of a JavaToJavaScriptMap.
|
Modifier and Type | Field and Description |
---|---|
static JavaToJavaScriptMap |
JavaToJavaScriptMap.EMPTY |
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,
PermProps props)
This is the main entry point for the translation from Java to JavaScript.
|
Modifier and Type | Method and Description |
---|---|
static void |
VerifySymbolMap.exec(JsProgram jsProgram,
JavaToJavaScriptMap jjsmap,
Map<StandardSymbolData,JsName> symbolTable) |
Modifier and Type | Method and Description |
---|---|
static void |
CodeSplitter.exec(TreeLogger logger,
JProgram jprogram,
JsProgram jsprogram,
JavaToJavaScriptMap map,
int expectedFragmentCount,
int minFragmentSize,
MultipleDependencyGraphRecorder dependencyRecorder) |
static JMethod |
FragmentExtractor.methodFor(JsStatement stat,
JavaToJavaScriptMap map)
Return the Java method corresponding to
stat , or
null if there isn't one. |
Constructor and Description |
---|
FragmentExtractor(JProgram jprogram,
JsProgram jsprogram,
JavaToJavaScriptMap map) |
Modifier and Type | Method and Description |
---|---|
static void |
JsStackEmulator.exec(JProgram jprogram,
JsProgram jsProgram,
PermProps props,
JavaToJavaScriptMap jjsmap) |
static void |
JsNamespaceChooser.exec(JsProgram program,
JavaToJavaScriptMap jjsmap) |
static void |
EvalFunctionsAtTopScope.exec(JsProgram jsProgram,
JavaToJavaScriptMap map) |
Constructor and Description |
---|
EvalFunctionsAtTopScope(JavaToJavaScriptMap java2jsMap) |
JsReportGenerationVisitor(TextOutput out,
JavaToJavaScriptMap map,
boolean needSourcemapNames) |
JsSourceGenerationVisitorWithSizeBreakdown(TextOutput out,
JavaToJavaScriptMap javaToJavaScriptMap) |
Copyright © 2018. All rights reserved.