WALA/com.ibm.wala.cast.js/source/com/ibm/wala/cast/js/analysis/typeInference
Manu Sridharan 3b1889121b add missing copyright headers 2013-05-22 15:39:19 -07:00
..
JSPrimitiveType.java add missing copyright headers 2013-05-22 15:39:19 -07:00
JSTypeInference.java Changes motivated by analysis issues in JavaScript. The main change is that calls of the form f.x() in JavaScript are now analyzed like 'method calls' so that the 'this' pointer in the receiver functions can be filtered based upon the types that actually have the method being invoked. This requires much more dynamic filtering than in a language like Java, since properties like 'x' are simply properties that happen to hold functions, and so can be assigned in a first-class manner. Thus, the filtering needs to handle variance in both the types and the values of their properties; this is implemented as multiple levels of abstract object directed side effect equations in the dataflow system. 2012-03-01 02:45:51 +00:00