Package | Description |
---|---|
com.google.gwt.dev.jjs | |
com.google.gwt.dev.jjs.impl | |
com.google.gwt.dev.jjs.impl.codesplitter | |
com.google.gwt.dev.js | |
com.google.gwt.dev.js.ast |
Modifier and Type | Method and Description |
---|---|
JsProgram |
UnifiedAst.AST.getJsProgram() |
Constructor and Description |
---|
AST(JProgram jProgram,
JsProgram jsProgram) |
Modifier and Type | Method and Description |
---|---|
static void |
VerifySymbolMap.exec(JsProgram jsProgram,
JavaToJavaScriptMap jjsmap,
Map<StandardSymbolData,JsName> symbolTable) |
static void |
HandleCrossFragmentReferences.exec(JsProgram jsProgram,
PermutationProperties properties) |
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.
|
Constructor and Description |
---|
UnifyAst(TreeLogger logger,
CompilerContext compilerContext,
JProgram program,
JsProgram jsProgram,
PrecompilationContext precompilationContext) |
Modifier and Type | Method and Description |
---|---|
static void |
CodeSplitter.exec(TreeLogger logger,
JProgram jprogram,
JsProgram jsprogram,
JavaToJavaScriptMap map,
int expectedFragmentCount,
int minFragmentSize,
MultipleDependencyGraphRecorder dependencyRecorder) |
Constructor and Description |
---|
FragmentExtractor(JProgram jprogram,
JsProgram jsprogram,
JavaToJavaScriptMap map) |
FragmentExtractor(JsProgram jsprogram,
JavaToJavaScriptMap map,
JsName asyncFragmentLoaderOnLoadFnName,
JsName defineClassFnName) |
Modifier and Type | Field and Description |
---|---|
protected JsProgram |
JsNamer.program |
Modifier and Type | Method and Description |
---|---|
static void |
JsForceInliningChecker.check(TreeLogger logger,
JavaToJavaScriptMap javaToJavaScriptMap,
JsProgram program)
Static entry point used by JavaToJavaScriptCompiler.
|
void |
JsAbstractSymbolResolver.endVisit(JsProgram x,
JsContext ctx) |
void |
EvalFunctionsAtTopScope.endVisit(JsProgram x,
JsContext ctx) |
static Map<JsName,JsLiteral> |
JsLiteralInterner.exec(JProgram jprogram,
JsProgram program,
int whatToIntern)
Apply interning of literals to a JsProgram.
|
static void |
JsNamespaceChooser.exec(JProgram jprogram,
JsProgram jsprogram,
JavaToJavaScriptMap jjsmap) |
static void |
CoverageInstrumentor.exec(JProgram jprogram,
JsProgram jsProgram,
JavaToJavaScriptMap jjsmap,
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,Integer> instrumentableLines) |
static void |
JsStackEmulator.exec(JProgram jprogram,
JsProgram jsProgram,
PermutationProperties properties,
JavaToJavaScriptMap jjsmap) |
static OptimizerStats |
JsUnusedFunctionRemover.exec(JsProgram program) |
static void |
JsSymbolResolver.exec(JsProgram program) |
static boolean |
JsDuplicateCaseFolder.exec(JsProgram program) |
static FreshNameGenerator |
JsObfuscateNamer.exec(JsProgram program) |
static OptimizerStats |
JsStaticEval.exec(JsProgram program) |
static OptimizerStats |
DuplicateClinitRemover.exec(JsProgram program)
Static entry point used by JavaToJavaScriptCompiler.
|
static void |
JsNormalizer.exec(JsProgram program) |
static OptimizerStats |
JsInliner.exec(JsProgram program,
Collection<JsNode> toInline)
Static entry point used by JavaToJavaScriptCompiler.
|
static void |
JsPrettyNamer.exec(JsProgram program,
ConfigurationProperties config) |
static FreshNameGenerator |
JsObfuscateNamer.exec(JsProgram program,
ConfigurationProperties config) |
static void |
JsVerboseNamer.exec(JsProgram program,
ConfigurationProperties config) |
static void |
JsBreakUpLargeVarStatements.exec(JsProgram program,
ConfigurationProperties configurationProperties) |
static void |
JsIncrementalNamer.exec(JsProgram program,
ConfigurationProperties config,
JsIncrementalNamer.JsIncrementalNamerState state,
JavaToJavaScriptMap jjsmap,
boolean minifyFunctionNames) |
static boolean |
JsDuplicateFunctionRemover.exec(JsProgram program,
FreshNameGenerator nameGenerator)
Entry point for the removeDuplicateFunctions optimization.
|
static void |
EvalFunctionsAtTopScope.exec(JsProgram jsProgram,
JavaToJavaScriptMap map) |
static boolean |
JsLiteralInterner.exec(JsProgram program,
JsBlock block,
JsScope scope,
boolean alwaysIntern)
Intern literals that occur within a JsBlock.
|
boolean |
JsSourceGenerationVisitor.visit(JsProgram x,
JsContext ctx) |
boolean |
JsToStringGenerationVisitor.visit(JsProgram x,
JsContext ctx) |
boolean |
JsAbstractSymbolResolver.visit(JsProgram x,
JsContext ctx) |
boolean |
EvalFunctionsAtTopScope.visit(JsProgram x,
JsContext ctx) |
Constructor and Description |
---|
DuplicateClinitRemover(JsProgram program) |
DuplicateClinitRemover(JsProgram program,
Set<JsFunction> alreadyCalled) |
JsDuplicateFunctionRemover(JsProgram program,
FreshNameGenerator freshNameGenerator) |
JsIncrementalNamer(JsProgram program,
ConfigurationProperties config,
JsIncrementalNamer.JsIncrementalNamerState state,
JavaToJavaScriptMap jjsmap,
boolean minifyFunctionNames) |
JsNamer(JsProgram program,
ConfigurationProperties config) |
JsObfuscateNamer(JsProgram program,
ConfigurationProperties config) |
JsPrettyNamer(JsProgram program,
ConfigurationProperties config) |
JsStaticEval(JsProgram program) |
JsUnusedFunctionRemover(JsProgram program) |
JsVerboseNamer(JsProgram program,
ConfigurationProperties config) |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsProgram x,
JsContext ctx) |
void |
JsVisitor.endVisit(JsProgram x,
JsContext ctx) |
static void |
JavaScriptVerifier.verify(JsProgram jsProgram,
JavaToJavaScriptMap map) |
static void |
JavaScriptVerifier.verifyTopLevelMethodMapping(JsProgram jsProgram,
JavaToJavaScriptMap map) |
boolean |
JsSuperVisitor.visit(JsProgram x,
JsContext ctx) |
boolean |
JsVisitor.visit(JsProgram x,
JsContext ctx) |
Copyright © 2018. All rights reserved.