internal

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

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

Definition is a simple abstraction of a CUE definition to simplify management of each part of the definition

func StringToDef

func StringToDef(def string) *Definition

StringToDef convert a string into definition. This function expect that def is correctly formatted.

func (*Definition) Def

func (d *Definition) Def() string

func (*Definition) IsImported

func (d *Definition) IsImported() bool

func (*Definition) Pkg

func (d *Definition) Pkg() string

type DocValue

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

func NewDocValue

func NewDocValue(node ast.Node, v *loader.Value) *DocValue

func (*DocValue) MarkdownString

func (d *DocValue) MarkdownString() string

func (*DocValue) String

func (d *DocValue) String() string

Jump to

Keyboard shortcuts

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