Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
CallGraph.Callsite |
CallGraph.getCallsiteForAstNode(Node callsiteNode)
Returns the call graph Callsite object corresponding to the provided
AST Token.CALL or Token.NEW node, or null if no such object exists.
|
Modifier and Type | Method and Description |
---|---|
Collection<CallGraph.Callsite> |
CallGraph.getAllCallsites()
Returns a collection of all callsites in the call graph.
|
DiGraph<CallGraph.Function,CallGraph.Callsite> |
CallGraph.getBackwardDirectedGraph()
Constructs and returns a directed graph where the nodes are functions and
the edges are callsites connecting callees to callers.
|
Collection<CallGraph.Callsite> |
CallGraph.Function.getCallsitesInFunction()
Returns the callsites in this function.
|
Collection<CallGraph.Callsite> |
CallGraph.Function.getCallsitesPossiblyTargetingFunction()
Returns a collection of callsites that might call this function.
|
DiGraph<CallGraph.Function,CallGraph.Callsite> |
CallGraph.getForwardDirectedGraph()
Constructs and returns a directed graph where the nodes are functions and
the edges are callsites connecting callers to callees.
|
Copyright © 2009-2016 Google. All Rights Reserved.