bug fixes. Add Javascript language to analysis scope.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2121 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
6bebc54148
commit
3ea8de49e4
|
@ -73,15 +73,21 @@ public class Util extends com.ibm.wala.cast.ipa.callgraph.Util {
|
|||
}
|
||||
|
||||
public static AnalysisScope makeScope(String[] files, JavaScriptLoaderFactory loaders) throws IOException {
|
||||
return new CAstAnalysisScope(files, loaders);
|
||||
AnalysisScope result = new CAstAnalysisScope(files, loaders);
|
||||
result.addLanguageToScope(JavaScriptLoader.JS);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static AnalysisScope makeScope(SourceFileModule[] files, JavaScriptLoaderFactory loaders) throws IOException {
|
||||
return new CAstAnalysisScope(files, loaders);
|
||||
AnalysisScope result = new CAstAnalysisScope(files, loaders);
|
||||
result.addLanguageToScope(JavaScriptLoader.JS);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static AnalysisScope makeScope(URL[] files, JavaScriptLoaderFactory loaders) throws IOException {
|
||||
return new CAstAnalysisScope(files, loaders);
|
||||
AnalysisScope result = new CAstAnalysisScope(files, loaders);
|
||||
result.addLanguageToScope(JavaScriptLoader.JS);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static IClassHierarchy makeHierarchy(AnalysisScope scope, ClassLoaderFactory loaders)
|
||||
|
|
Loading…
Reference in New Issue