- java.lang.Object
-
- swim.vm.js.JsStaticModuleResolver
-
- All Implemented Interfaces:
JsModuleResolver
public class JsStaticModuleResolver extends Object implements JsModuleResolver
-
-
Constructor Summary
Constructors Constructor Description JsStaticModuleResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineModuleSource(String moduleId, String source)voiddefineModuleSource(UriPath moduleId, String source)org.graalvm.polyglot.SourceloadModuleSource(UriPath moduleId)protected voidprefixModuleSource(UriPath moduleId, StringBuilder sourceBuilder)protected StringprocessModuleSource(UriPath moduleId, String source)UriPathresolveModulePath(UriPath basePath, UriPath modulePath)protected voidsuffixModuleSource(UriPath moduleId, StringBuilder sourceBuilder)
-
-
-
Method Detail
-
resolveModulePath
public UriPath resolveModulePath(UriPath basePath, UriPath modulePath)
- Specified by:
resolveModulePathin interfaceJsModuleResolver
-
loadModuleSource
public org.graalvm.polyglot.Source loadModuleSource(UriPath moduleId)
- Specified by:
loadModuleSourcein interfaceJsModuleResolver
-
prefixModuleSource
protected void prefixModuleSource(UriPath moduleId, StringBuilder sourceBuilder)
-
suffixModuleSource
protected void suffixModuleSource(UriPath moduleId, StringBuilder sourceBuilder)
-
-