package types

import "github.com/open-policy-agent/opa/internal/wasm/types"

Package types defines the WASM value type constants.

Index

Types

type ElementType

type ElementType int

ElementType defines the type of table elements.

const (
	// Anyfunc is the union of all table types.
	Anyfunc ElementType = iota
)

type ValueType

type ValueType int

ValueType represents an intrinsic value in WASM.

const (
	I32 ValueType = iota
	I64
	F32
	F64
)

Defines the intrinsic value types.

func (ValueType) String

func (tpe ValueType) String() string

Source Files

types.go

Version
v0.20.0
Published
May 21, 2020
Platform
js/wasm
Last checked
1 hour ago

Tools for package owners.