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 | Field and Description |
---|---|
protected JsProgram |
JavaToJavaScriptCompiler.jsProgram |
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,
PermProps props) |
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.
|
Constructor and Description |
---|
UnifyAst(TreeLogger logger,
CompilerContext compilerContext,
JProgram program,
JsProgram jsProgram,
RebindPermutationOracle rpo) |
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) |
Modifier and Type | Field and Description |
---|---|
protected JsProgram |
JsNamer.program |
Modifier and Type | Method and Description |
---|---|
void |
ClosureJsRunner.compile(JProgram jprogram,
JsProgram program,
String[] js,
JsOutputOption jsOutputOption) |
void |
JsAbstractSymbolResolver.endVisit(JsProgram x,
JsContext ctx) |
void |
EvalFunctionsAtTopScope.endVisit(JsProgram x,
JsContext ctx) |
static Map<JsName,JsLiteral> |
JsLiteralInterner.exec(JProgram jprogram,
JsProgram program,
byte whatToIntern)
Apply interning of literals to a JsProgram.
|
static void |
JsStackEmulator.exec(JProgram jprogram,
JsProgram jsProgram,
PermProps props,
JavaToJavaScriptMap jjsmap) |
static OptimizerStats |
JsUnusedFunctionRemover.exec(JsProgram program) |
static void |
JsSymbolResolver.exec(JsProgram program) |
static boolean |
JsDuplicateCaseFolder.exec(JsProgram program) |
static OptimizerStats |
DuplicateExecuteOnceRemover.exec(JsProgram program)
Static entry point used by JavaToJavaScriptCompiler.
|
static FreshNameGenerator |
JsObfuscateNamer.exec(JsProgram program) |
static OptimizerStats |
JsStaticEval.exec(JsProgram program) |
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,
ConfigProps config) |
static FreshNameGenerator |
JsObfuscateNamer.exec(JsProgram program,
ConfigProps config) |
static void |
JsVerboseNamer.exec(JsProgram program,
ConfigProps config) |
static void |
JsBreakUpLargeVarStatements.exec(JsProgram program,
ConfigProps configMap) |
static void |
JsPersistentPrettyNamer.exec(JsProgram program,
ConfigProps config,
JsPersistentPrettyNamer.PersistentPrettyNamerState state) |
static boolean |
JsDuplicateFunctionRemover.exec(JsProgram program,
FreshNameGenerator nameGenerator)
Entry point for the removeDuplicateFunctions optimization.
|
static void |
JsNamespaceChooser.exec(JsProgram program,
JavaToJavaScriptMap jjsmap) |
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.
|
static void |
CoverageInstrumentor.exec(JsProgram jsProgram,
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,Integer> instrumentableLines) |
static <T extends JsVisitable> |
JsStaticEval.exec(JsProgram program,
T node) |
static boolean |
JsCoerceIntShift.exec(JsProgram program,
TreeLogger logger,
PropertyOracle[] propertyOracles)
If this permutation may be executed on WebKit, rewrite a >> b as ~~a >> b.
|
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 |
---|
DuplicateExecuteOnceRemover(JsProgram program) |
DuplicateExecuteOnceRemover(JsProgram program,
Set<JsFunction> alreadyCalled) |
JsDuplicateFunctionRemover(JsProgram program,
FreshNameGenerator freshNameGenerator) |
JsNamer(JsProgram program,
ConfigProps config) |
JsObfuscateNamer(JsProgram program,
ConfigProps config) |
JsPersistentPrettyNamer(JsProgram program,
ConfigProps config,
JsPersistentPrettyNamer.PersistentPrettyNamerState state) |
JsPrettyNamer(JsProgram program,
ConfigProps config) |
JsStaticEval(JsProgram program) |
JsUnusedFunctionRemover(JsProgram program) |
JsVerboseNamer(JsProgram program,
ConfigProps config) |
Modifier and Type | Method and Description |
---|---|
void |
JsSuperVisitor.endVisit(JsProgram x,
JsContext ctx) |
void |
JsVisitor.endVisit(JsProgram x,
JsContext ctx) |
boolean |
JsSuperVisitor.visit(JsProgram x,
JsContext ctx) |
boolean |
JsVisitor.visit(JsProgram x,
JsContext ctx) |
Copyright © 2018. All rights reserved.