Class JavaScriptScopeMappingInstanceKeys
java.lang.Object
com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
com.ibm.wala.cast.js.ipa.callgraph.JavaScriptScopeMappingInstanceKeys
- All Implemented Interfaces:
InstanceKeyFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
ScopeMappingInstanceKeys.ScopeMappingInstanceKey
-
Field Summary
Fields inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
builder
-
Constructor Summary
ConstructorDescriptionJavaScriptScopeMappingInstanceKeys
(IClassHierarchy cha, PropagationCallGraphBuilder builder, InstanceKeyFactory basic) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
<CGNode> getConstructorCallers
(ScopeMappingInstanceKeys.ScopeMappingInstanceKey smik, Pair<String, String> name) get the CGNodes corresponding to the method that invoked the constructor for smikprotected AstMethod.LexicalParent[]
getParents
(InstanceKey base) protected boolean
does base require a scope mapping key? Typically, true if base is allocated in a nested lexical scope, to handle the case of base being a function that performs closure accessesMethods inherited from class com.ibm.wala.cast.ipa.callgraph.ScopeMappingInstanceKeys
getInstanceKeyForAllocation, getInstanceKeyForConstant, getInstanceKeyForMetadataObject, getInstanceKeyForMultiNewArray, getInstanceKeyForPEI
-
Constructor Details
-
JavaScriptScopeMappingInstanceKeys
public JavaScriptScopeMappingInstanceKeys(IClassHierarchy cha, PropagationCallGraphBuilder builder, InstanceKeyFactory basic)
-
-
Method Details
-
getParents
-
needsScopeMappingKey
Description copied from class:ScopeMappingInstanceKeys
does base require a scope mapping key? Typically, true if base is allocated in a nested lexical scope, to handle the case of base being a function that performs closure accesses- Specified by:
needsScopeMappingKey
in classScopeMappingInstanceKeys
-
getConstructorCallers
protected Collection<CGNode> getConstructorCallers(ScopeMappingInstanceKeys.ScopeMappingInstanceKey smik, Pair<String, String> name) Description copied from class:ScopeMappingInstanceKeys
get the CGNodes corresponding to the method that invoked the constructor for smik- Specified by:
getConstructorCallers
in classScopeMappingInstanceKeys
-