
| Interface | Description |
|---|---|
| FreshNameGenerator |
An interface for producing fresh names.
|
| Class | Description |
|---|---|
| BaselineCoverageGatherer |
Build up a collection of all instrumentable lines, useful for generating
coverage reports.
|
| ClosureJsAst |
Maps the JavaScript AST to a Closure Compiler input source.
|
| ClosureJsAstTranslator |
Translate a GWT JS AST to a Closure Compiler AST.
|
| ClosureJsRunner |
A class that represents an single invocation of the Closure Compiler.
|
| CoverageInstrumentor |
Instruments the generated JavaScript to record code coverage information
about the original Java source.
|
| CoverageVisitor |
A visitor that visits every location in the AST where instrumentation is
desirable.
|
| EvalFunctionsAtTopScope |
Force all functions to be evaluated at the top of the lexical scope in which
they reside.
|
| JsAbstractSymbolResolver |
Base class for any recursive resolver classes.
|
| JsBreakUpLargeVarStatements |
Divides large var statements into smaller ones.
|
| JsCoerceIntShift |
Coerces lhs of right shift operations to int.
|
| JsConstructExpressionVisitor |
Searches for method invocations in constructor expressions that would not
normally be surrounded by parentheses.
|
| JsDuplicateCaseFolder |
Combine case labels with identical bodies.
|
| JsDuplicateFunctionRemover |
Replace references to functions which have post-obfuscation duplicate bodies
by reference to a canonical one.
|
| JsFirstExpressionVisitor |
Determines if an expression statement needs to be surrounded by parentheses.
|
| JsHoister |
A utility class to clone JsExpression AST members for use by
JsInliner. |
| JsHoister.Cloner |
Implements actual cloning logic.
|
| JsIEBlockSizeVisitor |
Some versions of IE7 have a limit on the number of statements that can appear
within a JsBlock.
|
| JsInliner |
Perform inlining optimizations on the JavaScript AST.
|
| JsNamer |
A class that allocates unique identifiers for JsNames.
|
| JsNormalizer |
Fixes any semantic errors introduced by JS AST gen.
|
| JsObfuscateNamer |
A namer that uses short, unrecognizable idents to minimize generated code
size.
|
| JsParser |
Parses JavaScript source.
|
| JsParserException.SourceDetail |
Represents the location of a parser exception.
|
| JsPrettyNamer |
A namer that keeps the short ("pretty") identifier wherever possible.
|
| JsProtectedNames |
Determines whether or not a particular string is a JavaScript keyword or an illegal name.
|
| JsReportGenerationVisitor |
A variation on the standard source generation visitor that records the
locations of SourceInfo objects in the output.
|
| JsRequiresSemiVisitor |
Determines if a statement at the end of a block requires a semicolon.
|
| JsSourceGenerationVisitor |
Generates JavaScript source from an AST.
|
| JsSourceGenerationVisitorWithSizeBreakdown |
A version of
JsSourceGenerationVisitor that records a
SizeBreakdown as it goes. |
| JsStackEmulator |
Emulates the JS stack in order to provide useful stack traces on browers that
do not provide useful stack information.
|
| JsStaticEval |
Removes JsFunctions that are never referenced in the program.
|
| JsStaticEval.FindBreakContinueStatementsVisitor |
Examines code to find out whether it contains any break or continue
statements.
|
| JsStringInterner |
Interns conditionally either all String literals in a JsProgram, or Strings
which exceed a certain usage count.
|
| JsSymbolResolver |
Resolves any unresolved JsNameRefs.
|
| JsToStringGenerationVisitor |
Produces text output from a JavaScript AST.
|
| JsUnusedFunctionRemover |
Removes JsFunctions that are never referenced in the program.
|
| JsVerboseNamer |
A namer that uses long, fully qualified names for maximum unambiguous
debuggability.
|
| SizeBreakdown |
A size breakdown of a single JavaScript code fragment.
|
| Enum | Description |
|---|---|
| JsStackEmulator.StackMode |
Corresponds to property compiler.stackMode in EmulateJsStack.gwt.xml
module.
|
| Exception | Description |
|---|---|
| JsParserException |
Indicates inability to parse JavaScript source.
|
Copyright © 2018. All rights reserved.