Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.lint |
Modifier and Type | Interface and Description |
---|---|
interface |
HotSwapCompilerPass
Interface for compiler passes that can be used in a hot-swap fashion.
|
Modifier and Type | Class and Description |
---|---|
class |
AstValidator
This class walks the AST and validates that the structure is correct.
|
class |
CallGraph
A pass the uses a
DefinitionProvider to compute a call graph for an
AST. |
class |
CheckEventfulObjectDisposal
Check to ensure there exists a path to dispose of each eventful object
created.
|
class |
FieldCleanupPass
A CleanupPass implementation that will remove all field declarations on
JSTypes contributed by the original file.
|
class |
InlineProperties
InlineProperties attempts to find references to properties that are known to
be constants and inline the known value.
|
class |
NewTypeInference
New type inference algorithm.
|
class |
ObjectPropertyStringPreprocess
Rewrites
new goog.testing.ObjectPropertyString(foo, 'bar') to
new JSCompiler_ObjectPropertyString(window, foo.bar) . |
class |
ProcessCommonJSModules
Rewrites a CommonJS module http://wiki.commonjs.org/wiki/Modules/1.1.1
into a form that can be safely concatenated.
|
class |
TypeCheck
Checks the types of JS expressions against any declared type
information.
|
Modifier and Type | Field and Description |
---|---|
com.google.common.collect.Multimap<CustomPassExecutionTime,CompilerPass> |
CompilerOptions.customPasses
Custom passes
|
Modifier and Type | Method and Description |
---|---|
void |
CompilerOptions.setCustomPasses(com.google.common.collect.Multimap<CustomPassExecutionTime,CompilerPass> customPasses) |
Modifier and Type | Class and Description |
---|---|
class |
CheckNullableReturn
Checks when a function is annotated as returning {SomeType} (nullable)
but actually always returns {!SomeType}, i.e.
|
Copyright © 2009-2014 Google. All Rights Reserved.