Uses of Interface
de.inetsoftware.jwebassembly.wasm.AnyType
-
-
Uses of AnyType in de.inetsoftware.jwebassembly.binary
Fields in de.inetsoftware.jwebassembly.binary declared as AnyType Modifier and Type Field Description (package private) AnyType
Global. type
Fields in de.inetsoftware.jwebassembly.binary with type parameters of type AnyType Modifier and Type Field Description private java.util.List<AnyType>
BinaryModuleWriter. locals
(package private) java.util.List<AnyType>
FunctionTypeEntry. params
(package private) java.util.List<AnyType>
FunctionTypeEntry. results
Methods in de.inetsoftware.jwebassembly.binary with parameters of type AnyType Modifier and Type Method Description protected void
BinaryModuleWriter. writeDefaultValue(AnyType type)
Write the default/initial value for a type.void
WasmOutputStream. writeDefaultValue(AnyType type)
Write the default/initial value for a type.protected void
BinaryModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)
Write a global variable operationprotected void
BinaryModuleWriter. writeMethodParam(java.lang.String kind, AnyType valueType, java.lang.String name)
Write a method parameter.void
WasmOutputStream. writeRefValueType(AnyType type)
Write the value type.protected void
BinaryModuleWriter. writeStructOperator(StructOperator op, AnyType type, NamedStorageType fieldName, int idx)
Write a struct operationvoid
WasmOutputStream. writeValueType(AnyType type)
Write a value type.protected void
BinaryModuleWriter. writeVirtualFunctionCall(FunctionName name, AnyType type)
Write a function call to an instance function. -
Uses of AnyType in de.inetsoftware.jwebassembly.javascript
Constructors in de.inetsoftware.jwebassembly.javascript with parameters of type AnyType Constructor Description JavaScriptSyntheticFunctionName(java.lang.String module, java.lang.String functionName, java.util.function.Supplier<java.lang.String> js, AnyType... signature)
Create a synthetic function which based on imported, dynamic generated JavaScript. -
Uses of AnyType in de.inetsoftware.jwebassembly.module
Classes in de.inetsoftware.jwebassembly.module that implement AnyType Modifier and Type Class Description static class
TypeManager.BlockType
A type that can use for a block(package private) class
TypeManager.LambdaType
A generated type that represent a lambda expressionstatic class
TypeManager.StructType
A reference to a type.Fields in de.inetsoftware.jwebassembly.module declared as AnyType Modifier and Type Field Description private AnyType
JumpInstruction. pushValueType
private AnyType
WasmLocalInstruction. pushValueType
private AnyType[]
ArraySyntheticFunctionName. signatureTypes
private AnyType
WasmArrayInstruction. type
private AnyType
WasmGlobalInstruction. type
private AnyType
LocaleVariableManager.Variable. valueType
private AnyType
WasmCallInstruction. valueType
Fields in de.inetsoftware.jwebassembly.module with type parameters of type AnyType Modifier and Type Field Description private java.util.ArrayList<AnyType>
LocaleVariableManager. localTypes
private java.util.List<AnyType>
TypeManager.BlockType. params
private java.util.List<AnyType>
TypeManager.BlockType. results
Methods in de.inetsoftware.jwebassembly.module that return AnyType Modifier and Type Method Description private static AnyType[]
MultiArrayFunctionName. createSignature(int dim, ArrayType type)
Create the signature of the function.(package private) AnyType
WasmCodeBuilder. findArrayTypeFromStack(int count, int javaCodePos)
Find the array component type from stack.(package private) AnyType
WasmCodeBuilder. findValueTypeFromStack(int count, int javaCodePos)
We need the value type from the stack.(package private) AnyType
BranchManager. getCatchType(int codePosition)
Get the catch type if there are a start of a catch block on the code position.private AnyType
BranchManager. getCatchType(TryCatchFinally tryCatch)
(package private) AnyType[]
DupThis. getPopValueTypes()
(package private) AnyType[]
JumpInstruction. getPopValueTypes()
(package private) AnyType[]
WasmArrayInstruction. getPopValueTypes()
(package private) AnyType[]
WasmBlockInstruction. getPopValueTypes()
(package private) AnyType[]
WasmCallInstruction. getPopValueTypes()
(package private) AnyType[]
WasmConstInstruction. getPopValueTypes()
(package private) AnyType[]
WasmConvertInstruction. getPopValueTypes()
(package private) AnyType[]
WasmGlobalInstruction. getPopValueTypes()
(package private) abstract AnyType[]
WasmInstruction. getPopValueTypes()
(package private) AnyType[]
WasmLocalInstruction. getPopValueTypes()
(package private) AnyType[]
WasmMemoryInstruction. getPopValueTypes()
(package private) AnyType[]
WasmNopInstruction. getPopValueTypes()
(package private) AnyType[]
WasmNumericInstruction. getPopValueTypes()
(package private) AnyType[]
WasmStructInstruction. getPopValueTypes()
(package private) AnyType[]
WasmTableInstruction. getPopValueTypes()
(package private) AnyType
DupThis. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
JumpInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmArrayInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmBlockInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmCallInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmConstInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmConvertInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmGlobalInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) abstract AnyType
WasmInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmLocalInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmMemoryInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmNopInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmNumericInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmStructInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
WasmTableInstruction. getPushValueType()
Get the ValueType if this instruction push a value on the stack.(package private) AnyType
LocaleVariableManager. getValueType(int idx)
Get the ValueType of the variable.Methods in de.inetsoftware.jwebassembly.module that return types with arguments of type AnyType Modifier and Type Method Description (package private) java.util.List<AnyType>
LocaleVariableManager. getLocalTypes(int paramCount)
Get the data types of the local variables.(package private) java.util.List<AnyType>
WasmCodeBuilder. getLocalTypes(int paramCount)
Get the data types of the local variables.java.util.List<AnyType>
TypeManager.BlockType. getParams()
java.util.List<AnyType>
TypeManager.BlockType. getResults()
java.util.Iterator<AnyType>
ArraySyntheticFunctionName. getSignature(TypeManager types)
Get the method signature iterator for parameter and return values.java.util.Iterator<AnyType>
FunctionName. getSignature(TypeManager types)
Get the method signature iterator for parameter and return values.Methods in de.inetsoftware.jwebassembly.module with parameters of type AnyType Modifier and Type Method Description protected void
WasmCodeBuilder. addArrayInstruction(ArrayOperator op, AnyType type, int javaCodePos, int lineNumber)
Add an array operation to the instruction list as marker on the code position.protected void
WasmCodeBuilder. addGlobalInstruction(boolean load, FunctionName name, AnyType type, FunctionName clinit, int javaCodePos, int lineNumber)
Add a global instructionprotected void
WasmCodeBuilder. addJumpPlaceholder(int jumpPos, int popCount, AnyType pushValueType, int javaCodePos, int lineNumber)
Add a Jump instruction for later stack inspectionprotected void
WasmCodeBuilder. addLoadStoreInstruction(AnyType valueType, boolean load, int javaIdx, int javaCodePos, int lineNumber)
Create a WasmLoadStoreInstruction.ArrayType
TypeManager. arrayType(AnyType arrayType)
Get the array type for the given component type.(package private) int
LocaleVariableManager. getTempVariable(AnyType valueType, int startCodePosition, int endCodePosition)
Get the slot of the temporary variable.(package private) int
WasmCodeBuilder. getTempVariable(AnyType valueType, int startCodePosition, int endCodePosition)
Get the slot of the temporary variable.boolean
TypeManager.BlockType. isSubTypeOf(AnyType type)
Check if this is a sub type of given type.boolean
TypeManager.LambdaType. isSubTypeOf(AnyType type)
Check if this is a sub type of given type.boolean
TypeManager.StructType. isSubTypeOf(AnyType type)
Check if this is a sub type of given type.private void
LocaleVariableManager. resetAddVar(AnyType type, int slot)
Add a variable in the reset with range.(package private) void
LocaleVariableManager. use(AnyType valueType, int slot, int javaCodePos)
Mark a variable slot as used with its type.private void
LocaleVariableManager. useImpl(AnyType valueType, int idx, int javaCodePos)
(package private) void
LocaleVariableManager. useIndex(AnyType valueType, int wasmIdx)
private static java.lang.String
WasmArrayInstruction. validJsName(AnyType type)
Get a valid JavaScript name.private static java.lang.String
WasmStructInstruction. validJsName(AnyType type)
Get a valid JavaScript name.private void
JavaMethodWasmCodeBuilder. writeCode(CodeInputStream byteCode, ConstantPool constantPool, ClassFile classFile, AnyType returnType)
Write the byte code of a method.protected abstract void
ModuleWriter. writeDefaultValue(AnyType type)
Write the default/initial value for a type.protected abstract void
ModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)
Write a global variable operationprotected abstract void
ModuleWriter. writeMethodParam(java.lang.String kind, AnyType valueType, java.lang.String name)
Write a method parameter.protected abstract void
ModuleWriter. writeStructOperator(StructOperator op, AnyType type, NamedStorageType fieldName, int idx)
Write a struct operationprotected abstract void
ModuleWriter. writeVirtualFunctionCall(FunctionName name, AnyType type)
Write a function call to an instance function.Method parameters in de.inetsoftware.jwebassembly.module with type arguments of type AnyType Modifier and Type Method Description (package private) TypeManager.BlockType
TypeManager. blockType(java.util.List<AnyType> params, java.util.List<AnyType> results)
Create block type(package private) TypeManager.LambdaType
TypeManager. lambdaType(BootstrapMethod method, java.util.ArrayList<AnyType> params, TypeManager.StructType interfaceType, java.lang.String interfaceMethodName)
Create a lambda type(package private) void
LocaleVariableManager. reset(LocalVariableTable variableTable, MethodInfo method, java.util.Iterator<AnyType> signature)
Reset the manager to an initial state.protected void
WasmCodeBuilder. reset(LocalVariableTable variableTable, MethodInfo method, java.util.Iterator<AnyType> signature)
Reset the code builder.Constructors in de.inetsoftware.jwebassembly.module with parameters of type AnyType Constructor Description ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, AnyType... signatureTypes)
Create a new instance.ArraySyntheticFunctionName(java.lang.String className, java.lang.String name, java.lang.String signature, AnyType... signatureTypes)
Create a new instance.JumpInstruction(int jumpPos, int popCount, AnyType pushValueType, int javaCodePos, int lineNumber)
Create an instance of a nop instructionWasmArrayInstruction(ArrayOperator op, AnyType type, TypeManager types, int javaCodePos, int lineNumber)
Create an instance of an array operation.WasmGlobalInstruction(boolean load, FunctionName name, AnyType type, FunctionName clinit, int javaCodePos, int lineNumber)
Create an instance of a load/store instructionWatCodeSyntheticFunctionName(java.lang.String name, java.lang.String code, AnyType... signatureTypes)
Create a new instance.WatCodeSyntheticFunctionName(java.lang.String className, java.lang.String name, java.lang.String signature, java.lang.String code, AnyType... signatureTypes)
Create a new instance.Constructor parameters in de.inetsoftware.jwebassembly.module with type arguments of type AnyType Constructor Description BlockType(java.util.List<AnyType> params, java.util.List<AnyType> results)
LambdaType(java.lang.String name, BootstrapMethod method, java.util.ArrayList<AnyType> params, TypeManager.StructType interfaceType, FunctionName syntheticLambdaFunctionName, java.lang.String interfaceMethodName, TypeManager manager)
Create a lambda type -
Uses of AnyType in de.inetsoftware.jwebassembly.text
Fields in de.inetsoftware.jwebassembly.text with type parameters of type AnyType Modifier and Type Field Description private java.util.HashMap<java.lang.String,AnyType>
TextModuleWriter. globals
Methods in de.inetsoftware.jwebassembly.text with parameters of type AnyType Modifier and Type Method Description private java.lang.CharSequence
TextModuleWriter. blockWithResult(java.lang.String blockName, AnyType result)
Create a the result type for a block instructionprotected void
TextModuleWriter. writeDefaultValue(AnyType type)
Write the default/initial value for a type.private void
TextModuleWriter. writeDefaultValue(java.lang.Appendable output, AnyType type)
Write the default/initial value for type.protected void
TextModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)
Write a global variable operationprotected void
TextModuleWriter. writeMethodParam(java.lang.String kind, AnyType valueType, java.lang.String name)
Write a method parameter.private void
TextModuleWriter. writeParam(java.lang.StringBuilder output, java.lang.String kind, AnyType valueType, java.lang.String name)
Write a parameter to the given outputprotected void
TextModuleWriter. writeStructOperator(StructOperator op, AnyType type, NamedStorageType fieldName, int idx)
Write a struct operationprivate void
TextModuleWriter. writeTypeName(java.lang.Appendable output, AnyType type)
Write the name of a type.protected void
TextModuleWriter. writeVirtualFunctionCall(FunctionName name, AnyType type)
Write a function call to an instance function. -
Uses of AnyType in de.inetsoftware.jwebassembly.wasm
Classes in de.inetsoftware.jwebassembly.wasm that implement AnyType Modifier and Type Class Description class
ArrayType
A reference to an array typeclass
ValueType
Fields in de.inetsoftware.jwebassembly.wasm declared as AnyType Modifier and Type Field Description private AnyType
ArrayType. arrayType
private AnyType
ArrayType. nativeArrayType
private AnyType
NamedStorageType. type
Methods in de.inetsoftware.jwebassembly.wasm that return AnyType Modifier and Type Method Description AnyType
ArrayType. getArrayType()
The element type of the arrayAnyType
ArrayType. getNativeArrayType()
The native webassembly array type that we wrapAnyType
NamedStorageType. getType()
Get the type.AnyType
ValueTypeParser. next()
Get the next value in the signature or null if the parameter are end or the signature is end.private AnyType
ValueTypeParser. next(boolean isArray)
Get the next value in the signature or null if the parameter are end or the signature is end.Methods in de.inetsoftware.jwebassembly.wasm with parameters of type AnyType Modifier and Type Method Description private static java.lang.String
ArrayType. getJavaClassName(AnyType arrayType)
Create class name for the array class.boolean
AnyType. isSubTypeOf(AnyType other)
Check if this is a sub type of given type.boolean
ArrayType. isSubTypeOf(AnyType type)
Check if this is a sub type of given type.boolean
ValueType. isSubTypeOf(AnyType type)
Check if this is a sub type of given type.Constructors in de.inetsoftware.jwebassembly.wasm with parameters of type AnyType Constructor Description ArrayType(AnyType arrayType, TypeManager manager, int componentClassIndex, WasmOptions options)
Create a new array typeArrayType(java.lang.String name, TypeManager.StructTypeKind kind, TypeManager manager, AnyType arrayType)
Create a new instanceNamedStorageType(AnyType type, java.lang.String className, java.lang.String name)
Create a new instance -
Uses of AnyType in de.inetsoftware.jwebassembly.watparser
Method parameters in de.inetsoftware.jwebassembly.watparser with type arguments of type AnyType Modifier and Type Method Description void
WatParser. parse(java.lang.String wat, MethodInfo method, java.util.Iterator<AnyType> signature, int lineNumber)
Parse the given wasm text format and generate a list of WasmInstuctions
-