krwa
Toggle table of contents
0.3.0-rc.9
common
Target filter
common
Switch theme
Search in API
Skip to content
krwa
wasm
/
uk.shusek.krwa.wasm.types
/
ValType
/
Builder
Builder
class
Builder
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
build
Link copied to clipboard
fun
build
(
)
:
ValType
fun
build
(
context
:
(
Int
)
->
FunctionType
)
:
ValType
from
Id
Link copied to clipboard
fun
fromId
(
id
:
Long
)
:
ValType.Builder
id
Link copied to clipboard
fun
id
(
)
:
Long
is
Reference
Link copied to clipboard
fun
isReference
(
)
:
Boolean
substitute
Link copied to clipboard
fun
substitute
(
opcode
:
Int
,
typeIdx
:
Int
,
context
:
(
Int
)
->
FunctionType
)
:
FunctionType
?
type
Idx
Link copied to clipboard
fun
typeIdx
(
)
:
Int
with
Opcode
Link copied to clipboard
fun
withOpcode
(
opcode
:
Int
)
:
ValType.Builder
with
Type
Idx
Link copied to clipboard
fun
withTypeIdx
(
typeIdx
:
Int
)
:
ValType.Builder