Class JsImportsGenerator.Imports
java.lang.Object
com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
- Enclosing class:
- JsImportsGenerator
Represents the JavaScript imports for a the Wasm module.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsImportsGenerator.Importscreate(com.google.common.collect.ImmutableMap<com.google.j2cl.transpiler.ast.MethodDescriptor, com.google.j2cl.transpiler.backend.wasm.JsMethodImport> methodImports, com.google.common.collect.ImmutableSet<String> moduleImports) abstract com.google.common.collect.ImmutableMap<com.google.j2cl.transpiler.ast.MethodDescriptor,com.google.j2cl.transpiler.backend.wasm.JsMethodImport> abstract com.google.common.collect.ImmutableSet<String>
-
Constructor Details
-
Imports
public Imports()
-
-
Method Details
-
getMethodImports
public abstract com.google.common.collect.ImmutableMap<com.google.j2cl.transpiler.ast.MethodDescriptor,com.google.j2cl.transpiler.backend.wasm.JsMethodImport> getMethodImports() -
getModuleImports
-
create
public static JsImportsGenerator.Imports create(com.google.common.collect.ImmutableMap<com.google.j2cl.transpiler.ast.MethodDescriptor, com.google.j2cl.transpiler.backend.wasm.JsMethodImport> methodImports, com.google.common.collect.ImmutableSet<String> moduleImports)
-