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.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.