Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.Multimap<java.lang.String,UseSite> |
SimpleDefinitionFinder.nameUseSiteMultimap |
Modifier and Type | Method and Description |
---|---|
(package private) java.util.Collection<UseSite> |
SimpleDefinitionFinder.getUseSites(DefinitionsRemover.Definition definition)
Returns a collection of use sites that may refer to provided
definition.
|
Modifier and Type | Method and Description |
---|---|
private static Node |
RemoveUnusedVars.CallSiteOptimizer.getArgumentForCallOrNewOrDotCall(UseSite site,
int argIndex)
Returns the nth argument node given a usage site for a direct function
call or for a func.call() node.
|
private static boolean |
OptimizeReturns.isCall(UseSite site)
Determines if the name node acts as the function name in a call expression.
|
private static boolean |
DevirtualizePrototypeMethods.isCall(UseSite site)
Determines if the name node acts as the function name in a call expression.
|
(package private) static boolean |
SimpleDefinitionFinder.isCallOrNewSite(UseSite use) |
private static boolean |
RemoveUnusedVars.CallSiteOptimizer.isModifiableCallSite(UseSite site) |