gocuelang.org/go/cue/cuecontext Index | Files

package cuecontext

import "cuelang.org/go/cue/cuecontext"

Index

Functions

func New

func New(options ...Option) *cue.Context

New creates a new Context.

Types

type ExternInterpreter

type ExternInterpreter = runtime.Interpreter

An ExternInterpreter creates a compiler that can produce implementations of functions written in a language other than CUE. It is currently for internal use only.

type Option

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

Option controls a build context.

func Interpreter

func Interpreter(i ExternInterpreter) Option

Interpreter associates an interpreter for external code with this context.

Source Files

cuecontext.go

Version
v0.9.0-0.dev
Published
Mar 15, 2024
Platform
windows/amd64
Imports
3 packages
Last checked
55 minutes ago

Tools for package owners.