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() |
Modifier and Type | Method and Description |
---|---|
protected static void |
JavaToJavaScriptCompiler.optimizeJs(JJSOptions options,
JsProgram jsProgram,
Collection<JsNode> toInline) |
Constructor and Description |
---|
AST(JProgram jProgram,
JsProgram jsProgram) |
Modifier and Type | Field and Description |
---|---|
JsProgram |
JavaAndJavaScript.jsprogram |
Modifier and Type | Method and Description |
---|---|
static Pair<JavaToJavaScriptMap,Set<JsNode>> |
GenerateJavaScriptAST.exec(JProgram program,
JsProgram jsProgram,
JsOutputOption outputOption,
Map<StandardSymbolData,JsName> symbolTable,
PropertyOracle[] propertyOracles)
This is the main entry point for the translation from Java to JavaScript.
|
static void |
VerifySymbolMap.exec(JsProgram jsProgram,
JavaToJavaScriptMap jjsmap,
Map<StandardSymbolData,JsName> symbolTable) |
static void |
HandleCrossFragmentReferences.exec(TreeLogger logger,
JsProgram jsProgram,
PropertyOracle[] propertyOracles) |
Constructor and Description |
---|
JavaAndJavaScript(JProgram jprogram,
JsProgram jsprogram,
String[] jscode,
JavaToJavaScriptMap map) |
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,String> |
JsStringInterner.exec(JProgram jprogram,
JsProgram program,
boolean alwaysIntern)
Apply interning of String literals to a JsProgram.
|
static void |
JsStackEmulator.exec(JProgram jprogram,
JsProgram jsProgram,
PropertyOracle[] propertyOracles,
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 void |
JsIEBlockSizeVisitor.exec(JsProgram program)
Entry point.
|
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 boolean |
JsDuplicateFunctionRemover.exec(JsProgram program,
FreshNameGenerator nameGenerator)
Entry point for the removeDuplicateFunctions optimization.
|
static void |
EvalFunctionsAtTopScope.exec(JsProgram jsProgram,
JavaToJavaScriptMap map) |
static boolean |
JsStringInterner.exec(JsProgram program,
JsBlock block,
JsScope scope,
boolean alwaysIntern)
Intern String literals that occur within a JsBlock.
|
static void |
CoverageInstrumentor.exec(JsProgram jsProgram,
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,Integer> instrumentableLines) |
static void |
JsPrettyNamer.exec(JsProgram program,
PropertyOracle[] propertyOracles) |
static FreshNameGenerator |
JsObfuscateNamer.exec(JsProgram program,
PropertyOracle[] propertyOracles) |
static void |
JsVerboseNamer.exec(JsProgram program,
PropertyOracle[] propertyOracles) |
static void |
JsBreakUpLargeVarStatements.exec(JsProgram program,
PropertyOracle[] propertyOracles) |
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 |
JsSourceGenerationVisitorWithSizeBreakdown.visit(JsProgram x,
JsContext ctx) |
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 |
---|
JsDuplicateFunctionRemover(JsProgram program,
FreshNameGenerator freshNameGenerator) |
JsNamer(JsProgram program,
PropertyOracle[] propertyOracles) |
JsObfuscateNamer(JsProgram program,
PropertyOracle[] propertyOracles) |
JsPrettyNamer(JsProgram program,
PropertyOracle[] propertyOracles) |
JsStaticEval(JsProgram program) |
JsUnusedFunctionRemover(JsProgram program) |
JsVerboseNamer(JsProgram program,
PropertyOracle[] propertyOracles) |
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.