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.
|
DuplicateExecuteOnceRemover |
This is used to clean up duplication invocations of functions that should
only be executed once, such as clinit functions.
|
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.
|
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.
|
JsPersistentPrettyNamer |
A namer that keeps the short ("pretty") identifier wherever possible.
|
JsPersistentPrettyNamer.PersistentPrettyNamerState |
Encapsulates the complete state of this namer so that state can be persisted and reused.
|
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.
|
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.
|
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.