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.
|
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.
|
DuplicateClinitRemover |
This is used to clean up duplication invocations of clinit function.
|
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.
|
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.
|
JsForceInliningChecker |
Makes sure methods marked with @ForceInline are actually inlined in optimized mode.
|
JsIncrementalNamer |
A namer that creates short but readable identifiers wherever possible.
|
JsIncrementalNamer.JsIncrementalNamerState |
Encapsulates the complete state of this namer so that state can be persisted and reused.
|
JsInliner |
Perform inlining optimizations on the JavaScript AST.
|
JsLiteralInterner |
Interns conditionally either all literals in a JsProgram, or literals
which exceed a certain usage count.
|
JsNamer |
A class that allocates unique identifiers for JsNames.
|
JsNamespaceChooser |
A compiler pass that creates a namespace for each Java package
with at least one global variable or function.
|
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.
|
JsSafeCloner |
A utility class to clone JsExpression AST members.
|
JsSafeCloner.Cloner |
Implements actual cloning logic.
|
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 browsers 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.
|
JsSymbolResolver |
Resolves any unresolved JsNameRefs.
|
JsToStringGenerationVisitor |
Produces text output from a JavaScript AST.
|
JsUnusedFunctionRemover |
Removes JsFunctions that are never referenced in the program.
|
JsUtils |
Utils for JS AST.
|
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 |
---|---|
JsNamespaceOption |
An option that controls how the GWT compiler splits up JavaScript globals
into namespaces.
|
JsStackEmulator.StackMode |
Corresponds to property compiler.stackMode in EmulateJsStack.gwt.xml
module.
|
JsUtils.InvocationStyle |
Invocation styles.
|
Exception | Description |
---|---|
JsNamer.IllegalNameException |
Indicates the presence of a naming problem that prevents further compilation.
|
JsParserException |
Indicates inability to parse JavaScript source.
|
Copyright © 2018. All rights reserved.