package eval

import "cuelang.org/go/internal/core/eval"

Index

Functions

func Evaluate

func Evaluate(r adt.Runtime, v *adt.Vertex)

func NewContext

func NewContext(r adt.Runtime, v *adt.Vertex) *adt.OpContext

TODO: Note: NewContext takes essentially a cue.Value. By making this type more central, we can perhaps avoid context creation.

Types

type Unifier

type Unifier struct {
	// contains filtered or unexported fields
}

func New

func New(r adt.Runtime) *Unifier

func (*Unifier) NewContext

func (e *Unifier) NewContext(v *adt.Vertex) *adt.OpContext

func (*Unifier) Stats

func (e *Unifier) Stats() *stats.Counts

Source Files

eval.go

Version
v0.9.0-alpha.3
Published
Apr 24, 2024
Platform
js/wasm
Imports
3 packages
Last checked
47 minutes ago

Tools for package owners.