java.lang.Object
swim.vm.js.JsStaticModuleResolver
- All Implemented Interfaces:
JsModuleResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
defineModuleSource
(String moduleId, String source) void
defineModuleSource
(UriPath moduleId, String source) org.graalvm.polyglot.Source
loadModuleSource
(UriPath moduleId) protected void
prefixModuleSource
(UriPath moduleId, StringBuilder sourceBuilder) protected String
processModuleSource
(UriPath moduleId, String source) resolveModulePath
(UriPath basePath, UriPath modulePath) protected void
suffixModuleSource
(UriPath moduleId, StringBuilder sourceBuilder)
-
Constructor Details
-
JsStaticModuleResolver
public JsStaticModuleResolver()
-
-
Method Details
-
resolveModulePath
- Specified by:
resolveModulePath
in interfaceJsModuleResolver
-
loadModuleSource
- Specified by:
loadModuleSource
in interfaceJsModuleResolver
-
prefixModuleSource
-
suffixModuleSource
-
processModuleSource
-
defineModuleSource
-
defineModuleSource
-