Modifier and Type | Method and Description |
---|---|
Node |
getAstNode()
Returns the underlying AST node for the function.
|
Node |
getBodyNode()
Returns the AST node for the body of the function.
|
Collection<CallGraph.Callsite> |
getCallsitesInFunction()
Returns the callsites in this function.
|
Collection<CallGraph.Callsite> |
getCallsitesPossiblyTargetingFunction()
Returns a collection of callsites that might call this function.
|
String |
getName()
Gets the name of this function.
|
boolean |
isAliased()
Returns true if the function is aliased.
|
boolean |
isExposedToCallOrApply()
Returns true if the function is ever exposed to ".call" or ".apply".
|
boolean |
isMain()
Does this function represent the global "main" function?
|
public boolean isMain()
public Node getAstNode()
public Node getBodyNode()
public String getName()
public Collection<CallGraph.Callsite> getCallsitesInFunction()
public Collection<CallGraph.Callsite> getCallsitesPossiblyTargetingFunction()
computeBackwardGraph
false
.public boolean isAliased()
public boolean isExposedToCallOrApply()
Copyright © 2009-2017 Google. All Rights Reserved.