loader

package
v1.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Code generated by goadlc v3 - DO NOT EDIT.

Code generated by goadlc v3 - DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AST_BundleMap

func AST_BundleMap() adlast.ScopedDecl

func AST_LoadResult

func AST_LoadResult() adlast.ScopedDecl

func AST_Loader

func AST_Loader() adlast.ScopedDecl

func AST_NamedModule

func AST_NamedModule() adlast.ScopedDecl

func Texpr_BundleMap

func Texpr_BundleMap() adlast.ATypeExpr[BundleMap]

func Texpr_LoadResult

func Texpr_LoadResult() adlast.ATypeExpr[LoadResult]

func Texpr_Loader

func Texpr_Loader() adlast.ATypeExpr[Loader]

func Texpr_NamedModule

func Texpr_NamedModule() adlast.ATypeExpr[NamedModule]

Types

type BundleMap

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

func MakeAll_BundleMap

func MakeAll_BundleMap(
	adlmodulenameprefix string,
	gomodpath string,
	adlsrc string,
	gomodversion *string,
	path *string,
) BundleMap

func Make_BundleMap

func Make_BundleMap(
	adlmodulenameprefix string,
	gomodpath string,
	adlsrc string,
) BundleMap

func (*BundleMap) Default_GoModVersion

func (*BundleMap) Default_GoModVersion() *string

func (*BundleMap) Default_Path

func (*BundleMap) Default_Path() *string

type LoadResult

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

func MakeAll_LoadResult

func MakeAll_LoadResult(
	combinedast map[string]adlast.Module,
	modules []NamedModule,
	files []string,
	bundlemaps []BundleMap,
) LoadResult

func Make_LoadResult

func Make_LoadResult(
	combinedast map[string]adlast.Module,
	modules []NamedModule,
	files []string,
	bundlemaps []BundleMap,
) LoadResult

func (*LoadResult) Resolver

func (lr *LoadResult) Resolver(sn adlast.ScopedName) (*adlast.Decl, bool)

type Loader

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

func MakeAll_Loader

func MakeAll_Loader(
	root *root.Root,
	bundlemaps []BundleMap,
	searchdir []string,
	files []string,
	workingdir string,
	mergeadlext string,
	usercachedir string,
) Loader

func Make_Loader

func Make_Loader(
	files []string,
) Loader

func (*Loader) Default_BundleMaps

func (*Loader) Default_BundleMaps() []BundleMap

func (*Loader) Default_MergeAdlext

func (*Loader) Default_MergeAdlext() string

func (*Loader) Default_Root

func (*Loader) Default_Root() *root.Root

func (*Loader) Default_Searchdir

func (*Loader) Default_Searchdir() []string

func (*Loader) Default_UserCacheDir

func (*Loader) Default_UserCacheDir() string

func (*Loader) Default_WorkingDir

func (*Loader) Default_WorkingDir() string

func (*Loader) Load

func (in *Loader) Load() (*LoadResult, error)

type NamedModule

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

func MakeAll_NamedModule

func MakeAll_NamedModule(
	name string,
	module_ *adlast.Module,
) NamedModule

func Make_NamedModule

func Make_NamedModule(
	name string,
	module_ *adlast.Module,
) NamedModule

Jump to

Keyboard shortcuts

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