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
v1.4.2 (latest)
Published
May 2, 2025
Platform
linux/amd64
Last checked
6 hours ago

Tools for package owners.