Uses of Class
de.inetsoftware.jwebassembly.module.FunctionName
-
Packages that use FunctionName Package Description de.inetsoftware.jwebassembly.binary de.inetsoftware.jwebassembly.javascript de.inetsoftware.jwebassembly.module de.inetsoftware.jwebassembly.text -
-
Uses of FunctionName in de.inetsoftware.jwebassembly.binary
Fields in de.inetsoftware.jwebassembly.binary declared as FunctionName Modifier and Type Field Description private FunctionNameBinaryModuleWriter. startFunctionMethods in de.inetsoftware.jwebassembly.binary with parameters of type FunctionName Modifier and Type Method Description private FunctionBinaryModuleWriter. getFunction(FunctionName name)Get the function object for the name.protected voidBinaryModuleWriter. prepareImport(FunctionName name, java.lang.String importModule, java.lang.String importName)Prepare a imported single function in the prepare phase.protected voidBinaryModuleWriter. writeExport(FunctionName name, java.lang.String exportName)Write an export directiveprotected voidBinaryModuleWriter. writeFunctionCall(FunctionName name, java.lang.String comments)Write a call to a function.protected voidBinaryModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)Write a global variable operationprotected voidBinaryModuleWriter. writeMethodParamFinish(FunctionName name)Finish the function parameter.protected voidBinaryModuleWriter. writeMethodParamStart(FunctionName name, FunctionType funcType)Write the method header.protected voidBinaryModuleWriter. writeMethodStart(FunctionName name, java.lang.String sourceFile)Start the writing of method/function code.protected voidBinaryModuleWriter. writeVirtualFunctionCall(FunctionName name, AnyType type)Write a function call to an instance function. -
Uses of FunctionName in de.inetsoftware.jwebassembly.javascript
Subclasses of FunctionName in de.inetsoftware.jwebassembly.javascript Modifier and Type Class Description classJavaScriptSyntheticFunctionNameSynthetic JavaScript import function. -
Uses of FunctionName in de.inetsoftware.jwebassembly.module
Subclasses of FunctionName in de.inetsoftware.jwebassembly.module Modifier and Type Class Description classArraySyntheticFunctionNameSynthetic/dynamic method with a signature as array of types.(package private) classImportSyntheticFunctionNameSynthetic/dynamic method based on import annotation.classMultiArrayFunctionNameSynthetic functions for creating multidimensional dimensional arraysclassSyntheticFunctionNameSynthetic/dynamic method.(package private) classWatCodeSyntheticFunctionNameSynthetic/dynamic method based on WAT code (WASM in text form).Fields in de.inetsoftware.jwebassembly.module declared as FunctionName Modifier and Type Field Description private FunctionNameFunctionManager.FunctionState. aliasprivate FunctionNameWasmOptions. callInterfaceprivate FunctionNameWasmOptions. callVirtualprivate static FunctionNameTypeManager. CLASS_CONSTANT_FUNCTIONprivate FunctionNameWasmGlobalInstruction. clinitprivate FunctionNameWasmOptions. get_i32private FunctionNameTypeManager.LambdaType. methodNameprivate FunctionNameStaticCodeBuilder.ScanState. nameprivate FunctionNameWasmCallInstruction. nameprivate FunctionNameWasmGlobalInstruction. nameFunctionNameWasmOptions. ref_eqNonGC function for ref_eq polyfill.private FunctionNameStringManager. stringConstantFunctionFields in de.inetsoftware.jwebassembly.module with type parameters of type FunctionName Modifier and Type Field Description private java.util.Map<TypeManager.StructType,java.util.List<FunctionName>>TypeManager.StructType. interfaceMethodsprivate java.util.Map<FunctionName,FunctionManager.FunctionState>FunctionManager. statesprivate java.util.List<FunctionName>TypeManager.StructType. vtableMethods in de.inetsoftware.jwebassembly.module that return FunctionName Modifier and Type Method Description (package private) FunctionNameStaticCodeBuilder. createStartFunction(java.util.Iterator<FunctionName> writeLaterClinit)Create a start function for the static class constructors(package private) FunctionNameWasmOptions. getCallInterface()Get the FunctionName for a virtual call and mark it as used.(package private) FunctionNameWasmOptions. getCallVirtual()Get the FunctionName for a virtual call and mark it as used.(package private) FunctionNameTypeManager. getClassConstantFunction()Get the function name to get a constant class.(package private) FunctionNameWasmGlobalInstruction. getFieldName()The name of the field(package private) FunctionNameWasmCallInstruction. getFunctionName()Get the function name that should be called(package private) FunctionNameTypeManager.LambdaType. getLambdaMethod()The real method in the parent class that implements the lambda expressionprivate FunctionNameWasmCodeBuilder. getNonGC(java.lang.String name, int lineNumber)Get a non GC polyfill function.(package private) FunctionNameStringManager. getStringConstantFunction()Get the function name object for the#stringConstant(int).(package private) FunctionNameFunctionManager. markAsNeeded(FunctionName name, boolean needThisParameter)Mark a function as used/called and return the real name if there is an alias.(package private) FunctionNameFunctionManager. nextScannLater()Get the first FunctionName that is required but was not scanned.Methods in de.inetsoftware.jwebassembly.module that return types with arguments of type FunctionName Modifier and Type Method Description (package private) java.util.Iterator<FunctionName>FunctionManager. getAbstractedFunctions()Get all FunctionNames that are abstract and used.(package private) java.util.Iterator<FunctionName>FunctionManager. getNeededImports()Get all FunctionNames that need imported(package private) java.util.Iterator<FunctionName>FunctionManager. getWriteLater()Get all FunctionName that is required but was not written.(package private) java.util.Iterator<FunctionName>FunctionManager. getWriteLaterClinit()Get all static constructor FunctionName of used classes.private java.util.Iterator<FunctionName>FunctionManager. iterator(java.util.function.Predicate<java.util.Map.Entry<FunctionName,FunctionManager.FunctionState>> filter)get a iterator for function namesMethods in de.inetsoftware.jwebassembly.module with parameters of type FunctionName Modifier and Type Method Description protected voidWasmCodeBuilder. addCallInstruction(FunctionName name, boolean needThisParameter, int javaCodePos, int lineNumber)Add a static function call.protected voidWasmCodeBuilder. addCallInterfaceInstruction(FunctionName name, int javaCodePos, int lineNumber)Add interface function callprotected voidWasmCodeBuilder. addCallVirtualInstruction(FunctionName name, int javaCodePos, int lineNumber)Add a virtual/method function call.protected voidWasmCodeBuilder. addGlobalInstruction(boolean load, FunctionName name, AnyType type, FunctionName clinit, int javaCodePos, int lineNumber)Add a global instructionprivate voidTypeManager.StructType. addOrUpdateVTable(FunctionManager functions, FunctionName funcName, boolean isDefault)Add the function to the vtable or replace if already exists(package private) voidFunctionManager. addReplacement(FunctionName name, MethodInfo method)Add a replacement for a method(package private) java.util.function.Function<java.lang.String,java.lang.Object>FunctionManager. getImportAnannotation(FunctionName name)Get the annotation of an import function(package private) intFunctionManager. getITableIndex(FunctionName name)Get the index of a function in an interface.private FunctionManager.FunctionStateFunctionManager. getOrCreate(FunctionName name)Get an existing state or create one.(package private) intFunctionManager. getVTableIndex(FunctionName name)Get the index of a virtual function in a type.(package private) booleanFunctionManager. isKnown(FunctionName name)Check if this function is already known/registered.(package private) booleanFunctionManager. isUsed(FunctionName name)Test if the function is called anywhere.(package private) voidFunctionManager. markAsAbstract(FunctionName name)Mark the a function as abstract or interface.(package private) voidFunctionManager. markAsImport(FunctionName name, java.util.function.Function<java.lang.String,java.lang.Object> importAnannotation)Mark the a function as a import function.(package private) voidFunctionManager. markAsImport(FunctionName name, java.util.Map<java.lang.String,java.lang.Object> importAnannotation)Mark the a function as a import function.(package private) FunctionNameFunctionManager. markAsNeeded(FunctionName name, boolean needThisParameter)Mark a function as used/called and return the real name if there is an alias.(package private) voidFunctionManager. markAsScanned(FunctionName name)Mark the a function as scanned in the prepare phase.(package private) voidFunctionManager. markAsWritten(FunctionName name)Mark the a function as written to the wasm file.(package private) booleanFunctionManager. needThisParameter(FunctionName name)If this function need additional to the parameter of the signature an extra "this" parameter.(package private) booleanFunctionManager. needToScan(FunctionName name)if the given function is required but was not scanned.(package private) booleanFunctionManager. needToWrite(FunctionName name)if the given function is required but was not written.protected abstract voidModuleWriter. prepareImport(FunctionName name, java.lang.String importModule, java.lang.String importName)Prepare a imported single function in the prepare phase.(package private) MethodInfoFunctionManager. replace(FunctionName name, MethodInfo method)Check if there is a replacement methodprivate StaticCodeBuilder.ScanStateStaticCodeBuilder. scan(FunctionName name, java.util.LinkedHashMap<java.lang.String,FunctionName> constructors)Scan for for references to other classesprivate booleanModuleGenerator. scanFunctionInterfaces(ClassFile classFile, FunctionName next)Search if there is a default implementation in an interface for the given method.(package private) voidFunctionManager. setAlias(FunctionName name, FunctionName alias)Set an alias for the method.(package private) voidFunctionManager. setITableIndex(FunctionName name, int itableIdx)Set the index of a function in an interface.(package private) voidFunctionManager. setVTableIndex(FunctionName name, int vtableIdx)Set the index of a virtual function in a type.private voidModuleGenerator. writeExport(FunctionName name, MethodInfo method)Look for a Export annotation and if there write an export directive.protected abstract voidModuleWriter. writeExport(FunctionName name, java.lang.String exportName)Write an export directiveprotected abstract voidModuleWriter. writeFunctionCall(FunctionName name, java.lang.String comment)Write a call to a function.protected abstract voidModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)Write a global variable operationprivate voidModuleGenerator. writeMethod(FunctionName name, MethodInfo method)Write the content of a method.private voidModuleGenerator. writeMethodImpl(FunctionName name, WasmCodeBuilder codeBuilder)Write the method instruction to the Wasm writer.protected abstract voidModuleWriter. writeMethodParamFinish(FunctionName name)Finish the function parameter.protected abstract voidModuleWriter. writeMethodParamStart(FunctionName name, FunctionType funcType)Write the method header.private voidModuleGenerator. writeMethodSignature(FunctionName name, FunctionType funcType, WasmCodeBuilder codeBuilder)Write the parameter and return signaturesprotected abstract voidModuleWriter. writeMethodStart(FunctionName name, java.lang.String sourceFile)Start the writing of method/function code.protected abstract voidModuleWriter. 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 FunctionName Modifier and Type Method Description (package private) FunctionNameStaticCodeBuilder. createStartFunction(java.util.Iterator<FunctionName> writeLaterClinit)Create a start function for the static class constructorsprivate java.util.Iterator<FunctionName>FunctionManager. iterator(java.util.function.Predicate<java.util.Map.Entry<FunctionName,FunctionManager.FunctionState>> filter)get a iterator for function namesprivate StaticCodeBuilder.ScanStateStaticCodeBuilder. scan(FunctionName name, java.util.LinkedHashMap<java.lang.String,FunctionName> constructors)Scan for for references to other classesvoidTypeManager.StructType. writeToStream(java.io.ByteArrayOutputStream dataStream, java.util.function.ToIntFunction<FunctionName> getFunctionsID, WasmOptions options)Write the struct/class meta data to the datastream and set the offset position.Constructors in de.inetsoftware.jwebassembly.module with parameters of type FunctionName Constructor Description 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 typeWasmCallIndirectInstruction(FunctionName name, int javaCodePos, int lineNumber, TypeManager types)Create an instance of a function call instructionWasmCallInstruction(FunctionName name, int javaCodePos, int lineNumber, TypeManager types, boolean needThisParameter)Create an instance of a function call instructionWasmCallInstruction(FunctionName name, int javaCodePos, int lineNumber, TypeManager types, boolean needThisParameter, java.lang.String comment)Create an instance of a function call instructionWasmCallInterfaceInstruction(FunctionName name, int javaCodePos, int lineNumber, TypeManager types, WasmOptions options)Create an instance of a function call instructionWasmCallVirtualInstruction(FunctionName name, int javaCodePos, int lineNumber, TypeManager types, WasmOptions options)Create an instance of a function call instructionWasmGlobalInstruction(boolean load, FunctionName name, AnyType type, FunctionName clinit, int javaCodePos, int lineNumber)Create an instance of a load/store instruction -
Uses of FunctionName in de.inetsoftware.jwebassembly.text
Methods in de.inetsoftware.jwebassembly.text with parameters of type FunctionName Modifier and Type Method Description private FunctionTextModuleWriter. getFunction(FunctionName name)private java.lang.StringTextModuleWriter. normalizeName(FunctionName name)Normalize the function name for the text formatprotected voidTextModuleWriter. prepareImport(FunctionName name, java.lang.String importModule, java.lang.String importName)Prepare a imported single function in the prepare phase.protected voidTextModuleWriter. writeExport(FunctionName name, java.lang.String exportName)Write an export directiveprotected voidTextModuleWriter. writeFunctionCall(FunctionName name, java.lang.String comment)Write a call to a function.protected voidTextModuleWriter. writeGlobalAccess(boolean load, FunctionName name, AnyType type)Write a global variable operationprotected voidTextModuleWriter. writeMethodParamFinish(FunctionName name)Finish the function parameter.protected voidTextModuleWriter. writeMethodParamStart(FunctionName name, FunctionType funcType)Write the method header.protected voidTextModuleWriter. writeMethodStart(FunctionName name, java.lang.String sourceFile)Start the writing of method/function code.protected voidTextModuleWriter. writeVirtualFunctionCall(FunctionName name, AnyType type)Write a function call to an instance function.
-