compiler

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

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

func NewCompiler

func NewCompiler() *Compiler

func (*Compiler) BuildAll

func (c *Compiler) BuildAll(dir string, args ...string) (Value, error)

func (*Compiler) CompileString added in v0.1.1

func (c *Compiler) CompileString(src string, options ...cue.BuildOption) cue.Value

func (*Compiler) LockMutex added in v0.2.9

func (c *Compiler) LockMutex()

func (*Compiler) MarshalValueJSON

func (c *Compiler) MarshalValueJSON(v cue.Value) ([]byte, error)

func (*Compiler) UnlockMutex added in v0.2.9

func (c *Compiler) UnlockMutex()

type Value added in v0.2.2

type Value struct {
	cue.Value
	ImportPath string
}

Jump to

Keyboard shortcuts

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