opa: github.com/open-policy-agent/opa/internal/wasm/types Index | Files

package types

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

Package types defines the WASM value type constants.

Index

Package Files

types.go

type ElementType Uses

type ElementType int

ElementType defines the type of table elements.

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

type ValueType Uses

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 Uses

func (tpe ValueType) String() string

Package types is imported by 4 packages. Updated 2018-10-09. Refresh now. Tools for package owners.