Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.lint | |
com.google.javascript.refactoring |
Modifier and Type | Class and Description |
---|---|
private class |
CheckProvides.CheckProvidesCallback |
private class |
ExportTestFunctions.ExportTestFunctionsNodes |
private class |
ExtractPrototypeMemberDeclarations.GatherExtractionInfo
Collects all the possible extraction instances in a node traversal.
|
(package private) static class |
FieldCleanupPass.QualifiedNameSearchTraversal
Search for fields to cleanup by looking for nodes in the tree which are
root nodes of qualified names and getting the final token of the qualified
name as a candidate field.
|
private class |
FlowSensitiveInlineVariables.GatherCandiates
Gathers a list of possible candidates for inlining based only on
information from
MustBeReachingVariableDef . |
private class |
GlobalTypeInfo.CollectNamedTypes
Collects names of classes, interfaces, namespaces, typedefs and enums.
|
private class |
GlobalTypeInfo.ProcessScope |
private class |
NameAnalyzer.HoistVariableAndFunctionDeclarations
Create JsName objects for variable and function declarations in
the global scope before computing name references.
|
private class |
PeepholeOptimizationsPass.PeepCallback |
private class |
UnreachableCodeElimination.EliminationPass |
private class |
VariableReferenceCheck.ReferenceCheckingBehavior.ShallowReferenceCollector
Do a shallow check since cases like:
function f(y = () => x, x = 5) { return y(); }
is legal.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckRequiresAndProvidesSorted
Checks that goog.require() and goog.provide() calls are sorted alphabetically.
|
Modifier and Type | Class and Description |
---|---|
private static class |
ErrorToFixMapper.RequireProvideSorter |