Class JavaScriptLoaderFactory
java.lang.Object
com.ibm.wala.cast.loader.SingleClassLoaderFactory
com.ibm.wala.cast.js.loader.JavaScriptLoaderFactory
- All Implemented Interfaces:
ClassLoaderFactory
- Direct Known Subclasses:
WebPageLoaderFactory
Creates the single
class loader
used for JavaScript.-
Field Summary
Modifier and TypeFieldDescriptionprotected final CAstRewriterFactory
<?, ?> protected final JavaScriptTranslatorFactory
-
Constructor Summary
ConstructorDescriptionJavaScriptLoaderFactory
(JavaScriptTranslatorFactory factory, CAstRewriterFactory<?, ?> preprocessor) -
Method Summary
Modifier and TypeMethodDescriptionget the reference to the single class loader for the languageprotected IClassLoader
Methods inherited from class com.ibm.wala.cast.loader.SingleClassLoaderFactory
getLoader, getTheLoader
-
Field Details
-
translatorFactory
-
preprocessor
-
-
Constructor Details
-
JavaScriptLoaderFactory
-
JavaScriptLoaderFactory
public JavaScriptLoaderFactory(JavaScriptTranslatorFactory factory, CAstRewriterFactory<?, ?> preprocessor)
-
-
Method Details
-
makeTheLoader
- Specified by:
makeTheLoader
in classSingleClassLoaderFactory
-
getTheReference
Description copied from class:SingleClassLoaderFactory
get the reference to the single class loader for the language- Specified by:
getTheReference
in classSingleClassLoaderFactory
-