|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.javascript.jscomp.CallGraph.Callsite
public class CallGraph.Callsite
An inner class that represents call sites in the call graph. A Callsite knows how to get its AST node, what its containing Function is, and what its target Functions are.
Method Summary | |
---|---|
Node |
getAstNode()
|
CallGraph.Function |
getContainingFunction()
|
Collection<CallGraph.Function> |
getPossibleTargets()
Returns the possible target functions that this callsite could call. |
boolean |
hasExternTarget()
If true, then this callsite could target a function defined in the externs. |
boolean |
hasUnknownTarget()
If true, then DefinitionProvider used in callgraph construction was unable find all target functions of this callsite. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Node getAstNode()
public CallGraph.Function getContainingFunction()
public Collection<CallGraph.Function> getPossibleTargets()
computeForwardGraph
false
.
public boolean hasUnknownTarget()
public boolean hasExternTarget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |