Class JsImportsGenerator.Imports

java.lang.Object
com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
Enclosing class:
JsImportsGenerator

public abstract static class JsImportsGenerator.Imports extends Object
Represents the JavaScript imports for a the Wasm module.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public abstract com.google.common.collect.ImmutableSet<String> 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)