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
FieldsModifier and TypeFieldDescriptionprotected final CAstRewriterFactory<?, ?> protected final JavaScriptTranslatorFactory -
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptLoaderFactory(JavaScriptTranslatorFactory factory, CAstRewriterFactory<?, ?> preprocessor) -
Method Summary
Modifier and TypeMethodDescriptionget the reference to the single class loader for the languageprotected IClassLoaderMethods inherited from class SingleClassLoaderFactory
getLoader, getTheLoader
-
Field Details
-
translatorFactory
-
preprocessor
-
-
Constructor Details
-
JavaScriptLoaderFactory
-
JavaScriptLoaderFactory
public JavaScriptLoaderFactory(JavaScriptTranslatorFactory factory, CAstRewriterFactory<?, ?> preprocessor)
-
-
Method Details
-
makeTheLoader
- Specified by:
makeTheLoaderin classSingleClassLoaderFactory
-
getTheReference
Description copied from class:SingleClassLoaderFactoryget the reference to the single class loader for the language- Specified by:
getTheReferencein classSingleClassLoaderFactory
-