Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Files ¶
Files compiles the given files as a single instance. It disregards the package names and it is the responsibility of the user to verify that the packages names are consistent.
Files may return a completed parse even if it has errors.
func LookupRange ¶
LookupRange returns a CUE expressions for the given predeclared identifier representing a range, such as uint8, int128, and float64.
Types ¶
type Config ¶
type Config struct { // Scope specifies a node in which to look up unresolved references. This // is useful for evaluating expressions within an already evaluated // configuration. // // TODO Scope *adt.Vertex // Imports allows unresolved identifiers to resolve to imports. // // Under normal circumstances, identifiers bind to import specifications, // which get resolved to an ImportReference. Use this option to automaically // resolve identifiers to imports. Imports func(x *ast.Ident) (pkgPath string) }
Config configures a compilation.
Click to show internal directories.
Click to hide internal directories.