eval

package
v0.4.1-beta.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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() *adt.Stats

func (*Unifier) Unify

func (e *Unifier) Unify(ctx *adt.OpContext, v *adt.Vertex, state adt.VertexStatus)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL