Record Class WasmFunctionTypeInfo
java.lang.Object
java.lang.Record
com.oracle.truffle.js.runtime.builtins.wasm.WasmFunctionTypeInfo
public record WasmFunctionTypeInfo(WebAssemblyValueType[] paramTypes, WebAssemblyValueType[] resultTypes, boolean anyTypeIsI64, boolean anyTypeIsV128)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionWasmFunctionTypeInfo(WebAssemblyValueType[] paramTypes, WebAssemblyValueType[] resultTypes, boolean anyTypeIsI64, boolean anyTypeIsV128) Creates an instance of aWasmFunctionTypeInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theanyTypeIsI64record component.booleanReturns the value of theanyTypeIsV128record component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.intReturns the value of theparamTypesrecord component.intReturns the value of theresultTypesrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
WasmFunctionTypeInfo
public WasmFunctionTypeInfo(WebAssemblyValueType[] paramTypes, WebAssemblyValueType[] resultTypes, boolean anyTypeIsI64, boolean anyTypeIsV128) Creates an instance of aWasmFunctionTypeInforecord class.- Parameters:
paramTypes- the value for theparamTypesrecord componentresultTypes- the value for theresultTypesrecord componentanyTypeIsI64- the value for theanyTypeIsI64record componentanyTypeIsV128- the value for theanyTypeIsV128record component
-
-
Method Details
-
paramLength
public int paramLength() -
resultLength
public int resultLength() -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
hashCode
-
toString
-
paramTypes
Returns the value of theparamTypesrecord component.- Returns:
- the value of the
paramTypesrecord component
-
resultTypes
Returns the value of theresultTypesrecord component.- Returns:
- the value of the
resultTypesrecord component
-
anyTypeIsI64
public boolean anyTypeIsI64()Returns the value of theanyTypeIsI64record component.- Returns:
- the value of the
anyTypeIsI64record component
-
anyTypeIsV128
public boolean anyTypeIsV128()Returns the value of theanyTypeIsV128record component.- Returns:
- the value of the
anyTypeIsV128record component
-