Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ADD - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- AND - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
C
- collectImports(Library, Problems) - Static method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator
-
Collects JavaScript imports that are referenced in the library.
- com.google.j2cl.transpiler.backend.wasm - package com.google.j2cl.transpiler.backend.wasm
- create(ImmutableMap<MethodDescriptor, JsMethodImport>, ImmutableSet<String>) - Static method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
D
- DIV - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
E
- emitEmptyItableGlobal() - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- emitExceptionTag() - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- emitGlobals(Library) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- emitItableInterfaceGetter(String, String) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- emitItableInterfaceGetters(Library) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- emitToString(Consumer<WasmConstructsGenerator>) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
- EQ - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- EQZ - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
G
- GE - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- generateModularOutput(Library, OutputUtils.Output, Path, Problems) - Static method in class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
- generateMonolithicOutput(Library, OutputUtils.Output, Path, Problems) - Static method in class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
- generateOutputs(OutputUtils.Output, JsImportsGenerator.Imports) - Static method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator
-
Generates the JavaScript code to support the imports.
- generateOutputs(Collection<String>, Map<String, String>) - Static method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator
-
Generates the JavaScript code to support the imports.
- generateWasmExportMethods(List<Method>, OutputUtils.Output, Problems) - Static method in class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
- get(UnaryExpression) - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
- getDataElementNameForLiteral(ArrayLiteral) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the data segment index for this literal and null if it does not have one.
- getEnvironment() - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
- getInstruction(BinaryExpression) - Method in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- getInstruction(UnaryExpression) - Method in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
- getItableFieldIndex(T) - Method in class com.google.j2cl.transpiler.backend.wasm.ItableAllocator
-
Returns the field index for an interface, or -1 if the interface is not implemented by any class.
- getItableSize() - Method in class com.google.j2cl.transpiler.backend.wasm.ItableAllocator
-
Returns the number of fields needed in the itable structures.
- getJsImports() - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- getJsMethodImport(MethodDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- getMethodImplementationName(MethodDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global function that implements the method.
- getMethodImports() - Method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
- getModuleImports() - Method in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
- getOperandType(BinaryExpression) - Method in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- getOperation(BinaryExpression) - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- getTypeSignature(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- getTypeSignature(TypeDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- getVtableFieldName(MethodDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the field in the vtable that corresponds to
methodDescriptor. - getWasmEmptyArrayGlobalName(ArrayTypeDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- getWasmInterfaceVtableGlobalName(TypeDeclaration, TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global that stores the vtable for a Java type.
- getWasmItableGlobalName(DeclaredTypeDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global that stores the itable for a Java type.
- getWasmItableGlobalName(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global that stores the itable for a Java type.
- getWasmItableInterfaceGetter(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the itable interface getter.
- getWasmItableInterfaceGetter(String) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the itable interface getter.
- getWasmItableTypeName(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the wasm type of the itable for a Java type.
- getWasmVtableGlobalName(DeclaredTypeDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global that stores the vtable for a Java type.
- getWasmVtableGlobalName(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the global that stores the vtable for a Java type.
- getWasmVtableTypeName(DeclaredTypeDescriptor) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the wasm type of the vtable for a Java type.
- getWasmVtableTypeName(TypeDeclaration) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Returns the name of the wasm type of the vtable for a Java type.
- GT - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
I
- Imports() - Constructor for class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator.Imports
- isJsImport(Method) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
- ItableAllocator<T> - Class in com.google.j2cl.transpiler.backend.wasm
-
Assigns a field index in the itable for each interface.
- ItableAllocator(List<T>, Function<T, Set<T>>) - Constructor for class com.google.j2cl.transpiler.backend.wasm.ItableAllocator
J
- JsImportsGenerator - Class in com.google.j2cl.transpiler.backend.wasm
-
Generates a JavaScript imports mapping for the Wasm module.
- JsImportsGenerator.Imports - Class in com.google.j2cl.transpiler.backend.wasm
-
Represents the JavaScript imports for a the Wasm module.
L
- LE - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- LT - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
M
- MODULE - Static variable in class com.google.j2cl.transpiler.backend.wasm.JsImportsGenerator
-
Top-level module name in the imports map containing all generated imports.
- MUL - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
N
- NE - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- NEG - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
- NULL_TYPE - Static variable in class com.google.j2cl.transpiler.backend.wasm.SummaryBuilder
O
- OR - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
R
- registerDataSegmentLiteral(ArrayLiteral, String) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmGenerationEnvironment
-
Registers the ArrayLiteral as a data segment and returns true if it was not present.
- REM_S - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- renderMethod(Method) - Method in class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
S
- SHL - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- SHR_S - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- SHR_U - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- SUB - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
- SummaryBuilder - Class in com.google.j2cl.transpiler.backend.wasm
-
Summarizes information where global knowledge will be required for bundling.
T
- toByteArray() - Method in class com.google.j2cl.transpiler.backend.wasm.SummaryBuilder
- toJson(Problems) - Method in class com.google.j2cl.transpiler.backend.wasm.SummaryBuilder
-
Serialize a LibraryInfo object into a JSON string.
V
- valueOf(String) - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.j2cl.transpiler.backend.wasm.WasmUnaryOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WasmBinaryOperation - Enum Class in com.google.j2cl.transpiler.backend.wasm
-
Abstract the wasm binary instructions set used by j2wasm.
- WasmConstructsGenerator - Class in com.google.j2cl.transpiler.backend.wasm
-
Generates all the syntactic .wat constructs for wasm.
- WasmConstructsGenerator(WasmGenerationEnvironment, SourceBuilder) - Constructor for class com.google.j2cl.transpiler.backend.wasm.WasmConstructsGenerator
- WasmGenerationEnvironment - Class in com.google.j2cl.transpiler.backend.wasm
-
Allows mapping of middle end constructors to the backend.
- WasmGeneratorStage - Class in com.google.j2cl.transpiler.backend.wasm
-
Generates all the outputs for Wasm compilation.
- WasmGeneratorStage(Library, Problems) - Constructor for class com.google.j2cl.transpiler.backend.wasm.WasmGeneratorStage
-
Returns a generator stage that can emit code as strings.
- WasmUnaryOperation - Enum Class in com.google.j2cl.transpiler.backend.wasm
-
Abstract the wasm unary instructions set used by j2wasm.
X
- XOR - Enum constant in enum class com.google.j2cl.transpiler.backend.wasm.WasmBinaryOperation
All Classes and Interfaces|All Packages|Constant Field Values